Game Development Community

Ugh, what am I missing here ?

by Lexe · in Game Design and Creative Issues · 08/11/2011 (3:29 am) · 5 replies

Background story:
-----------------

We are working on a hobby project. Basically it's a 2D platform shooter, which means
aiming by using the mouse and running using the keyboard.

To be able to pickup alot of different armors, we have cut the character in
different sprites and animated sprites. This means we can swap any part of armor
during the game.

To animate the legs, we used flash. Which works great if you scale it up a bit, export the frames,
build a sprite sheet, and then scale it down again in Torque 2D Pro.
If we export it 1:1 in flash, it messes up the pixels because of compression ofcourse.

This means that we need to be able to scale down to absolute values in Torque 2D.
I just found out the Torque 2D GUI doesn't allow us to do this.

The design resolution = 640 x 400 (oldschool pixelated look)
The sprite sheet uses = 128 x 128 tiles (needs to be scaled down to 32x32)

Edit: Problem fixed:

img14.imageshack.us/img14/2741/oopsa.png





#1
08/11/2011 (5:21 pm)
I'm not quite sure I follow what is going wrong. If you are asking how to change 26.667 to just 26, you can do that from the editor. You just click in the box and change the value to 26. This can be done from script as well.
#2
08/12/2011 (2:34 am)
img14.imageshack.us/img14/2741/oopsa.png

Oops my mistake,

Looks like I forgot about the camera resolution.







#3
08/12/2011 (12:19 pm)
Can you post a screenshot of the edit tab when you have nothing selected? I want to see the values of camera and design.
#4
08/13/2011 (5:35 am)
img853.imageshack.us/img853/7987/screenhunter01aug131432.gif
#5
08/14/2011 (8:05 am)
What happens when you set the Camera width and height to match your design resolution?