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

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: New Years Eve marble celebration!
Rating: 5
Filesize: 282.97 kB
Downloads: 1023
Comments: 0
Ratings: 1
Date added: 2016/12/30 14:32:18
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Smoke Detector
Rating: 6.1111
Filesize: 55.42 kB
Downloads: 1108
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: 282
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: 3766
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: 1184
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: 287
Comments: 0
Ratings: 1
Date added: 2025/02/22 12:43:47
Made with: Algodoo v2.2.3
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!