Jumping and moving?
ang0005
Member Posts: 15
so i am making a game where u can move left to right. i want to add a jump button so i made and attribute that when jump=1 change actor position to (certain height)
the problem is when the actor is in the middle of jumping i dont want to be able to move left to right. i want to actor to of landed before u can move left to right.
anyone got any ideas?
the problem is when the actor is in the middle of jumping i dont want to be able to move left to right. i want to actor to of landed before u can move left to right.
anyone got any ideas?
Comments
Reset it when you land.
In your left/right movement logic check for this flag, if set do not move.
Hope that helps
but while in mid air i am still able to move left to right.
i made an rule int attribute must = 0 and touch must be pressed on the move buttons but it still moves left to right
i cant see why it does this the coding to me looks fine
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
saw your table video