Send Object To Back Or Front Depending On Character Location Iso Game

Discussion in 'How Can I...?' started by dgs_stan, Mar 18, 2018.

  1. dgs_stan

    dgs_stan Boxer

    Joined:
    Dec 11, 2015
    Messages:
    35
    Likes Received:
    7
    Hello,
    I was wondering if there is a way to change object's layer position depending on where character is standing?

    For example if play stands on a tile behind the objectA player would appear behind it. If player move to a tile that is in front of ObjectA than player would appear in front of ObjectA

    Thank you,
    Stan
     
  2. AppNasty

    AppNasty Miniboss Boxer

    Joined:
    Apr 14, 2016
    Messages:
    1,484
    Likes Received:
    890
    You mean make an object SHIFT layers during game play? Never thought about that....but i don't think so.
     
  3. brakewind723

    brakewind723 Serious Boxer

    Joined:
    Oct 3, 2015
    Messages:
    583
    Likes Received:
    506
    Your best bet is making a group layer and playing with auto depth sorting. Sadly it only works in one scene and not across multiple.
     
    AppNasty likes this.

Share This Page