Browse Search Popular Register Upload Rules User list Login:
Search:
Key Down/Up Phunlet

Image:
screenshot of the scene

Author: s_noonan

Group: Technical

Filesize: 11.16 kB

Date added: 2012-11-09

Rating: 5

Downloads: 629

Views: 589

Comments: 4

Ratings: 1

Times favored: 0

Made with: Algodoo v2.0.2 Edu

Tags:

Scene tag

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
edit
Similar scenes
Title: Suspension Tire Phunlet
Rating: 5.625
Filesize: 10.96 kB
Downloads: 677
Comments: 1
Ratings: 2
Date added: 2009/06/29 19:36:05
Made with: Phun
Rating: rated 5.6
download
Title: fight with a phunlet
Rating: 5
Filesize: 9.21 kB
Downloads: 563
Comments: 0
Ratings: 1
Date added: 2009/09/12 19:06:39
Made with: Phun
Rating: rated 5
download
Title: Tactical Nuke [Phunlet]
Rating: 5.625
Filesize: 64.35 kB
Downloads: 4449
Comments: 5
Ratings: 2
Date added: 2012/09/07 19:44:52
Made with: Algodoo v2.0.1
Rating: rated 5.6
download
Title: Velocity-Reading phunlet
Rating: 5
Filesize: 6.13 kB
Downloads: 644
Comments: 3
Ratings: 1
Date added: 2011/04/14 23:32:22
Made with: Algodoo Phunlet
Rating: rated 5
download
Title: Phunlet Safe Gearbox And Display
Rating: 6.4
Filesize: 18.97 kB
Downloads: 1235
Comments: 6
Ratings: 4
Date added: 2015/11/10 04:28:40
Made with: Algodoo v2.1.0
Rating: rated 6.4
download
Title: breakable pillar (phunlet)
Rating: 7.1363
Filesize: 244.44 kB
Downloads: 1160
Comments: 8
Ratings: 22
Date added: 2008/07/21 22:50:15
Made with: Phun
Rating: rated 7.1
download
This scene is a response to:
Title Author Rating Downloads Comments Date added
This code knows. faytree 5 (1 vote) 366 0 2012/11/08 10:21:36
show grid
Very good .The script that you wrote is better than me.:tup:
BTW my script is very easy for thyme begginer.
P.S
Please check your desc , you forgot to 'space' between similar and to .
BTW the script is very simple
thanks
s_noonan - Good job! I use a keypress detector invented by Kilinich that uses two lasers per character, but your's is simpler and uses only one laser per character. Two thumbs up! :tup: :tup: