does gamesalad glitch sometimes????
Hipster_Owl_Studios
Member, PRO Posts: 214
im trying to make a platformer side scroller for the ipad and as for now jst to test the gameplay im using the keys on the keyboard but one i use the left arrow or right arrow to move my actor he moves but then he begins to slow down untill hes at a slow stop then i would have to press the key agian in order for him to move agian has this happen to anybody or could jst b some type of glitch? help me out thanks!
Comments
If it's some weird glitch, it wont show up if you make a new project with an actor using the exact same rules/attributes. (It's how I work a lot of stuff out.)
when actor recieves key left
-change attribute game.direction to 1
otherwise
actor recives an event right key
change attribute game.playerdirection to 2
right key
when actor recieves key right
(i have my animate)then
change attribute game.playerdirection to 2
otherwise
when left key is pressed
animate left
change attribute game.playerdirecton to 1
i hope that helpes
infact if u look under shared projects look up platformer tutiorial#1 and thats pretty much what i have