Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Kenney Game Assets All-in-1

Includes 60,000+ game assets including 2D sprites, 3D models and more! · By Kenney

Tilesheet extractor with xml file

A topic by scolain created 92 days ago Views: 274 Replies: 2
Viewing posts 1 to 3

Hi,

How does the tilesheet extractor work on files with tiles of different sizes? There's an XML file which gives the position of each tiles, but in what does it help for the extractor?

Eg : 2D assets\Platformer Assets Base\Spritesheet

I know the tiles are already individually present into the PNG folder, but just wondering what can read the XML file? I loading the file through Godot and it does seem to read the XML.

TIA

Developer

Tilesheet (extractor, and creator) only work with sprites that are all the same size, the tool currently doesn't support sprites of varied sizes (spritesheets). The XML that gets generated simply adds data to your tilesheet so you know which tile is where, when importing into a game engine. The XML file is a generic type, in order to read it you'll have to code it yourself.

That makes perfect sense regarding the current same-size limitation. Thanks for the clarification!

I'm very interested in the idea of supporting sprites of varied sizes (texture atlases) in the Tilesheet tool, as this is a common necessity for many 2D projects.

I'd like to ask:

  1. Is there an official channel (like a GitHub Issues page or a forum section) where I could submit this as a formal feature request?
  2. Is the source code for the Tilesheet extractor tool publicly available? If so, I would be happy to look into developing or contributing to the feature that allows it to read and handle these varied-size spritesheets/texture atlases.

TIA!