Game Development Community

Image aspect ratio on resize...

by Isaac Barbosa · in Torque Game Builder · 10/13/2007 (2:09 pm) · 2 replies

Hi,

I don't know how to explain this well, but i will do my best:

I've started my project with a 100 x 75 camera size and all my art was thinking in an 800 x 600 screen. At some point game becomes huge in size due to lots of animations. So I think in resize everything (halving every asset) to a 50 x 37.5 camera and in a 400 x 300 screen size.

I have resized some of my art from a 800 x 600 design resolution to a 400 x 300. I halved some items, and the camera is still showing an 800 x 600 view. So, my problem is when I take an image from my library it becomes smaller than expected in an automatic way (as if my stage still were 800 x 600 instead of 400 x 300), so I have to manually resize (double size) my sprites and I lost quality.

Is there a way to prevent this and keep quality?

Thanks

#1
11/15/2007 (2:05 pm)
I think there's a disconnect there. The 100x75 is your design resolution? That has absolutely no effect on the quality of your images. For example, I set my design resolution to 800x600 so that I'm working in pixels. It's to aid the programmer and artist. I don't know if you can change the screen size to something custom like 400x300. What if you leave the resolutions as is and shrink the art by half? Are you using PNGs? Sometime the type of image makes a huge difference.
#2
11/15/2007 (2:34 pm)
Thanks Nikos.

My design resolution is 800 x 600.

My camera size was 100 x 75. Now it is 50 x 37.5 and I have halved most of my art to reduce size, but some quality is lost in behalf of have am smaller file :(

It is working well.

Everything is png