Sticky Controls
FatalCrest
Member Posts: 113
So, in my project I have 3 controls next to each starting from left to right:
Left Button, Jump Button, Right Button. They are at the bottom of the screen on a
layer above my main layer.
They are as close as they can be to each of each other, but not on top of each other at all.
Okay, now when I preview my game, I noticed if I touch any two of the three buttons at the
same time, it will run two controls at the same time forever and it's like if the buttons are
sticky and I can't seem to regain control over the controls. @_@
Can someone help me? My guy jumps and runs off the platforms because of this.
Left Button, Jump Button, Right Button. They are at the bottom of the screen on a
layer above my main layer.
They are as close as they can be to each of each other, but not on top of each other at all.
Okay, now when I preview my game, I noticed if I touch any two of the three buttons at the
same time, it will run two controls at the same time forever and it's like if the buttons are
sticky and I can't seem to regain control over the controls. @_@
Can someone help me? My guy jumps and runs off the platforms because of this.
Comments
Sorry if I'm not clear enough! >.<
and does your button make the actor stop moving when touch is released?
Then make when button1 attribute true do something
Use the same idea for all 3 buttons ( button attribute 2, 3 etc)