Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Share Objects (http://www.alice.org/community/forumdisplay.php?f=8)
-   -   Working clock object (http://www.alice.org/community/showthread.php?t=6878)

DensetsuNoKaboom 07-04-2011 06:53 PM

Working clock object
 
2 Attachment(s)
My take on the classic theme of making clocks that tell the real time-this time, in a2c format. It even includes a thumbnail for your gallery! :D

The two methods it contains are:
reset-It resets the clock to whatever the computer time is. Useful if it starts going off for some reason.
clocky-The main method that does all the telling of time, with rotating hands and all.

arty-fishL 07-08-2011 01:34 PM

This is actually quite useful. Thankyou.

DensetsuNoKaboom 07-08-2011 06:27 PM

You're welcome.

shaydon 07-08-2011 06:48 PM

[QUOTE=DensetsuNoKaboom;38683]You're welcome.[/QUOTE]

this deserves way more views! =) very nice

meeatpizza 07-08-2011 08:56 PM

nice

DBZRFL 10-26-2011 04:28 PM

working clock
 
I need a working alarm I have my world and alarm clock, as the second hand i'm using a katana.

I have it as follows katana roll left 1 rev Duration 60 seconds, Looped.

Hour hand set to to roll 1 rev Duration 43200 Seconds, Looped.

Minute hand Roll 1 rev Duration 3600 seconds,

I have everything do together looped

I'm not sure why I cannot get my time to sync with my computers clock

Need help asap thanks

GameKid 10-31-2011 12:04 AM

Very nice! This should prove useful as a splash-screen feature, or maybe an easter egg.
Oh, and DBZRFL, just vehicle the katana to the second hand and set the second hand's opacity to 0.

DensetsuNoKaboom 11-01-2011 06:13 AM

That's not his problem. His problem is that the computer's time and his Alice clock's time are out of sync.

GameKid 11-04-2011 02:16 PM

Oh, do excuse me, I thought he was using your clock object as a base.
Now I look like an idiot, don't I.

DensetsuNoKaboom 12-04-2011 01:08 PM

1 Attachment(s)
I fixed a mathematical error in my clock that made the hour hand not work correctly, as well as adding an event that makes the clock start working when the world starts.


All times are GMT -5. The time now is 10:52 AM.

Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.