Setting Touch Buttons to different Touches?

TwilightHunterTwilightHunter Member Posts: 146
edited November -1 in Working with GS (Mac)
Hey, recently I've had issues (Like the jumping issue I posted earlier) with my character controls. I now realize the problem. The buttons are set up like this:
"Right Button"
When Touch is Pressed, and Touch is Inside, Set Pressing Right to True. (This sets the movement attribute to True so that the character will know when the button to move is pressed)
And When Touch is Released, or Touch is Outside, Set Pressing Right to False.

So the problem happens at that last line. That line is in all of my buttons, Right, Left, Jump, etc..
So here's the problem. When you're pressing right, and then press jump, the Right button reads that as "Outside" of the Right Buttons box, thus "Releasing" the Right Button, and then the Jump button reads itself as pressed and continues into the Jump rule. I realized this after watching the images of my buttons, when one is pressed, it turns into a pressed animation. But I noticed that when I pressed jump, the Pressed animation left the direction pad buttons.
How do I set all of my buttons to different... Lets say "Layers" of touches so that I can press Jump and RIght (or left, whatever) at the same time?

Hope that made sense! :P Any help is appreciated
Sign In or Register to comment.