you guys probably won't be able to understand this lol
QbAnYtO
Member Posts: 523
So I got enemies and a hero. How original right?!
It's top down view (like smash tv or robotron or pretty much any rpg made in snes)
Now, when I shoot the enemy he dies and I have it like this:
Enemy collides with shot
Destroy "enemy"
Spawn enemy dead anim
After 0.3 seconds destroy anim
And spawn blood puddle.
I know it's bad to keep spawning and destroying but "change image" is not working well.
So anyways. My issue is that, sure this works well but the problem is that I want the puddle of blood to spawn under the layer (or should i say "in back of") the enemies and hero. So it looks like they are walking over the puddle of blood that's on the floor. But in stead the puddle is on the highest layer so we walk "under" the puddle as if the puddle is floating. It's hard to explain. That why I think u won't understand it. any suggestions will help tho!
It's top down view (like smash tv or robotron or pretty much any rpg made in snes)
Now, when I shoot the enemy he dies and I have it like this:
Enemy collides with shot
Destroy "enemy"
Spawn enemy dead anim
After 0.3 seconds destroy anim
And spawn blood puddle.
I know it's bad to keep spawning and destroying but "change image" is not working well.
So anyways. My issue is that, sure this works well but the problem is that I want the puddle of blood to spawn under the layer (or should i say "in back of") the enemies and hero. So it looks like they are walking over the puddle of blood that's on the floor. But in stead the puddle is on the highest layer so we walk "under" the puddle as if the puddle is floating. It's hard to explain. That why I think u won't understand it. any suggestions will help tho!
Comments
those are probably the two locations you'll need to check
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
i think its because i have a spawner that spawns the enemies. so every "new" spawned enemy gets placed a layer high the the previous killed enemy's blood puddle...
i'm trying the whole recycling thing but it would make my game to easy... want a few enemies on screen not just one at a time.
is there a way to keep the newly spawned enemies in their respective layer?