Browse Search Popular Register Upload Rules User list Login:
Search:
Key_up / Key_Down events phunlet

Image:
screenshot of the scene

Author: Kilinich

Group: Phunlets

Filesize: 42.61 kB

Date added: 2011-01-18

Rating: 6.1

Downloads: 859

Views: 1122

Comments: 4

Ratings: 3

Times favored: 0

Made with: Algodoo v2.0.2 Edu

Tags:

Scene tag

Sometimes I need to execute script not only on key press (once) but on key release too. That phunlet should do the trick.

Look at box's onCollide event. It's not for collision handling, it called by lasers with "e=true" on key press and "e=false" on key release. So you can replace code (it only print info in console atm), reassign key (current is enter) for red laser and use it as you want. :y
Last edited at 2012/01/05 13:06:48 by Kilinich
Please log in to rate this scene
edit
Similar scenes
Title: Sim-time events system (phunlet)
Rating: 5
Filesize: 6.3 kB
Downloads: 563
Comments: 0
Ratings: 1
Date added: 2010/10/18 10:43:36
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: Algotriagicosathlon Event 1
Rating: 5
Filesize: 55.36 kB
Downloads: 1931
Comments: 20
Ratings: 1
Date added: 2015/01/18 23:14:35
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Obstacle Survival Courses 1 & 2 (Marble Party S1)
Rating: 5
Filesize: 58.77 kB
Downloads: 1126
Comments: 0
Ratings: 1
Date added: 2020/06/22 09:12:49
Made with: Algodoo v2.1.3
Rating: rated 5
download
Title: Suspension Tire Phunlet
Rating: 5.625
Filesize: 10.96 kB
Downloads: 717
Comments: 1
Ratings: 2
Date added: 2009/06/29 19:36:05
Made with: Phun
Rating: rated 5.6
download
Title: Algodoo Tournament Season 3 Episode 1: Race to the Bowl
Rating: 5
Filesize: 301.84 kB
Downloads: 941
Comments: 0
Ratings: 1
Date added: 2019/07/25 18:19:27
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Classic Algicosathlon Day 1 - Race to the Bowl
Rating: 5
Filesize: 74.54 kB
Downloads: 873
Comments: 5
Ratings: 1
Date added: 2026/02/04 23:16:51
Made with: Algodoo v2.2.4
Rating: rated 5
download
Thanks for sharing, Kilinich!

This may come in very handy...

What awesome project are you going to make with it?:P
Last edited at 2011/01/18 22:26:25 by TC42
2TC42: I'm keep working on "bomber" game. I'll add new cool interface and few enemies/weapons.
I can't wait!:)
Last edited at 2011/01/19 23:04:52 by TC42
that will be amasing