Change Layer Question

Hi all,

Is it possible to make the touched player always be on top?

I have 2 pictures that enlarge when they are touched, the problem is that when enlarged one is always behind the other.

Any help much appreciated.

It’s not a bug – it’s an undocumented feature

Best Answers

  • gyroscopegyroscope I am here.Posts: 6,598
    edited February 2013 Accepted Answer

    Hi @Fal01 to date, there's no control over layer order by behaviours or rules, except in the Spawn Actor behaviour, as you know (Layer order: in front of actor, in back of actor, front of layer, back of layer).

    So the only workarounds at this time is to destroy an actor and respawn at the top of the layer; or, swap with a duplicate actor higher in the layer, which can sometimes help in some situations.

    There's a third workaround which might help in this situation too (if all your actors are the same size): have a blank actor on-screen but outside of the visible screen area, top of layer. When you click on a picture, change image in the spare, and swap it's position with the one you're touching, swap back on release.

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • UtopianGamesUtopianGames Posts: 5,692
    Accepted Answer
    We have a free layers demo available http://www.deepblueapps.com/layer-selection-template/



    Darren.

Answers

Sign In or Register to comment.