Game Development Community

How to zoom out while keeping the bg the same size?

by Nic Biondi · in Torque Game Builder · 10/12/2011 (9:25 pm) · 2 replies

I have a far background space image and I want it to stay the same size as I zoom out.. you know so it doesn't "shrink" like the rest of the images. Anyone have any luck with this?

thanks!
-nic

#1
10/12/2011 (11:54 pm)
It can be done by having a second scenewindow before the normal sceneWindow2D and loading a separate level for that scenewindow. Open mainScreen.gui and add another t2dSceneWindow before the code for the normal sceneWindow2D. Then you put the background image in its own level and load that level to the new scenewindow. The background image will then not be affected by any camera actions performed on sceneWindow2D.
#2
10/13/2011 (10:21 am)
thanks for the reply friend! I'll give it a try!