boomerang effect

Get help using Construct 2

Post » Tue Dec 23, 2014 11:01 pm

Has anyone figured out a good way to make a boomerang effect (throw something and it comes back to you like a boomerang)? I've searched high and low and can't really find anything that I can get to work. I've tried a combination of behaviors like bullet + sine and even pathfinding but my skills just aren't up to par to get the effect to work properly.

It may or may not be important, but it's for use in a platformer game.
B
61
S
20
G
56
Posts: 1,077
Reputation: 35,986

Post » Tue Dec 23, 2014 11:22 pm

wait 2.0 sec
change angel towards player
Read this:
yeah, i really like to say that you should "Read this:"
B
12
S
5
Posts: 138
Reputation: 1,490

Post » Tue Dec 23, 2014 11:27 pm

I want the the boomerang to end up back in the players hand, even if he jumps etc.
B
61
S
20
G
56
Posts: 1,077
Reputation: 35,986

Post » Wed Dec 24, 2014 12:17 am

You do not have the required permissions to view the files attached to this post.
Last edited by korbaach on Wed Dec 24, 2014 2:35 am, edited 1 time in total.
Image
B
65
S
23
G
7
Posts: 1,501
Reputation: 10,888

Post » Wed Dec 24, 2014 12:24 am

i made an example for you:

boomerang.capx
You do not have the required permissions to view the files attached to this post.
Read this:
yeah, i really like to say that you should "Read this:"
B
12
S
5
Posts: 138
Reputation: 1,490

Post » Wed Dec 24, 2014 12:28 am

I mad too ,,,,,,,,,,,,,,,,,,,,,, :D
You do not have the required permissions to view the files attached to this post.
Image
B
65
S
23
G
7
Posts: 1,501
Reputation: 10,888

Post » Wed Dec 24, 2014 3:18 am

Thanks @korbaach That's the best example I've seen. I'm going to play around with it for a while. I wish I could do it without having to add extra plugins/behaviors though.
B
61
S
20
G
56
Posts: 1,077
Reputation: 35,986

Post » Wed Dec 24, 2014 3:45 am

Hey thankx, a useful post!!.

I've got a question.

How to use this technique in the game like football penalty kick, where the ball swing less or more based on the player's swipe angle. The ball may or may not miss the net, but everything is based on the player's swing.
B
7
S
1
Posts: 51
Reputation: 507

Post » Wed Dec 24, 2014 3:53 am

Thanks Man @Burvey ! :D
You can do all this without plugins..but it requires 10 or 15 events more ..
..and I use free version of C2(100events limit..)..so.. ;) ...so I use every shortcut
Last edited by korbaach on Wed Dec 24, 2014 4:16 am, edited 1 time in total.
Image
B
65
S
23
G
7
Posts: 1,501
Reputation: 10,888

Post » Wed Dec 24, 2014 4:14 am

@animator can you post a simple capx?
Image
B
65
S
23
G
7
Posts: 1,501
Reputation: 10,888

Next

Return to How do I....?

Who is online

Users browsing this forum: guannstar, odiusfly and 24 guests