Moving object that throws boomerang style weapon

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • 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?

    Developer/Composer :

    Vamprotector

    Castlevania Chronicles 2 - Simon's Quest

    Castlevania Chronicles 3 - Dracula's Curse

  • 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 :)

    Developer/Composer :

    Vamprotector

    Castlevania Chronicles 2 - Simon's Quest

    Castlevania Chronicles 3 - Dracula's Curse

  • 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)

    For a list of my achievements, hit up Please login to see this link..com/
    Unless you want to party, then go to Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!