Browse Search Popular Register Upload Rules User list Login:
Search:
Basic timers for scripts made with motors and collisions.

Image:
screenshot of the scene

Author: JustBurn

Group: Default

Filesize: 28.94 kB

Date added: 2009-06-07

Rating: 5

Downloads: 575

Views: 838

Comments: 0

Ratings: 1

Times favored: 0

Made with: Phun

Tags:

Scene tag

This contain 3 timers blocks made out of motors and collisions.

Configure the hinge RPM with 60.0 dividing by the number of seconds. e.g. 30.0 RPM should give a period of 2 by 2 seconds.

Timer 0 Action:
Scene.my.t0a = { (action to take here) };

Timer 1 Action:
Scene.my.t1a = { (action to take here) };

Timer 2 Action:
Scene.my.t2a = { (action to take here) };

"Scene.my.t0s", "Scene.my.t1s" and "Scene.my.t2s" hold the states of the timers to prevent multiple triggers, initialize them to "false" if your creating a new scene.

Enjoy it and hope it's useful for your Phun project.:)
Last edited at 2009/06/08 03:42:20 by JustBurn
Please log in to rate this scene
edit
Similar scenes
Title: Phun Motors P60 Front interior
Rating: 5
Filesize: 359.23 kB
Downloads: 1266
Comments: 2
Ratings: 1
Date added: 2011/10/01 06:46:44
Made with: Phun
Rating: rated 5
download
Title: Physics HSch 0204 Collisions in 1d
Rating: 5
Filesize: 55.4 kB
Downloads: 249
Comments: 0
Ratings: 1
Date added: 2015/08/23 12:46:02
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Magnetic Engines Display
Rating: 5.8889
Filesize: 38.6 kB
Downloads: 748
Comments: 1
Ratings: 3
Date added: 2009/03/28 20:33:45
Made with: Phun
Rating: rated 5.9
download
Title: Basic Collisions
Rating: 5
Filesize: 8.01 kB
Downloads: 2371
Comments: 0
Ratings: 1
Date added: 2014/02/04 16:17:26
Made with: Algodoo v2.1.3
Rating: rated 5
download
Title: Weird Motor
Rating: 6.2
Filesize: 84.87 kB
Downloads: 377
Comments: 9
Ratings: 5
Date added: 2008/10/22 01:09:58
Made with: Phun
Rating: rated 6.2
download
Title: Noscript machine
Rating: 5
Filesize: 18.99 kB
Downloads: 634
Comments: 0
Ratings: 1
Date added: 2019/08/16 13:01:21
Made with: Algodoo v2.1.0
Rating: rated 5
download