★ TouchArcade needs your help. Click here to support us on Patreon.

A little sharing: tileset optimization tool

07-11-2012, 09:10 PM
#1
Joined: Mar 2012
Posts: 307
A little sharing: tileset optimization tool

If you're using Tilemap Editor (www.mapeditor.org) then this tool can be of a little help. Hope you'll like it

http://www.guava7.com/2012/tool-for-...ap-tmx-format/
07-11-2012, 11:36 PM
#2
Joined: Mar 2012
Location: California
Posts: 31
Not sure if I understand the purpose of that tool... You use a tile sheet to save on memory and have fewer graphic calls. If you use that tool, then wouldn't you need a tile sheet per map because each map would have specific tiles? So then you run in the problem of having multiple copies of the same asset, and if you wanted to update a tile, you'd have to make the changes to multiple files instead of one main tile sheet.

Maybe I'm wrong and it is very useful for your workflow? But, I thought it was best to separate the tile sheets by level types, to maximize space (fire, ice, woods, etc.,).

Twitter: RuizNick
07-12-2012, 02:22 AM
#3
Joined: Jun 2012
Location: SaiGon
Posts: 12
Send a message via MSN to ricky.ngk Send a message via Skype™ to ricky.ngk
Thank for you feedback.

Quote:
Originally Posted by ruiznick View Post
If you use that tool, then wouldn't you need a tile sheet per map because each map would have specific tiles? So then you run in the problem of having multiple copies of the same asset, and if you wanted to update a tile, you'd have to make the changes to multiple files instead of one main tile sheet.
Nope. If all maps use the same set of tilesets, they could be declared in config file. They all will be counted when generate new tilesets

In the other hand, this tool also supports "keep function", by which user could manually ignore rearrange a specific tileset

Quote:
Originally Posted by ruiznick View Post
if you wanted to update a tile, you'd have to make the changes to multiple files instead of one main tile sheet.
Nope. You should keep original design, but before using in game, do a optimizing step.
According our workflow, original map is called "raw data". Raw data are not used directly in game, they will be "made" before using (by some command-line code ...)


Right now, it's not intelligent enough to detect all of cases, but your feedback help it will be

Last edited by ricky.ngk; 07-12-2012 at 02:25 AM.
09-24-2012, 09:42 PM
#4
Joined: Jun 2012
Location: SaiGon
Posts: 12
Send a message via MSN to ricky.ngk Send a message via Skype™ to ricky.ngk
Since this version, duplicated tiles in tileset are removed automatically.

Enjoy our games at: http://www.guava7.com