Using Camera zoom in only one of two layers - - Please Help

DanDaMan123DanDaMan123 Member Posts: 216
edited July 2012 in Miscellaneous
Ok so I have been trying for a ton of time and am very frustrated. I am trying to add a feature to the gameplay where the player presses a button and the game zooms out so that they can see the whole level. I have got it to zoom out but I only want one layer to zoom out. My other layer is the layers with buttons and such (UI) so I want it to stay put. I have the layer unchecked for scrollable but it still goes. I have found a work-around but it doesn't look good.

Thanks for any help you can give

Best Answer

  • gyroscopegyroscope I am here.Posts: 6,598
    edited July 2012 Accepted Answer

    You won't succeed, with only certain layers zooming if you're using Camera only; this is because Camera is just that: it's "seeing" the whole screen and doesn't differentiate between layers.

    A workaround, either: still use zoom out but your layer you want to stay put, have zoom in by the same amount..... or don't use camera zoom, but interpolate on all the actors you want to zoom out, making their widths and heights smaller over time.

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

Answers

Sign In or Register to comment.