PLATFORMER: jumps on vertical moving platform

Get help using Construct 2

Post » Fri Jan 06, 2012 8:59 pm

Heres a very simple example how to deal with the jumping issue on vertical moving platform.

The action in event2 requiers precise number in pixels, depending the height of the platform and the player but that should be posible to figure out in lees than a minute by playing with it.

File: http://dl.dropbox.com/u/5214903/GM/vertical%20platform%20movement.capx


Note: not good for slopes!Miu32012-01-09 17:20:57
B
43
S
9
G
5
Posts: 231
Reputation: 7,291

Post » Fri Jan 06, 2012 9:49 pm

makes me think of what I did on another capx
verticalMovingPlatforms.capx
Last edited by Yann on Sun Sep 14, 2014 11:02 am, edited 1 time in total.
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Mon Jan 09, 2012 10:28 am

[QUOTE=Yann] makes me think of what I did on another capx
http://dl.dropbox.com/u/23551572/C2/verticalMovingPlatforms.capx[/QUOTE]

Indeed, too bad it also has its problems on vertical moving slopes but great example you made as always :D
B
43
S
9
G
5
Posts: 231
Reputation: 7,291

Post » Fri Jan 13, 2012 11:59 pm

Miu3,

That worked great, thanks for posting this info.
B
4
Posts: 2
Reputation: 530

Post » Thu Apr 19, 2012 5:34 am

Thanks, that is what I was looking for.
B
16
S
8
G
4
Posts: 1
Reputation: 5,010

Post » Fri Apr 27, 2012 3:51 pm

Hi, sorry if i'm reviving an old post, but I have make some changes in Yann project...
and i think some people will like ^^

http://dl.dropbox.com/u/35360656/PlataformMoving.capx

it just a little adjust, if you are under and jump over the platform, the player don't "teleport" above...

hope some people like it ^^Tiryth2012-04-27 17:09:37
B
3
Posts: 4
Reputation: 408

Post » Fri Apr 27, 2012 8:50 pm

[QUOTE=Tiryth] Hi, sorry if i'm reviving an old post, but I have make some changes in Yann project...
and i think some people will like ^^

http://dl.dropbox.com/u/35360656/PlataformMoving.capx

it just a little adjust, if you are under and jump over the platform, the player don't "teleport" above...

hope some people like it ^^[/QUOTE]

yepp. I do

thnx
B
17
S
3
G
5
Posts: 71
Reputation: 4,401

Post » Mon Apr 30, 2012 8:59 pm

hi, I was looking my code... and I change a little think that will make much more easy to implement...

just change the code above the "is overlapping sBlockMoving" for "is jumping" and make it reverse...

the player only will set sMovingPlatform to true when he is not jumping ^^

thx
B
3
Posts: 4
Reputation: 408

Post » Sat Jun 09, 2012 10:03 pm

Hi! Im having the same problem... i have been looking your tests and looks nice so i have tried to copy to my game.

Everything is in right place, but i dont know how to adjust the values in the line Feet.Y <= sBlockMoving.Y + 10 I have tried but with not good results.

And maybe i have to do bigger/smaller the feet size too?

Thanks for the help! TheJdem2012-06-09 22:04:15
B
4
Posts: 3
Reputation: 509

Post » Sat Dec 22, 2012 6:34 pm

Realy This tutorial is awesome & it has saved my too much time. Thank you so much...... I was working on Player Movements for a day & couldn't get smooth gameplay..This example is realy amazing...Thanks a lot again.....:)
B
14
S
2
G
4
Posts: 43
Reputation: 3,170

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 4 guests