Hi,
I’ve ran into a problem in my code and I was wondering if anyone can help me on this.
I have two function that loads up sprites and plays. I made it so when I shake the phone, it plays the second sprite and remove the first one. It keeps on stacking with each other.
How can I make it so what when I shake, it will only play the second sprite for only 2 seconds and then goes back to the original? I tried using a timer delay, but it skipped some frames.
Thanks in advance.