please help me
I'm making space invaders but I want to make the thingies that disappear a little when you shot them
you could make it so when the projectile hits the invader: the projectile destroys itself, and change what the invader sprite looks like? for example. u need variables. invader= 3 then it goes down to 2 then 1.
on projectile overlap sprite (invader) (i think is how it goes).
change invader: by -1 or +1 depending on how u want to do it.
then do a forever.
Forever: if invader=1 then set sprite image to = the new image
else if invader=2 then set sprite image to = another new image
if if invader = 3 then set sprite image to = another new image.
hope that helps. i you need me to.
i can make it and send images to you.
basically i mad it so that when a projectile touches a sprite called enemy the sprite is destroyed and i made a variable called death because the projectiles come every 2 seconds even if he is dead so all i did was do a ON GAME UPDATE EVERY 200MS IF DEAD =1 (THIS MEANS TRUE 0= FALSE 1=TRUE) THEN DO NOTHING (NOTHING IN BOX.) THEN PRESS PLUSS AND THERE WILL BE A PLUSS ICON PRESS IT AND IT WILL SAY ELSE THEN PUT THE PROJECTILE ON THERE (this makes it so when it has died it doesnt shoop projeciles anymore :)! happy to help the empire