More Related Content Similar to Html5game presentation Similar to Html5game presentation (20) Html5game presentation10. Games
• Games are fun
• Games are everywhere
• Games exercise the brain
I love games!
@randyhoyt
11. Play engages the prefrontal cortex,
responsible for your highest-level
cognitive functions – including self-
knowledge, memory, mental imagery,
and incentive and reward processing.
Brain Workout, Life Optimizer, http://trhou.se/WHkaR7
14. Games
• Games are fun
• Games are everywhere
• Games exercise the brain
• Games are practice for
the real world games!
I love
@randyhoyt
20. HTML5 and Related Technologies
• Canvas
• WebGL
http://trhou.se/whyWebGL
@randyhoyt
21. HTML5 and Related Technologies
• Canvas
• WebGL
http://trhou.se/whyWebGL
• WebSocket
http://trhou.se/introwebsockets
@randyhoyt
22. HTML5 and Related Technologies
• Canvas
• WebGL
http://trhou.se/whyWebGL
• WebSocket
http://trhou.se/introwebsockets
• SVG
@randyhoyt
24. It’s official: with HTML5 today the
browser has become a full-
fledged gaming platform.
HTML5 Gaming, http://html5rocks.com/gaming
27. HTML5 Games
• Top 10 HTML5 games of 2012
http://trhou.se/gamesin2012
• Goko
• Game Closure Devkit
• Famo.us - http://tcrn.ch/ZfCuNh
@randyhoyt
57. Game Logic
• Init
- Place Frog
- Place Obstacles
• Update
- Move
• Render
@randyhoyt
58. Game Logic: Bind Events
• Init
- Bind Events
- Place Frog
- Place Obstacles
• Update
- Move
• Render
@randyhoyt
59. Game Logic: Place Badges
• Init
- Bind Events
- Place Frog
- Place Obstacles
- Place Badges
• Update
...
@randyhoyt
60. Game Logic: Update
...
• Update
- Check for Movement
- Check for Obstacles
- Move
- Check for Badges
• Render
@randyhoyt
61. Game Logic: Check for Victory
...
• Update
...
...
• Render
• Check for Victory
@randyhoyt
64. HTML5 Game Frameworks
• Impact
• LimeJS
• Crafty
• GameClosure
• CocoonJS
Game Engine Comparison, http://trhou.se/gamecompare
@randyhoyt
65. LimeJS
• Free and Open Source
• Uses DOM or Canvas
• Built on Google Closure
• Requires Python
• Incompatible with CocoonJS
@randyhoyt
106. ... and if the frog’s left would be left of the wall’s right ...
107. ... and if the frog’s top would be above the wall’s bottom ...
108. ... and if the frog’s bottom would be below the wall’s top ...