Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » RUN AND GUN REPEATING SPRITES
- cobby16
- New to Scratch
2 posts
RUN AND GUN REPEATING SPRITES
HI
I'm creating what is essential a run and gun game where the player has to fight off waves of baddies as they come at them and there is a scrolling background and the player is able to move up, down, left and right
I have created 13 baddies which come onto the stage at different times and once shot by the player they disappear. However I want these to repeatedly keep coming back until they kill the player not matter how many times they shot them and I can't seem to find a way of doing this.
Any further questions I would be happy to answer and help is much appreciated
Thankyou
cobby16
I'm creating what is essential a run and gun game where the player has to fight off waves of baddies as they come at them and there is a scrolling background and the player is able to move up, down, left and right
I have created 13 baddies which come onto the stage at different times and once shot by the player they disappear. However I want these to repeatedly keep coming back until they kill the player not matter how many times they shot them and I can't seem to find a way of doing this.
Any further questions I would be happy to answer and help is much appreciated
Thankyou
cobby16
- drmcw
- Scratcher
1000+ posts
RUN AND GUN REPEATING SPRITES
After this you should investigate clones, then you'd just need one enemy sprite and can have 300 of them on screen at once if you like! Anyway the reason your sprites are not reappearing is because you hide them and that's it. If you want them to reappear then add some scripts after the hide, a simple go to and show would do or you could also add in a random delay with a wait pick random 1 to 5 seconds.
- cobby16
- New to Scratch
2 posts
RUN AND GUN REPEATING SPRITES
thank you very much drmcw that is a big help and much appreciated
- Discussion Forums
- » Help with Scripts
- » RUN AND GUN REPEATING SPRITES