Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
PlanetFunk
on April 7, 2011
|
parent
|
context
|
favorite
| on:
Writing code with MS Paint
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:
It packs my 51KB minified source into an 18KB image file.
Works a charm :)