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: 623

Views: 580

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: fight with a phunlet
Rating: 5
Filesize: 9.21 kB
Downloads: 557
Comments: 0
Ratings: 1
Date added: 2009/09/12 19:06:39
Made with: Phun
Rating: rated 5
download
Title: [Phun only] K-Probe2 phunlet
Rating: 7.8125
Filesize: 13.68 kB
Downloads: 1576
Comments: 13
Ratings: 10
Date added: 2009/06/12 08:46:19
Made with: Phun
Rating: rated 7.8
download
Title: Velocity-Reading phunlet
Rating: 5
Filesize: 6.13 kB
Downloads: 638
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: 1225
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: 1153
Comments: 8
Ratings: 22
Date added: 2008/07/21 22:50:15
Made with: Phun
Rating: rated 7.1
download
Title: Phunlet ragdoll
Rating: 5.375
Filesize: 31.21 kB
Downloads: 2117
Comments: 1
Ratings: 2
Date added: 2023/10/12 23:04:32
Made with: Phunlet
Rating: rated 5.4
download
This scene is a response to
show list
Title: This code knows.
Rating: 5
Filesize: 21.3 kB
Downloads: 364
Comments: 0
Ratings: 1
Date added: 2012/11/08 10:21:36
Made with: Algodoo v2.0.1
Rating: rated 5
download
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: