Roguelike Sprite Sheet

Share on FacebookShare on Google+Tweet about this on TwitterShare on Reddit

Kenney makes absolutely amazing art, but one of my wishes for a while now was that he would make a roguelike sprite sheet.  Well, he’s released a new donation pack, and it comes with an amazing 2125 sprites for a top down 2D roguelike!

Kenney.nl Roguelike Preview

Unfortunately, this sprite sheet doesn’t come with a data file (XML or JSON), which makes it difficult to use in some game engines.  I took some code that I previously wrote for my Texture Atlas Converter and hacked it up to generate a JSON data file for this amazing sprite sheet.

The code is a little rough, but it gets the job done.

JSON Data File

PHP Code:

 

Leave a Reply

Your email address will not be published. Required fields are marked *