issues with multitouch, only one touch work
FamTechAdmin
Member Posts: 47
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
@JimmyMesser
thank you for the tutorial but I´ve already seen it.
I´m afraid, it wasn´t any help.
@FamTechAdmin So you just want the boolean to turn true false true false? If so just make a rule
Fortuna Infortuna Forti Una
@Lovejoy
Tried that version first, but that didn´t work either... i have to look at the rest of my rules and attributes, maybe something there is causing this.
See my videos on multitouch.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS
@The_Gamesalad_Guru
I´ve been already looking at them and still not able to get mine to work.
I found the bug. it was located in my second image.
the issue has been solved.
I appreciate all your help, thank you from the bottom of my heart.