Moving platforms imprecisify jumping mechanics

Get help using Construct 2

Post » Wed Sep 06, 2017 4:18 pm

Last spring I found out about the advanced scon exporting of Spriter animations, I was thinking to create a platformer with massive bosses, that would require the player to climb on them to defeat them. The technology makes C2 to treat the giant monsters parts as separate objects, for which I can individually attach "solid" behaviors, I can make some spikes on the back dangerous etc. It makes the boss basically a mass of moving platforms, that move horizontally, vertically and diagonally.

The problem I faced is that when my character is standing on a platforms/parts surface running or standing, its gravity somehow cant keep up with the platforms movements (even when they are pretty slow). Im not completely unable to advance forward along the parts/platforms, but the issue causes my character to often rapidly switch between standing on the floor and being in the air. This shows in the animations with the standing and jumping animations switching in a flashy way, like a hundred times in one second.

The problem ruins the way the game looks as described, but it also ruins the basic gameplay, because sometimes when I need to doublejump, Im unable to do it because C2 thinks I was already in the air, so it does the second jump first.

I need your help.
Last edited by Metallian 94 on Sat Sep 09, 2017 7:10 am, edited 1 time in total.
B
6
S
2
Posts: 18
Reputation: 488

Post » Wed Sep 06, 2017 4:52 pm

It would be nice to see it in action. Can you share it or a video?
Bruno

I like to eat, but I'm no cook. Why liking to play games would make you a game designer?
B
21
S
6
G
3
Posts: 658
Reputation: 3,843

Post » Thu Sep 07, 2017 11:40 am

Right! There it is. I have ignored many C2 updates, so Im not sure how compatible this is with your versions. Well Ill send a video if theres need for that.

So some instructions: use A and D to move and W to jump. You can doublejump and control the height depending on how long you hold down W, on both the first and second jump. Move to the left on the platform and the Spriter beast should appear. Start by jumping on the blue crystal platforms, that float above her spiky tail. Dont go on the tail, because it hasnt got solids, youll fall through. From the third platform descend on her back to the upper or lower shell (dont be afraid of those spikes, I havent programmed them to hurt you yet.) Try simply standing on the back and once the rapid animation switching starts, try to doublejump multiple times. Youll see that it plays the doublejump animation (the flipping one) first, sometimes you cant perform the second jump and sometimes you cant even jump at all. By pressing G after the monster has appeared, the monster starts another animation and also starts moving/flying left. For some reason this sometimes works and sometimes not, but right now the main problem is the jumping on the monster.

BTW that snowman is just a test dummy for all my platformer based games. Im not planning to plagiate the legendary lack of limbs feature of Rayman.

https://www.dropbox.com/s/oxgqd9krozg3b ... s.zip?dl=0
B
6
S
2
Posts: 18
Reputation: 488


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests