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

Views: 357

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: Smoke Detector
Rating: 5
Filesize: 14.03 kB
Downloads: 581
Comments: 0
Ratings: 1
Date added: 2010/06/05 08:07:32
Made with: Phun
Rating: rated 5
download
Title: Smoke Detector
Rating: 6.1111
Filesize: 55.42 kB
Downloads: 1131
Comments: 4
Ratings: 3
Date added: 2010/06/04 19:06:05
Made with: Phun
Rating: rated 6.1
download
Title: IR Release
Rating: 5
Filesize: 32.68 kB
Downloads: 298
Comments: 1
Ratings: 1
Date added: 2013/09/08 23:58:39
Made with: Algodoo v2.0.1
Rating: rated 5
download
Title: roller coaster full
Rating: 5
Filesize: 390.89 kB
Downloads: 3802
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: 1204
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: How a heat detector works
Rating: 5
Filesize: 12.42 kB
Downloads: 191
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!