Login   Register  
Icontem

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
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2012-06-25 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 191 All time: 205 This week: 94Up
Version License JavaScript version Categories  
canvas-game-controls 1.0GNU General Public Lice...1.8.5Events
Description Author  

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.

Picture of martin barker
Name: martin barker <contact>
Classes: 6 packages by
Country: United Kingdom United Kingdom
Age: 25
All time rank: 291 in United Kingdom United Kingdom
Week rank: 23 Up1 in United Kingdom United Kingdom Equal
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  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

 Version Control Unique User Downloads Download Rankings  
 0%Total:191All time:205
 This week:0This week:94Up