Hacker News new | past | comments | ask | show | jobs | submit login

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 :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: