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.


Messages In This Thread
Release 2.6.0 - loads .json and 24/32 bpp images - by megamarc - 04-22-2020, 06:42 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)