Computational Contemplations

Friday, October 5, 2012

Using Game Controllers for Browser-Based Games

With the recent release of Google Chrome version 22, the Gamepad API is ready for action (no manual adjustment of chrome://flags required).  

Recommended reading:

http://active.tutsplus.com/tutorials/games/an-introduction-to-the-html5-gamepad-api/

http://buildnewgames.com/console-experience-on-the-web/

http://www.html5rocks.com/en/tutorials/doodles/gamepad/

A great interface to use:
http://github.com/sgraham/gamepad.js
However, due to issues as described in the post:
http://github.com/sgraham/gamepad.js/issues/8
for the time being, it is better to use the patched version of the code posted at: 
http://github.com/inequation/gamepad.js
(a GitHub fork of sgraham's code)
at least until the main branch is updated with these changes.

Posted by Unknown at 1:54 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ►  2017 (2)
    • ►  December (1)
    • ►  June (1)
  • ►  2016 (1)
    • ►  January (1)
  • ►  2015 (2)
    • ►  December (2)
  • ►  2013 (7)
    • ►  December (1)
    • ►  July (1)
    • ►  June (1)
    • ►  May (3)
    • ►  March (1)
  • ▼  2012 (10)
    • ▼  October (1)
      • Using Game Controllers for Browser-Based Games
    • ►  September (1)
    • ►  August (1)
    • ►  June (2)
    • ►  March (2)
    • ►  February (3)
  • ►  2011 (2)
    • ►  September (2)

About Me


Lee Stemkoski
View Profile
Awesome Inc. theme. Powered by Blogger.