Hello OpenGameArt.org people!
Java Programmer Hydroque here with an awesome tool for pixel-based games. XMLegen (XML-a-ghen) will generate 2 tileset XML Files for you with fields filled in. It will take your tiles and split them by a user-defined size into a user defined length and height. Say you do 32x32 tilsets that have 6 tiles a row on 7 columns... This program will easly generate 2 files based on this.
Is this program open source?
Yes, of course! It is written in java and requires Java to run.
What is this tool?
An XML File generator.
How do you use the tool?
Download it. Put all files somewhere. Use the batch file. Enter the info.
Why use this?
Other rograms require you to break your tileset and mix it up, etc. etc. XMLegen doesn't require the picture, even! This specific program will generate two files. One for a squared tileset (like 32x32) and one standard.
What does the two files look like?
File one:
<?xml version="1.0" encoding="UTF-8"?>
<TextureAtlas>
<sprite n="1" x="0" y="0" w="25" h="13"/>
<sprite n="2" x="25" y="0" w="25" h="13"/>
etc...
</TextureAtlas>
File two:
<?xml version="1.0" encoding="UTF-8"?>
<TextureAtlas>
<sprite n="1" x="0" y="0" s="25"/>
<sprite n="2" x="25" y="0" s="25"/>
etc...
</TextureAtlas>
"Other rograms require you to break your tileset and mix it up, etc. etc. XMLegen doesn't require the picture, even!"
I don't see why anyone would want to make tilesets without the tileset image unless it's a text-based game. That said, XML generation is a nifty thing. A lot of people could learn from your source code. Thanks for sharing.
Syrsly
Twitch Streamer, Web/Game Developer, & Artist
syrsly.com - contact me for commissions, thanks!