Open misterhat opened 10 months ago
instead of using https://github.com/2003scape/rsc-c/blob/master/texture-pack/texture-pack.js to create atlases ahead of time, utilize https://github.com/vonhoff/maxrect-c (which uses a ported implementation of the JS packer) and the sprites within the jag cache files to populate atlases on game load. we already create textures dynamically since sleep words, minimap and login scene sprites all require that behaviour.
high priority for sundae
instead of using https://github.com/2003scape/rsc-c/blob/master/texture-pack/texture-pack.js to create atlases ahead of time, utilize https://github.com/vonhoff/maxrect-c (which uses a ported implementation of the JS packer) and the sprites within the jag cache files to populate atlases on game load. we already create textures dynamically since sleep words, minimap and login scene sprites all require that behaviour.