Boomerang magic attack

This forum is currently in read-only mode.
  • Hello guys. Im trying to make a magic attack for my game , simular to this one

    Subscribe to Construct videos now

    .

    I tryed to do this thing with sine behavior , but orb is moving from x1 to x2 and then returns to x0. Sorry , but i cant explain this better because of my english skills. I just want to make a particle magic attack simular to orb attack from video i linked before.

    Thank you <img src="smileys/smiley1.gif" border="0" align="middle">

  • You can do this easily with the rts movement behavior, just set the deceleration and the rotation speed high(I used 30000 for deceleration and 9000 for the rotation speed, but probably lower values should be fine.)

    If you use any object with "solid" attribute on it you should turn off the pathfinding, and be sure the rotating object option is on.

    The events should look like this:

    + MouseKeyboard: On Right mouse button Clicked

    -> Sprite: Move to mouse

    -> Sprite: Add waypoint at Sprite

    Of course this is a bruteforce solution, but it works.

  • You can do this easily with the rts movement behavior, just set the deceleration and the rotation speed high(I used 30000 for deceleration and 9000 for the rotation speed, but probably lower values should be fine.)

    If you use any object with "solid" attribute on it you should turn off the pathfinding, and be sure the rotating object option is on.

    The events should look like this:

    + MouseKeyboard: On Right mouse button Clicked

    -> Sprite: Move to mouse

    -> Sprite: Add waypoint at Sprite

    Of course this is a bruteforce solution, but it works.

    Thanks , but this doesnt work well. Orb just moves to the point and doesnt return or i am doing something wrong ?

  • dl.dropbox.com/u/2721498/2stroke/Construct/cap/boomerang.cap

    As far as I see it works.

    Btw if you move your character, you have to update the end coordinate(simply add a move to object action to the end.)

  • Where did you all get the "newer version of construct" :P?

    Because I get the message, my version is too old and on the website, there is still version 1.2. Even construct itself saying it's up2date.

  • Ah, now it works. I just read "r2" and construct say its up2date, so I didn't even try to download there^^. Thanks

  • dl.dropbox.com/u/2721498/2stroke/Construct/cap/boomerang.cap

    As far as I see it works.

    Btw if you move your character, you have to update the end coordinate(simply add a move to object action to the end.)

    Oh, i feel so stupid.

    Thank you very much.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Saw this was the newest thread about boomerangs so I figure I'll voice my own situation here:

    I'm making a 2d platformer and one of the attacks my character has is a boomerang. It goes forward for a bit and then heads back towards wherever the player is currently. (Pretty much identical to Link's boomerang in Super Smash Bros, but with tighter tracking.)

    I'm messing around with Custom Movement, but haven't found a way to redirect the angle to head towards another object.

    Any tips?

  • Uberlou posted an action game cap where the character threw some sort of light weapon that returned. Here is the cap:

  • Upon closer inspection, I see this is in the Construct Classic forum. I'm using Construct 2. I'mma go over there and ask them. My mistake.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)