Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release 2.6.0 - loads .json and 24/32 bpp images
#1
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.
#2
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.
#3
Thanks! I hope this improvements make it easier to use Tilengine with standard editing tools, and cause less confusion.
#4
Really happy to see support for 24/32 bpp images!

Keep up the good work Marc!
#5
(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.


Forum Jump:


Users browsing this thread: 1 Guest(s)