Tilt left motoX
In working with motoX I want the user to have the option of tilting the game instead of having to use the arrow button. Would I do this in the button or on the cycle?
http://goo.gl/DDxVe <- screenshot
http://goo.gl/DDxVe <- screenshot
Best Answer
-
tatiang Posts: 11,949
You would do that on the button, but you're going to find it works a lot better to use > or >= an accelerometer value. In your screenshot, it looks like you have the condition equal to 0.01. It's hard to hit exactly 0.01 with a tilt device.
Sorry, actually since you're toggling a boolean it really doesn't matter where you have that rule. It just needs to be on any actor on the scene. But I would have it in the button since you're coding the button for keyboard control and touch is inside.New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Answers