Game Development Community

Automatic Image Resizing

by Chris M. Fitzgerald · in Torque Game Builder · 08/19/2011 (9:56 am) · 2 replies

Greetings.

Quick question. Is there an easy way to prevent an image serving as a background from being automatically resized if the resolution is changed? In other words, I would like an image to be the same number of pixels regardless of the screen resolution.

Thank you.

#1
08/19/2011 (3:14 pm)
You'll have to calculate sprite size from game resolution and camera size.
#2
08/19/2011 (3:29 pm)
Yeah, that's what I thought. Easy enough, thank you.