Changing an image of a actor for set time then reverting
Hello,
Please Forgive me I have had gamesalad for while but never used it, apart from today I am very much a beginner.
I have a actor setup so I when a button a button is pressed like SPACEBAR the actor image changes to the sprite with a sword. Then two seconds later it changes back to the original image with no sword. I have done it this way so when the image with sword collides with an enemy the enemy dies If, the image without sword collides with enemy the player dies after three hits.
But I cannot get the image to swap back after SPACEBAR is pressed.
This image shows what I have at the moment.
I have tried many different alterations different options and such, even tried looking through forms, manual but cannot quite find a fix.
Thanks for reading.
Phil
Answers
@PhilWilky , welcome to the forums.
In the "do"section you first put a "change image" showing the sword, followed by a "timer AFTER 2 seconds" setting the image back.
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com
@Hopscotch, wow thanks that simple. duh lol.
Thanks for welcome as well.
Looks like its working right, but its late here so I will test in the morning. thanks again.
4:30 am for me too
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com