html5 for game programming
TRANSCRIPT
Game Programming with HTML 5
Platform Selection Flash
HTML5 WebGL SVG Canvas2D
Object Animations Challenges
Single thread Limited memory Poor processors Legacy JS engines
Approach Faster methods Reuse object animations Separate static objects DOM animations when possible Lazyload
Security & Other Concerns
JS is hard to protect Obfuscation Server Timed Logs
Audio
Settings & game state
Result? 2 weeks of sleepless nights
2500 lines of hand written javascript
45,000 game sessions played in 10 days
Rs. 300,000/- worth gifts distributed