Skip to content

usb-port-2/web-mod-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

WHAT THIS IS

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

THIS IS CURRENTLY HEAVILY WIP

Optimizing:

In order for the web mod loader to be used efficiently, some optimization is needed.
Here are some tips;

RECOMMENDED PROGRAMS/SERVICES TO USE:

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!

Other tips:

  • 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!

About

testing streaming a mod from github into cne

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages