Game Development Community

camera settings for one - to - one pixel resolution?

by Nathan Karnes · in Torque Game Builder · 03/22/2009 (1:53 pm) · 4 replies

the default camera scene is width 100 height 75.
resolution 1280 x 1024

however this really stretched out, what is the 1 to 1 pixel setting for
resolution 1280 x 1024? double the current width and height?

#1
03/22/2009 (2:17 pm)
100 by 75 is 4:3. 1280x1024 is 5:4. Try 100 by 80.
#2
03/22/2009 (2:20 pm)
Ah thanks you fixed the aspect ratio!

However, the scenario is this. I placed an image on my level. The image is not stretched or anything it is at its normal resolution 1 to 1 pixels. However when you run the game - its super stretched out and big.

I changed the settings to x3 the current amount and its really close to 1 to 1 pixel ration, but I am still not positive.

width 300 height 240.
#3
03/24/2009 (8:28 pm)
I see what you're trying to say, just make your window and camera resolution the same and you'll have one pixel be one game unit.
#4
03/25/2009 (2:06 pm)
heheh, yeh I just woke up and realized that was the case.