Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate
Programming

[Release] XMLegen - A Tileset Tool

Hydroque
Sunday, July 6, 2014 - 17:38

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.

Download XMLegen

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> 

  • Log in or register to post comments
Syrsly
joined 13 years 1 month ago
Friday, July 25, 2014 - 13:36
Syrsly's picture

"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!

  • Log in or register to post comments