touch is released - world select issue
salemkhalid
PRO Posts: 11
hi
i have an issue with my world select
i have a behavior that is index (worlds) ,
when it's 0 it will show the normal menu , when it's 1 the world one will show up , etc to world 3
and i am setting two buttons to move between the worlds , next button and back button , when i press next it will change the world behavior to world+1 .
in the first world rule i am saying when touch is released and world = 0 :
change world to world+1
and interpolate to middle of the scene .
in the second world rule i am saying when touch is released and world = 1 :
change world to world+1
and interpolate to middle of the scene .
but the problem is that when the button is released . it stay released always ?
so any solution or any suggestion in the world select ?
this a picture for the world select
i have an issue with my world select
i have a behavior that is index (worlds) ,
when it's 0 it will show the normal menu , when it's 1 the world one will show up , etc to world 3
and i am setting two buttons to move between the worlds , next button and back button , when i press next it will change the world behavior to world+1 .
in the first world rule i am saying when touch is released and world = 0 :
change world to world+1
and interpolate to middle of the scene .
in the second world rule i am saying when touch is released and world = 1 :
change world to world+1
and interpolate to middle of the scene .
but the problem is that when the button is released . it stay released always ?
so any solution or any suggestion in the world select ?
this a picture for the world select
Comments
let's say that i am in the menu , and released next it will go to world 1 if i got back to menu and released next again it will go to 0 then 1 then 0 then 1 by itself etc with out i touch any thing .
i mean when touch is release the first time it will stay release , so if a rule contained touch is released it will work just the first time , then it will be released for a ever , so is this a wrong in understanding by me or what ?
http://forums.gamesalad.com/discussion/15549/touch-is-released-issue
it was about the released trigger