Page 1 of 1

How do I stimulate Jump?

PostPosted: Sun Aug 16, 2015 2:00 pm
by sudeep98
Hi,
I'm developing a platformer game, in which when the player falls on a spring he should fly few pixels to the top. I used stimulate platform pressing jump event but it isn't working. I also tried setting player's Y to player.y -700 * dt for every tick but nothing is working properly.

Please help.

Re: How do I stimulate Jump?

PostPosted: Sun Aug 16, 2015 3:24 pm
by sudeep98
Hellooo need little help over here.

Re: How do I stimulate Jump?

PostPosted: Mon Aug 17, 2015 6:14 am
by RamPackWobble
on collision with spring - set players platform vector y to -amount

https://db.tt/E0vxe1VT

Re: How do I stimulate Jump?

PostPosted: Mon Aug 17, 2015 7:15 am
by Prominent
You don't need to use dt for platform behaviour since it already takes that into consideration.

Re: How do I stimulate Jump?

PostPosted: Mon Aug 17, 2015 12:29 pm
by sudeep98
@RamPackWobble
@Prominent

Thanks a lot guys.