Touch movement character goes to on screen button when touched.

FrantoFranto Member Posts: 779
edited August 2014 in Working with GS (Mac)

On Tizen, the player character which is moved by touching and dragging him, goes to the location of the on screen touch button when you press it. Whats the most efficient way to solve this?

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    The most efficient way is to provide the rules/behaviors you used for movement so that we can troubleshoot the issue.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • FrantoFranto Member Posts: 779

    Hi @tatiang , sure can do. Here are screenshots of the rules. I'm thinking by default, only a single touch element can be done at a single time? Perhaps I should make use of the "touch 1, touch 2" game attributes located under devices or is there a better method?! Thank you.

  • FrantoFranto Member Posts: 779

    I'm using the simplest of rules for the onscreen touch buttons and actor that uses touch for movement{you drag them around the screen.}

    You just can't drag the actor and press the attack button at the same time or the actor rushes to the x,y position of the button.

    I always assumed that multi-touch on screen was by default{if you have directional buttons and attack button actors on screen, you could hold all at the same time instead of 1 at a time.} Unless what I have is a bug?

    Anyway, assuming multi-touch isn't default, would this mean that for both the actor and attack buttons to have seperate touches, I simply must use "game.touch1" for actor, "game.touch2" for attack button in order to have both be touchable and moveable on their own? I don't have devices to test on and I tried installing a program that allows multi-mice to be used at the same time, but it was limited to one touch per mouse due to Windows limitations. I don't have a device to test on at the moment, so even if I did change the behaviors to use game.touch I wouldn't be able to test it.

Sign In or Register to comment.