Hello to everyone!
Integrating the iOS exporter's features into my game makes it lately a bit difficult with the multitouch object.
All I currently work on is different frames working as a menu. The player is then able to switch through the different menus by touching buttons on the screen.
Therefore I used "A new touch on object [button1] has started" as to check if a button is touched. Then, the user gets transferred to the next menu screen, like from the main menu to the options.
My problem now is: If I check for the expression given above in the new menu frame (to redirect from there) and the button to tap on is in the same position as the one touched in the previous menu, CF2.5 seems to take the previous touch as the one for the current frame and has the button in the same position touched aswell.
For example: You are in the main menu and tap on "Options". CF2.5 redirects you to the options menu where the button for "sounds on/off" is right at the same spot as "options" was. Then the "sounds on/off"-button is tapped aswell, although the player has not touched anything in the new frame.
I tried to avoid this bug by setting a timer-delay of half a second before a new touch is recognized but then the game does not recognize a new touch at all. Also making "a touch has ended" a necessity to leave the main menu (to go to the options menu) does not help.
So how do I get the game take only a new touch as a new touch in a following frame?
Thank you in advance