you guys probably won't be able to understand this lol

QbAnYtOQbAnYtO Member Posts: 523
edited November -1 in Working with GS (Mac)
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. :p any suggestions will help tho!

Comments

  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    check how your layers are configured, and make sure you are spawning the blood puddle "behind" actor instead of in front of.

    those are probably the two locations you'll need to check
  • QbAnYtOQbAnYtO Member Posts: 523
    Hmm. I did make sure about the layers and the spawning in back of. I'll double check in a few hours
  • QbAnYtOQbAnYtO Member Posts: 523
    well NOTHING is working..NOTHING

    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?
  • QbAnYtOQbAnYtO Member Posts: 523
    any suggestions? i see a few of you are up late.. atleast by my time (its 430am here in miami beach :) )
  • HachikoHachiko Member Posts: 330
    In the spawn option did you check "back of layer" or something like that?
  • BarkBarkCoBarkBarkCo Member Posts: 1,400
    Hachiko said:
    In the spawn option did you check "back of layer" or something like that?

    And if you do this you need to make sure that things that need to show below the spawned blood pool are on a separate, lower layer.
Sign In or Register to comment.