RPG Depth
richardlordthesecond
Member Posts: 19
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
The @DeepBlueApps Zanda template is great for this.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
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?
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
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User