Tile Sizes and Defining Brushes
by Seth Willits · in Torque Game Builder · 03/05/2005 (12:50 am) · 21 replies
When I hold Option (I'm on a Mac) and drag the left mouse button to define a brush in the tile editor, nothing happens. I'm thinking this is a bug? I haven't seen it mentioned in any other threads.
As for the tile sizes, I originally had 8x8 tiles (I stole them and they were tiny to begin with), but in the tile editor i was seeing some funny artifacts, almost like the editor when reading the tiles was offset a bit. Tiles that should have been a solid color, were showing up with teeny pieces of the tiles next to them. I scaled the image up from 8x8 tiles to 64x64 tiles, and this seems to be gone, though it seems weird to me why this happened at all.
The image was 128x64. Now at 1024x256 with the cellWidth and Height as 64, it seems fine.
Another question, can I use imageCount and set it to.... 57 or something and then the editor will only read 57 tiles from the image?
As for the tile sizes, I originally had 8x8 tiles (I stole them and they were tiny to begin with), but in the tile editor i was seeing some funny artifacts, almost like the editor when reading the tiles was offset a bit. Tiles that should have been a solid color, were showing up with teeny pieces of the tiles next to them. I scaled the image up from 8x8 tiles to 64x64 tiles, and this seems to be gone, though it seems weird to me why this happened at all.
datablock fxImageMapDatablock2D(tilesImageMap)
{
mode = cell;
cellWidth = 8;
cellHeight = 8;
cellCountX = 16;
cellCountY = 7;
textureName = "~/client/images/tiles";
};The image was 128x64. Now at 1024x256 with the cellWidth and Height as 64, it seems fine.
Another question, can I use imageCount and set it to.... 57 or something and then the editor will only read 57 tiles from the image?
About the author
http://www.sethwillits.com/
Torque Owner Seth Willits