Game Development Community

Cell Padding..heh..so worthless

by Ted "darkhitman" Nubel · in Torque Game Builder · 04/01/2005 (9:04 am) · 4 replies

Well, my graphics artist likes to use the old-school method of a hot-pink gridset around the frames of our units. So, the CELL mode only has support for specifying the height and width and # of h/v frames. But what about cell padding, the space between each frame? KEY wasn't producing what I needed.

#1
04/01/2005 (10:12 am)
Cant he just use the pink grid then set it to black when done?
#2
04/01/2005 (10:32 am)
Yes.

The KEY mode will use the top-left pixel as the colour-key and the work right and down looking for image-frames.

- Melv.
#3
04/01/2005 (4:57 pm)
I did try using KEY, but..they were all the same size in the first place. Plus, it crashed for some reason.

What would setting the grid to black do?
#4
04/01/2005 (7:51 pm)
Simple solution(s).

1. Tell your artist to not use a hot-pink gridset around the frames of your units.
2. Tell your artist if he must use a hot-pink border around every cell, he must ensure that the border used can be colored black and produce an even cell widthxheight.
ie. 2px width on outer edges of imagemap, 4px width between cells