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

Views: 492

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: 570
Comments: 1
Ratings: 2
Date added: 2009/06/29 19:36:05
Made with: Phun
Rating: rated 5.6
download
Title: Car Whit Ragdoll (My 1st phunlet)
Rating: 5
Filesize: 302.02 kB
Downloads: 486
Comments: 0
Ratings: 1
Date added: 2010/04/28 18:09:11
Made with: Phun
Rating: rated 5
download
Title: fight with a phunlet
Rating: 5
Filesize: 9.21 kB
Downloads: 477
Comments: 0
Ratings: 1
Date added: 2009/09/12 19:06:39
Made with: Phun
Rating: rated 5
download
Title: Bomb Phunlet
Rating: 4.8667
Filesize: 290.14 kB
Downloads: 2224
Comments: 12
Ratings: 4
Date added: 2009/03/23 20:26:44
Made with: Phun
Rating: rated 4.9
download
Title: Phunlet Safe Gearbox And Display
Rating: 6.4
Filesize: 18.97 kB
Downloads: 1103
Comments: 6
Ratings: 4
Date added: 2015/11/10 04:28:40
Made with: Algodoo v2.1.0
Rating: rated 6.4
download
Title: wall clamper phunlet
Rating: 6.2
Filesize: 5.55 kB
Downloads: 564
Comments: 5
Ratings: 4
Date added: 2009/10/16 21:32:47
Made with: Algodoo Phunlet
Rating: rated 6.2
download
This scene is a response to:
Title Author Rating Downloads Comments Date added
This code knows. faytree 5 (1 vote) 331 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: