Login   Register  

CanvasGame.Controls: Bind pressed keys to callback handler functions

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of martin barker
Name: martin barker <e-mail contact>
Packages: 6 Browse all classes by martin barker Browse all classes by
Country: United Kingdom United Kingdom - JavaScript jobs in United Kingdom
Age: 24
All time rank: 281 in United Kingdom United Kingdom
Week rank: 43 Down1 in United Kingdom United Kingdom Equal
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Detailed description   Download Download .zip .tar.gz  
This object can bind pressed keys to callback handler functions.

It takes a list of names of keys and associated callback handler functions.

The object will call the handler functions when the associated keys are pressed or released.

  Classes of martin barker  >  CanvasGame.Controls  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: CanvasGame.Controls
Base name: canvas-game-controls
Description: Bind pressed keys to callback handler functions
Version: 1.0
JavaScript version: 1.8.5
License: GNU General Public License (GPL)
All time users: 188 users
All time rank: 195
Week users: 0 users
Week rank: 66 Equal
  Groups   Rate classes User ratings   Applications   Files Files  

Group folder image Events Handle and process registered events View top rated classes

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file CanvasGame.Controls.js Class The Object that has the methods required to add controls
Accessible without login Plain text file Example.js Example this shows how you can use the object to easily bind events to key strokes

Download Download all files: canvas-game-controls.tar.gz canvas-game-controls.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.