Hello,
In my game, i make a button. If you click on the button, i want the button changed in to on other button. But it doesn't work. I have make a little game from the problem:
http://up.ht/MJY0VO
What do i wrong? And how can i fix it?
Thanks
I would do it differentially - with animation frames, something like this:
capx
In your example, both boxes receives click in the same tick, so all the commands are executed and boxes returns to previous states. That would be my guess.
Develop games in your browser. Powerful, performant & highly capable.
Thank you! It works.