7
lxmcf
6y

Decided to change how my game engine asset loading and sorting systems work, giving up on making everything editable JSON files just so it's easier to manage and actually build things.

Currently trying to work out a way to load all of the packages sprites into 1 singular asset bundle and here is the evolution so far...

Revision 1: Compiles a single 328KB PNG into a 24MB file in 190 seconds.

Revision 2: Compiles same image into a 24MB file in 5 seconds.

Revision 3: Compiles into a 16MB image in 4 seconds.

It's not much but it's a start :-D

(Still haven't built a loading system so who knows if it works yet ¯\_(ツ)_/¯)

Comments
  • 0
    Keep us updated☺️
  • 2
    Making 16 MB out of a 328 kB image?! You should consider applying for Chrome development.
  • 0
    Update: Got it running at an acceptable way, will only inflate the file by 1MB but for whatever reason won't read colour data correct and just displays it as a black box or will degrade the colour's to shades of black and incredibly dark grey...

    Might just have a zip that contains images and audio then just have the code/data in 1 data file
Add Comment