issues with multitouch, only one touch work

FamTechAdminFamTechAdmin Member Posts: 47
edited May 2015 in Working with GS (Mac)

Hi.

Im trying to add multitouches to an image. If pressed once, a boolean value becomes true. If pressed again, the boolean value becomes false instead and vice versa.

so far it only reacts to the first touch.

this is how I set up the rules

Rule 1...
....actor receives event --> touch is pressed
....Attribute -->game.Touches.Active.Touch1 is true
.......Attribute --> game.isRuby3Pressed is true

Rule 2...
....actor receives event --> touch is pressed
....Attribute -->game.Touches.Active.Touch2 is true
.......Attribute --> game.isRuby3Pressed is false

Only Rule1 works.

am I missing something?

Comments

Sign In or Register to comment.