Basically, I wanted to make a way to update Codename Engine mods without redownloading the modpack, so this is the repo I use to store the files the updater reads and downloads into your mods folder
In order for the web mod loader to be used efficiently, some optimization is needed.
Here are some tips;
Funkin' Packer:
Funkin' Packer reduces spritesheet file size by rearranging and trimming the frames on the spritesheet.
It can greatly speed up loading times and reduces RAM take up!
pngOptimizer:
pngOptimizer removes unnecessary data from a png, making the file size smaller, while keeping the image quality intact.
(I've personally used this on my mods and other projects, file decrease ranges anywhere from a few bytes to 4000000 bytes)
(Btw use this on sprite sheets after using funkin packer on them)
optiVorbis:
(I actually don't know (It takes a few bytes off of an ogg))
JSON Formatter:
Removes the pretty print indents and spaces in jsons, can reduce file size by other half!
- Instead of doing
sprite.scale.set(0.5, 0.5)
, resize the graphic itself to that size (I personally use pixlr for this) -
- Funkin' Packer has a
scale
property on the right-hand side you can use on sprite sheets!
- Funkin' Packer has a