Browse Search Popular Register Upload Rules User list Login:
Timers and events demo

screenshot of the scene

Author: Kilinich

Group: Default

Filesize: 1.94 kB

Date added: 2010-01-17

Rating: 6.7

Downloads: 627

Views: 855

Comments: 7

Ratings: 5

Times favored: 0

Made with: Phun


Scene tag

This is event handling toolkit demo (phun/algodoo).
Run sim and watch! In the beginning - there is no object on scene.

source on forum

To make another events by yourself just call (type in console or on collision) one of functions:

To make a timer:, {{action}}, repeat);
for example:, {{sim.running = false}}, true) will stop simulation every second.

To make an alarm:, {{action}});
for example:, {{ = [0,0]}}) will move focus to 0,0 at 10 second of sim.

To make custom event:, countdown, count, {{action}});
for example:, 1, 10, {{scene.addCircle({pos=[0,0]})}}) will spawn 10 circles one by one every 1 sec after 7 sec sim time.
Last edited at 2010/06/04 19:26:51 by Kilinich
Please log in to rate this scene
Similar scenes
Title: New Algicosathlon Event 4
Rating: 5
Filesize: 99.23 kB
Downloads: 446
Comments: 1
Ratings: 1
Date added: 2016/07/09 17:13:45
Made with: Algodoo v2.1.0
Rating: rated 5
Title: Algotriacontathlon Day 1 (YT Only)
Rating: 5
Filesize: 100.87 kB
Downloads: 485
Comments: 0
Ratings: 1
Date added: 2017/05/16 13:59:53
Made with: Algodoo v2.1.0
Rating: rated 5
Title: Algicosathlon Day 4 part 1
Rating: 5
Filesize: 36.88 kB
Downloads: 370
Comments: 0
Ratings: 1
Date added: 2016/12/29 17:31:33
Made with: Algodoo v2.1.0
Rating: rated 5
Title: Transflame 143 Smoke Alarm
Rating: 5
Filesize: 40.43 kB
Downloads: 265
Comments: 0
Ratings: 1
Date added: 2013/03/03 15:38:13
Made with: Algodoo v2.0.1
Rating: rated 5
Title: Events II Demo
Rating: 6.1111
Filesize: 7.69 kB
Downloads: 788
Comments: 1
Ratings: 3
Date added: 2010/10/18 10:21:55
Made with: Algodoo before v1.8.5
Rating: rated 6.1
Title: Rock Cheese Cup Bracket (rules in description!)
Rating: 5
Filesize: 204.96 kB
Downloads: 88
Comments: 5
Ratings: 1
Date added: 2016/02/20 13:02:31
Made with: Algodoo v2.1.0
Rating: rated 5
как всегда десяточку мастеру фана и алгуду)))
Да было бы за что - я не придумал пока как эти таймеры красиво показать;)
dette er som g p skole, det er kjedelig:|
ЗА ИДЕЮ!:tup:
You should use to center the screen at the start. That way you can see the circles spawning without having to adjust the camera. Just a nice touch ;)
Last edited at 2010/01/19 19:21:47 by Paradigm 29
:bonk: chinese