Discuss Scratch

coolcolin351
Scratcher
3 posts

Defender Game

I'm working on a defender game and i need help making it so every time you kill an enemy it will spawn another enemy, and keeps spawning them until the person dies or completes the level.
ghozt2014
New Scratcher
11 posts

Defender Game

Great idea you have there, defender games are always popular and who knows, you might even create the next great hit. We can dream can't we, lol. Anyways here is what you will need to get set up. First here is a wiki page that explains everything about cloning, which is a fantastic and efficient way to spawn multiple enemies, projectiles, particles, etc.

Secondly, you are going to need to make variables to hold the timers and triggers and here is another wiki page that explains that subject pretty thoroughly. A defender game with a lot of things going on at once will require either a bunch of sprites or a bunch of clones, and trust me clones is the way to go my friend.

Anyways, good luck on your project my dude and let me know if any of this stuff helped you out or at least pointed you in the right direction.

Keep on Scratching!
coolcolin351
Scratcher
3 posts

Defender Game

thanks

Powered by DjangoBB