A game about people and their reflections4.27 / 5.00 8,095 Views
Pure minimalist puzzle game about solving spatial issues3.92 / 5.00 7,837 Views
Short visual novel about a mysterious girl hiding a dark secret3.84 / 5.00 14,523 Views
I'm trying to make a Smash Bros. style camera system. I want the camera to always show the player and the next objective item on screen, and if the player moves further away, it should zoom out to keep both on screen, and if they move closer, it should zoom in (to a point). I have no idea how to do this. I've tried manipulating 'scrollings' but that makes jittery window movements.
don't worry, i don't think it's impossible. in the scrolling options of the object properties menu, do you have the "follow the frame" box checked? if not, then it could get pretty jittery. if you figure out how to zoom in and out, please tell me because i don't know.
At 10/31/11 07:30 AM, Nero1024 wrote: You can't make the camera zoom in and out to fit objects on screen.
Technically you can, just not in TGF2. If you get MMF2 you can download an extension called the perspective object (i believe thats the one) that can change the zoom of the screen. I've done it before :D
You could also do it by scaling every single entity on the screen to a value and change the X and Y coordinates accordingly but I'm betting it would run pretty slow and take some complex maths. So yeah not very feasible in TGF2.