My sprite gets stuck in the platform and stops moving

Get help using Construct 2

Post » Sat Aug 15, 2015 7:44 am

Hi folks!

Simple question: Why does my sprite get stuck in the platform?

DEMO: Try to jump on the platform: http://gertschp.myhostpoint.ch/jumpProblem/

CAPX: http://gertschp.myhostpoint.ch/jumpProblem.capx

Edit: Apparently it has something to do with the fact, that the sprites Y-position gets reset to 440 when "on floor"...

Thx for your help!

Philip
B
4
Posts: 17
Reputation: 220

Post » Sat Aug 15, 2015 8:44 am

Removing the set y solves the issue, why is it there anyway?
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 » Sat Aug 15, 2015 9:33 am

Thanks... but when I'd remove the "set y to 440", the sprite wouldn't jump everytime it hits the ground... and it should jump everytime. When the sprite lands on the floor, it doesn't land straight, but always with some left-over-angle from the jump... so that's why I'd have to set the sprites y to 440...

Do you see, what I mean?
B
4
Posts: 17
Reputation: 220


Return to How do I....?

Who is online

Users browsing this forum: Instrex and 16 guests