Under actors but not under background

touchcreamtouchcream Member Posts: 63
edited November -1 in Working with GS (Mac)
Hi everyone,

I'm having a little problem, when my actors die, they spawn a new actor wich is a cadaver. But the problem is that the other actors actually walk under cadavers but I would like them to walk on the cadavers. I tried to spawn them "in back of actor" => didn't work and "back of layer" => worked so well it disapeared under the background -___-.
So is there some kind of attribute which could allow to set layer order of an actor or something which could help me ?
Thanks ! :)

Comments

  • AfterBurnettAfterBurnett Member Posts: 3,474
    Put them into a different layer. Have one layer with the background images behind the layer with your characters, then you can use "spawn back of layer" and it will still be on top of the BG layer.
  • AfterBurnettAfterBurnett Member Posts: 3,474
    I should add, the "layers" menu is found when you click on "scene", not "game" in the top/left of the GS browser :)

    From here you can expand all layers and move actors to where you want them.
  • touchcreamtouchcream Member Posts: 63
    I understand the idea, but I can't use the layer menu with my "living" actors because they spawn randomly during the game :/
  • AfterBurnettAfterBurnett Member Posts: 3,474
    Yes but you have the actor spawning them in that same layer. Not in the one with the BG.
  • touchcreamtouchcream Member Posts: 63
    That's working ! Thanks a lot :)
  • AfterBurnettAfterBurnett Member Posts: 3,474
    No worries, I had the same problem with my game :)
Sign In or Register to comment.