Browse Search Popular Register Upload Rules User list Login:
Search:
AN EVEN SIMPLER KEY PRESS/RELEASE DETECTOR!

Image:
screenshot of the scene

Author: Xray

Group: Default

Filesize: 16.13 kB

Date added: 2013-08-07

Rating: 5

Downloads: 419

Views: 337

Comments: 2

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

Thanks to s_noonan (who brought this to my attention) I have created a very simple scene that demonstrates the thyme function called keys.isDown. Using that function you can create a key press/release detector without the use of a laser. So, this is about as simple as it gets. Read more about it in the scene.....
Last edited at 2013/08/07 04:13:31 by Xray
Please log in to rate this scene
edit
Similar scenes
Title: roller coaster full
Rating: 5
Filesize: 390.89 kB
Downloads: 3763
Comments: 0
Ratings: 1
Date added: 2015/02/18 23:44:52
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: scania r620 with extendable trailer
Rating: 4.5
Filesize: 72.47 kB
Downloads: 1181
Comments: 8
Ratings: 2
Date added: 2010/01/22 14:53:18
Made with: Algodoo before v1.8.5
Rating: rated 4.5
download
Title: AMR S1 Pt.9 (Leg 18,19)
Rating: 5
Filesize: 0.59 MB
Downloads: 285
Comments: 0
Ratings: 1
Date added: 2025/02/22 12:43:47
Made with: Algodoo v2.2.3
Rating: rated 5
download
Title: lie detector
Rating: 5.3889
Filesize: 77.96 kB
Downloads: 383
Comments: 9
Ratings: 18
Date added: 2008/12/03 23:14:05
Made with: Phun
Rating: rated 5.4
download
Title: LSMR S2 P8
Rating: 5
Filesize: 0.75 MB
Downloads: 620
Comments: 0
Ratings: 1
Date added: 2019/04/22 04:59:21
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: How a heat detector works
Rating: 5
Filesize: 12.42 kB
Downloads: 170
Comments: 1
Ratings: 1
Date added: 2018/02/08 15:47:53
Made with: Algodoo before v1.8.5
Rating: rated 5
download
If you put the code in the onKey event, then it will only run once for each keyDown and keyUp. If the code is in the postStep then it will run many times for each keyDown and keyUp.
That's good to know. Thanks!