Strange bug with swiping.
Hi,
I have strange bug while testing my game and swiping to move. I saw this http://youtube.com/watch?v=mvGcnPJhtCU and used it. Pretty simple and works well.
I also added release < touch - 30 so the player has to swipe at least 30 pixels in order to swipe. In my game he can only swipe left but that is not important.
I have very strange problem. It works fine when I start the game but when I restart the game (using my restart button ) it starts to count every click of the mouse as a swipe. I reset all variables + the most interesting is if I pause the game and then resume it, it works fine again the bug stoppes and it works perfect.
Is this some kind of GameSalad bug ? Because I can't see logical answer to this.
P.S. When I used "Display text" to see what's going on with the variables I saw that after the restart the touch variable from itselfs but when I pause and resume the game it stops.