Hey there,
I have a scene where my gameplay happens. I’m looking for a way to slowly ‘zoom-out’ so more and more space becomes visible as the time passes. But I want the HUD and some other elements to stay the same. It’s like the mouse wheel functionality in top-down games.
I tried to do it with sticking everything to display groups and transitioning xScale, yScale. It works visually of course but game functionality screws up. For example I have a spawner that spawns some objects, its graphics gets scaled but spawner still spawns the objects from its original position, not the new scaled position…
Do I need to keep track of every X, Y position I’m using during gameplay and transition them too? (Which is probably possible but too hard for me since I use a lot of touch events for aiming and path creating etc.) Or is there an easier way to achieve this? Please please say yes
I’m looking forward for your answers, thanks in advance!