jumping picture fail
-Timo-
Member Posts: 2,313
hello all,
I now have 2 different jump pictures. 1 for jumping left and one for right.
but when I collide with floor again the picture dont change back to his normal stand picture
how can I solve this?
I now have 3 booleans (jumping, moveright and moveleft)
if jumping is true
if moveright is true
than change image to (jumpright)
if jumping is true
if moveleft is true
than change image to (jumpleft)
if collide with floor
than change image to (stand)
it works fine in air but when I come down again the image is still a jumping one...
please help
I now have 2 different jump pictures. 1 for jumping left and one for right.
but when I collide with floor again the picture dont change back to his normal stand picture
how can I solve this?
I now have 3 booleans (jumping, moveright and moveleft)
if jumping is true
if moveright is true
than change image to (jumpright)
if jumping is true
if moveleft is true
than change image to (jumpleft)
if collide with floor
than change image to (stand)
it works fine in air but when I come down again the image is still a jumping one...
please help
Comments
✮ FREE templates at GSinvention ✮
✮ Available for hire! support@gsinvention.com ✮
Or you probably could use the "Otherwise" statement in the jumping rule for the image to change to the standing state.