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 :)
It packs my 51KB minified source into an 18KB image file.
Works a charm :)
No comments yet.