Image:
Author: s_noonan Group: Technical Filesize: 11.16 kB Date added: 2012-11-09 Rating: 5 Downloads: 577 Views: 492 Comments: 4 Ratings: 1 Times favored: 0 Made with: Algodoo v2.0.2 Edu Tags:
|
Detects any laser Activation Button. Executes code one time for each keyDown or keyUp.
Use:
Replace 'text = _key + "_down"' with your desired keyDown script.
Replace 'text = _key + "_up"' with your desired keyUp script.
If you wish to do something different with each key, then use code similar to this:
_key == "a" ? {text = "a was pressed"}:{};
_key == "b" ? {text = "b was pressed"}:{};
_key == "c" ? {text = "c was pressed"}:{}; |
Last edited at 2016/07/02 20:54:50 by s_noonan
Please log in to rate this scene
|