Isometric game, and walking behind objects.

ShanestaShanesta Member Posts: 63
edited November -1 in Working with GS (Mac)
If you were making an Isometric game, is there a way in GameSalad to make an actor to apear to walk behind or infront of another actor depending on there Y value.

The only thing I can think of is to have 2 actors in the same spot, with one being above the player, in the Scene Layer, and the other below the player. Set the one obove the player to only be visible, if the character is above it's Y value.

I guess that would work, its seems like GameSalads needs a way to specify what layer something is on, and to be able to change layers on the fly.

GameSalad also need a way to manually define collision for and actor, either by using a collision mask image, or by being able to manually draw the collision shape, like you can in the Torque engine.

Comments

  • gnetrognetro Member Posts: 7
    You can't change the z-position of an actor. But the best you can do is divide the sprite of an actor into upper and lower.

    Then in Inspector > Actor ... move all the upper part at the end.

    just make sure the lower part always follow their upper part.
Sign In or Register to comment.