In game button problem
Billyd1
Member Posts: 133
Hi posted something about this a few days ago. When you keep your finger on a button when changing scene it will stick and keep doing that movement, so I sorted that but putting change attribute to 0 when scene changed.
That sorted, but when your playing the game in a scene if you hold the button and drag it , it doesn't recognize I have took my finger off and carries on. I have put when button ''released'' change attribute to 0 but that doesn't work if you slide you finger across it.
Does anyone know a way I could fix this?
That sorted, but when your playing the game in a scene if you hold the button and drag it , it doesn't recognize I have took my finger off and carries on. I have put when button ''released'' change attribute to 0 but that doesn't work if you slide you finger across it.
Does anyone know a way I could fix this?
Comments
when the button is "pressed"
do this... (ie...make the function "true")
when the button is "released"
do this... (ie...make a new function "true")
or
stop doing what I was doing... (ie...make the original function "false")
If you are changing a scene...
once that is activated...all of the functions are dumped ... since you have changed the scene.
if you want something to happen first...put the "changeScene" behavior inside a delay timer.
Without knowing details about your issue...
this is the best I can offer...hope it helps you.
http://gamesalad.com/game/play/47004
If you press and drag off the button it doesn't recognize that you have released it and carries on moving. Is there a way to stop this?