User Tag List

Results 1 to 3 of 3

Thread: Moving object that throws boomerang style weapon

  1. #1
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Moving object that throws boomerang style weapon

    Hey guys, what would be the best way to go about using a boomerang style weapon that slows at the peak of its x movement, then slowly goes back to the enemy and gains speed, basically the same movement as the first one but in reverse? I had a little bit of luck with the bouncing ball movement adding +2 to the speed every 00 02 secs but how would i make it come back to the enemy after it reaches say 60 pixels or more away from the enemy?

  2. #2
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Another one bites the dust, got this figured out. It was easy just using alterable values. The way i did it gave the boomerang effect a gradual slow down then a gradual speed up when returning, looking more realistic. If anyone else needs help with this, let me know and i'll upload an example file for you guys

  3. #3
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could make a Time value that you constantly add to when you throw it, and then set the X Position to

    Player X Position + Max Distance * sin( Time )

    When Time = 180, the boomerang has returned to the player. This will give a physically realistic interpretation nearing how boomerangs operate in real life (while still constricted to one axis)

Similar Threads

  1. need a good boomerang that hit the spot i click the mouse at
    By highjack24 in forum Multimedia Fusion 2 - Technical Support
    Replies: 28
    Last Post: 2nd February 2013, 09:36 PM
  2. Weapon rotation( Streets of Rage style)
    By gamer123 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 20th July 2012, 01:46 AM
  3. A Sling weapon
    By Tiger in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 1st May 2012, 11:44 AM
  4. Help making weapon a seperate object
    By Atherton in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 23rd August 2011, 01:41 PM
  5. Simple Boomerang
    By nivram in forum File Archive
    Replies: 6
    Last Post: 29th October 2008, 01:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •