4-button controller bug/error
PBEmpire
Member Posts: 676
Hey guys! I have started working on my next game, and have quickly ran into a problem. I have set up a 4-button controller, yes it is a controller game. The controller works fine. It moves the actor fine. But now the problem- when i try to click on one of the 4 buttons, left,right up or down, and drag my mouse without releasing it and go over another button, it follows suit. But when i let go of my mouse, the actor continues to move without stopping, unless i once again click anywhere on the screen or another button. However, i have created a rule to stop the actor when touch is released.
When touch is released/outside, change attribute move (direction) to false.
But the problem still occurs.
When touch is released/outside, change attribute move (direction) to false.
But the problem still occurs.
Comments
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Maybe i did not explain well enough. When you press your mouse or touch OUTSIDE the controller and without letting go of your mouse button or without releasing your finger from the screen and you drag it to any of the buttons and THEN let go, the actor continues to move. It seems like it could not detect the the finger has been lifted.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User