how to during game zoom in at the center of the scene?
FamTechAdmin
Member Posts: 47
hi
I was just wondering how to create a rule that makes the scene zoom in at the center of it when i press a button?
I´ve been trying with interpolate but I´m only able to make it "zoom in" at the left side of the scene instead of the center
Comments
I had no idea zooming in was even possible! O.O This would be super cool effects to have at the beginning and end of my levels!! I'll look into it and get back at ya if I succeed.
Yep, very freakin' confusing... Sorry I cannot help. And I'm going to go ahead and not zoom in at the beginning and end of my levels, lol...
this is how it works...
http://qna.gamesalad.qq.com/questions/4e2036d8db04ec4f0b000080
but I haven´t fully "mastered" it yet... that´s why Im only able to zoom a piece of the screen hehe
This thread will show you how to zoom in and out to two preset sizes. https://forums.gamesalad.com/discussion/13704/pinch-to-zoom-in-and-out-in-gs
With some serious work you can make it a proper pinch zoom system. However the HUD if you have one is a problem. When I created mine I made the HUD disappear when zooming and reappear after. That works for my app mightn't work for everyone.
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template
thanks...
hi again. i tried that.. but it didm´t work..
but...
I found a "workaround"... the "code" is messier but the result looks nice.
this is how I did...
instead of letting the scene interpolate towards the center, I let the background do that, which created the same effect for me