Hi All,
I am trying to toggle between different spritess by pressing the ‘A’ button but i’m stuck for an hour. Here is what I have so far:
Any advice? Thanks.
-Peb
Hi All,
I am trying to toggle between different spritess by pressing the ‘A’ button but i’m stuck for an hour. Here is what I have so far:
Any advice? Thanks.
-Peb
You’re allowed to make multiple sprites move with buttons at once, so when you want one to stop, you have to clear it - this can be done by setting the speed to 0:
I moved some of the code out of the on game update to make your example work like I think you would expect:
Thank you, jwunderl. It works as expected now!