RPG Depth

I am having problems with depth. I cannot change layers for an actor. Is there any way to do this? Or have them drawn "in front" or "in back" of each other?

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    The @DeepBlueApps Zanda template is great for this.

  • UtopianGamesUtopianGames Member Posts: 5,692
    edited December 2014

    The trick is to make 2 actors, If you check out the template i made below you will see I made 2 hero actors one high in the layer and one lower in the layer and simply used a Boolean to switch the alpha on the 2 actors from 1 to 0 depending on the Y position or triggered by invisible actors.

    http://www.deepblueapps.com/zanda-zelda-template/

  • Sorry for the WAY late reply, but thanks.

  • On a side note, can anyone tell me how to make custom behaviors?

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited January 2015

    Custom behaviors are just behaviors that you modify and then save by dragging to the custom area. They aren't different behaviors. So for example, I use Change Attribute self.color.alpha to 0 all the time and don't want to keep creating that behavior over and over again. I just create it, name it Hide Me, and then drag it to the custom behavior area. Then when I need to use it again in a different actor (in the same project file only), I drag it from the custom area to the actor's rules area.

    http://g.recordit.co/XWIabhzAnu.gif

Sign In or Register to comment.