Tilengine - The 2D retro graphics engine forum
Release 2.6.0 - loads .json and 24/32 bpp images - Printable Version

+- Tilengine - The 2D retro graphics engine forum (http://tilengine.org/forum)
+-- Forum: Tabloid (http://tilengine.org/forum/forumdisplay.php?fid=4)
+--- Forum: News & Announcements (http://tilengine.org/forum/forumdisplay.php?fid=6)
+--- Thread: Release 2.6.0 - loads .json and 24/32 bpp images (/showthread.php?tid=557)



Release 2.6.0 - loads .json and 24/32 bpp images - megamarc - 04-22-2020

Enhanced asset loader compatibility

This release features two major improvements to supported assets:
  • Loads standard .json array format for spritesheets. This format is exported by major pixel art applications: Aseprite, Texturepacker, Piskel... Legacy .txt and .csv formats are supported too.
  • Loads 24 and 32 bpp pixel art images directly, no need to convert to 8-bit indexed first.
Keep in mind that the internal rendering pipeline is still based on indexed color. But the loader can take a 24/32 bpp image, and if it has less than 255 unique colors (common for pixel art) then converts it to an equivalent 8-bit indexed on the fly. If the image has more than 255 colors it won't be loaded.

These additions make much easier to work with spritesheets directly exported by standard editing tools.

The "forest" sample has now the spriteeshet in .json format and graphic assets in 24/32 bpp to showcase these new features.

GitHub project and itch.io packages are updated to this new release.


RE: Release 2.6.0 - loads .json and 24/32 bpp images - RootBeerKing - 04-23-2020

Loving the more frequent updates! Can't wait to try out the json spritesheets, and that's awesome to hear about the automatic conversion for the 24/32 bpp images, that should stop some confusion a few folks were having with images not loading right.


RE: Release 2.6.0 - loads .json and 24/32 bpp images - megamarc - 04-24-2020

Thanks! I hope this improvements make it easier to use Tilengine with standard editing tools, and cause less confusion.


RE: Release 2.6.0 - loads .json and 24/32 bpp images - Daniel H. - 04-27-2020

Really happy to see support for 24/32 bpp images!

Keep up the good work Marc!


RE: Release 2.6.0 - loads .json and 24/32 bpp images - megamarc - 04-27-2020

(04-27-2020, 05:56 PM)Daniel H. Wrote: Really happy to see support for 24/32 bpp images!

Keep up the good work Marc!
Thanks for your feedback! Now it's much easier to work with standard pixel art tools. Keep in mind that assets must have less than 255 unique colors, rendering pipeline is still based on indexed color. But now at least it can consume true color images and convert them to indexed color versions on the fly.