11 ms·
To minimise page size I pack the javascript for my html5 game - Last Man Standing: A Zombie Apocalypse - into a png and load it using canvas and eval. It packs
by PlanetFunk 16y ago
To minimise page size I pack the javascript for my html5 game - Last Man Standing: A Zombie Apocalypse - into a png and load it using canvas and eval.
It packs my 51KB minified source into an 18KB image file.
Works a charm :)