How do I make a custom jump arc?

Get help using Construct 2

Post » Wed Sep 23, 2015 1:01 pm

Hey. I'm making a game where movements are snapped to a grid, so each movement is the exact same distance. I'm using Rex's Move-To plug in to handle moving left and right (16 pixels at a time), but I can't get a nice fixed jump using it (or I can't figure out how anyway). Any ideas?
B
7
S
2
Posts: 60
Reputation: 604

Post » Wed Sep 23, 2015 1:33 pm

Would it work to use a "dummy" sprite for the movement and an animation-sprite for the jumping?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Sep 23, 2015 1:41 pm

I don't mean to say you should animate the jump, although you could, but for example:

The dummy sprite is used for the grid movement.. you could use this as a kind of shadow also, because it's always on the floor..
The animation-sprite (which could consist of a single frame) is moved in the y-direction based on the percentage of the distance travelled between start and endpoint of the moveto action..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Sep 23, 2015 2:20 pm

Hmm... Don't think I follow you. Would that work for jumping up platforms?
B
7
S
2
Posts: 60
Reputation: 604

Post » Wed Sep 23, 2015 3:21 pm

Without a better explanation on what you want to do exactly and/or an example either in capx or maybe visual, this is my best answer..

You are talking about grid based movents using the move to behaviour, so I guess that part is working..
Jumping on platforms would consist of first knowing when to do that (creating the conditions) and secondly attaching the right actions to do it..
I'm sure it can be done if the wanted effect/actions are clearer..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Sep 23, 2015 7:40 pm

I'll give it a try, chap. Thanks for the help!
B
7
S
2
Posts: 60
Reputation: 604


Return to How do I....?

Who is online

Users browsing this forum: alextro, Ryan Kocourek and 1 guest