+ All Categories
Home > Technology > Html5 for game programming

Html5 for game programming

Date post: 31-May-2015
Category:
Upload: hasith-yaggahavita
View: 789 times
Download: 2 times
Share this document with a friend
Popular Tags:
6
Game Programming with HTML 5
Transcript
Page 1: Html5 for game programming

Game Programming with HTML 5

Page 2: Html5 for game programming

Platform Selection Flash

HTML5 WebGL SVG Canvas2D

Page 3: Html5 for game programming

Use a library (http://jawsjs.com/) Classic Gameloop

Sprites

Page 4: Html5 for game programming

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

Page 5: Html5 for game programming

Security & Other Concerns

JS is hard to protect Obfuscation Server Timed Logs

Audio

Settings & game state

Page 6: Html5 for game programming

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


Recommended