Quick & Easy Timer!
4 posts • Page 1 of 1
Quick & Easy Timer!
How to make a quick and easy timer. Works for Phun and Algodoo.
Steps:
Step 1) Make a box.
Step 2) Open up the "Script menu".
Step 3) Type the following code into the "text" section:
Step 4) Admire your perfect timer. Customise font/size/resolution as you wish.
How it Works:
The code takes the current time elapsed (sim.time) in the simulation and turns it into text for your box (+ ""). This means the timer is perfectly accurate from the moment you start on the simulation.
This method of timer is more accurate than onCollide timers and far simpler.
Thanks for reading.
Steps:
Step 1) Make a box.
Step 2) Open up the "Script menu".
Step 3) Type the following code into the "text" section:
- Code: Select all
{sim.time + ""}
Step 4) Admire your perfect timer. Customise font/size/resolution as you wish.
How it Works:
The code takes the current time elapsed (sim.time) in the simulation and turns it into text for your box (+ ""). This means the timer is perfectly accurate from the moment you start on the simulation.
This method of timer is more accurate than onCollide timers and far simpler.
Thanks for reading.
-
Dare - Posts: 833
- Joined: Sat Nov 21, 2009 4:27 pm
- Location: Sydney, Australia
Re: Quick & Easy Timer!
To me, this seems to be far too simple for a tutorial, but that's just me.
Who knows how many people this will help?
Who knows how many people this will help?
Matthias Wandel is epic, in my humble opinion.
I love my brain...
ARE YA HAPPY NOW?????
Thymechanic/Phundamentalist
Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.
ARE YA HAPPY NOW?????
Thymechanic/Phundamentalist
Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
-
Someone Else - Posts: 1147
- Joined: Sun Nov 21, 2010 10:53 pm
- Location: The Milky Way Galaxy
Re: Quick & Easy Timer!
Not anyone, really. Most people prefer timers you can actually pause, reset, that kind of stuff.
TheWinkits wrote:They both looks of cuking amazing
-
Chronos - [Most Active Member 2010]
- Posts: 4457
- Joined: Mon Aug 31, 2009 6:00 pm
- Location: Californania
Re: Quick & Easy Timer!
You have a point. Some Thyme could do that, though.
Matthias Wandel is epic, in my humble opinion.
I love my brain...
ARE YA HAPPY NOW?????
Thymechanic/Phundamentalist
Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.
ARE YA HAPPY NOW?????
Thymechanic/Phundamentalist
Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
-
Someone Else - Posts: 1147
- Joined: Sun Nov 21, 2010 10:53 pm
- Location: The Milky Way Galaxy
4 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests