Game Development Community

Tile set requirements

by Mark Williamson · in Torque Game Builder · 08/01/2008 (9:53 am) · 1 replies

I'm trying to figure out how to use tile sets with TGB. It seems TGB wants the "tile set" as i call it (an image with a bunch of separate images) to contain tiles of the same size.

I found a set of graphics I want to use in my first "hello world" game

Here is the image:

img181.imageshack.us/img181/1028/1945kk4.th.png

how do I use this with TGB?

Tried to import it as is and TGB crashed :)

Mark

#1
08/01/2008 (10:33 am)
I did a search in the html docs for Key, and number four in the results is,
Reference - Image Maps.html

That has a detailed explanation of how the "Key" mode works in TGB for imageMaps. It looks to me from reading it, though, that you will not be able to use that image as is, it will require re-organization to load all the sprites successfully from a single file.

Unless you want to write a new sprite separation algorithm for TGB that can load sprites like this (which would be super cool).