Game Development Community

Camera size change object size

by Nir Ziso · in Torque Game Builder · 09/26/2006 (1:29 am) · 5 replies

I change my camera to camraSize = "99.25 67.375" after that all the size of my object change. How can I get the actually size of my objects back to the original size?

#1
09/26/2006 (2:22 am)
The objects won't have changed, just the scaling. You will need to calculate the scales, and then rework your image sizes.

I take it you have a reason for changing to such an odd size?
#2
09/26/2006 (2:53 am)
Thanks alot
do you mean i should change the width and the height of the object?
#3
09/26/2006 (3:02 am)
Yup.

Let's say the original camera was 100x75, and you changed it to 50x37.5. Although you won't have directly changed the sizes of any of your sprites, because your camera view is now half the size, the objects will appear to be twice as big.
#4
09/26/2006 (3:28 am)
Philip thanks alot for your help !!!
#5
10/08/2006 (12:49 pm)
I found another way to do it without change the object size
i change the t2dSceneWindow position