![]() |
Countdown till christmass
2 Attachment(s)
yea got bored, made it, dont expect much else, if somethings wrong, tell me and ill fix it
(Thanks to Arty for the improved version) |
Wow, this is amazing.
|
[QUOTE=jediaction;44270]Wow, this is amazing.[/QUOTE]
Lol really? i didnt think too much of it |
This is pretty nice.
Do think much of it. |
It's an actualy count down, thats why it's amazing.
|
Only 18 days!
I see you spelt Christmas with two [I]s[/I] letters on the end in the title and attachment name, but not on the text in the world. |
Thats amazing. Great idea. Does it take the time from your computer? or from the downloaders?
|
[QUOTE=dakota95;44305]Thats amazing. Great idea. Does it take the time from your computer? or from the downloaders?[/QUOTE]
lol thanks and from your computer |
how does it do that, is it hacks?
|
[IMG]http://i44.tinypic.com/1g2hkj.png[/IMG]
It's under world's functions. |
[QUOTE=GameKid;44316][IMG]http://i44.tinypic.com/1g2hkj.png[/IMG]
It's under world's functions.[/QUOTE] lol exactly thats why i dont think its amazing because it gives you the time already |
Well. Still. You have to admit, it's still quite nice. You should make another one for new year's!
|
I love it!
|
Hmm, it's been a whole year, wonder if this still works...
|
[QUOTE=nickster654;51491]Hmm, it's been a whole year, wonder if this still works...[/QUOTE]
No, it doesn't :(. It claims there are only 18 days to go, which would take it up to November 25. I don't think you've factored months into this. |
[QUOTE=arty-fishL;51504]No, it doesn't :(. It claims there are only 18 days to go, which would take it up to November 25. I don't think you've factored months into this.[/QUOTE]
yeahh i think it only works for chritmass of 2011, and i cant really fix it because ever since i started java, i've forgotten everything about alice ): |
[QUOTE=nickster654;51546]yeahh i think it only works for chritmass of 2011, and i cant really fix it because ever since i started java, i've forgotten everything about alice ):[/QUOTE]It works for the 25th of every month.
Awesome, you started Java, you should check out mine and drellem's ArtyOnline project - its networked multiplayer for Alice - written in Java. It's not quite finished, because I'm doing a tonne of web based stuff for it right now, but it'll be interesting to see what people make with it when it is done. |
[QUOTE=arty-fishL;51548]It works for the 25th of every month.
Awesome, you started Java, you should check out mine and drellem's ArtyOnline project - its networked multiplayer for Alice - written in Java. It's not quite finished, because I'm doing a tonne of web based stuff for it right now, but it'll be interesting to see what people make with it when it is done.[/QUOTE] so far, all i know in java is how to make spirals and stick figure using turtle.java, what you're doing is a different language probably to me |
[QUOTE=nickster654;51562]so far, all i know in java is how to make spirals and stick figure using turtle.java, what you're doing is a different language probably to me[/QUOTE]I've never heard of turtle.java, so yeh - probably completely different. I kind of jumped right in at the deep end, its really easy
to code Java after working with Jython and reading Java for so long. |
You can make countdown work for any time of the year if you change first line of instructions.
change from: [B]world.days set value to (25-day of month) duration=0 seconds[/B] change to: [B]world.days set value to [I][U](359[/U][/I]-[I][U]day of year[/U][/I]) duration=0 seconds[/B] (If you do 365 it includes the 6 days after Christmas, so it won't calculate correctly.) As long as you view the countdown between Jan 1 and Dec 25 it should work out great! |
1 Attachment(s)
I decided to fix it.
It now accounts (and should work) for: - months - leap years - viewing it on the 6 days after christmas I also compared it to some online countdowns I found and realised a fundamental mistake; when you are already into the last day, hour or minute, there are 0 of them left, not 1. This doesn't apply to seconds, because milliseconds aren't displayed. I also rearranged some of the code, so that it is more efficient. |
[QUOTE=arty-fishL;51599]I decided to fix it.
It now accounts (and should work) for: - months - leap years - viewing it on the 6 days after christmas I also compared it to some online countdowns I found and realised a fundamental mistake; when you are already into the last day, hour or minute, there are 0 of them left, not 1. This doesn't apply to seconds, because milliseconds aren't displayed. I also rearranged some of the code, so that it is more efficient.[/QUOTE] Very cool, looks like this is the new official count down. |
is it too late to bump this?
|
Great idea.
|
All times are GMT -5. The time now is 11:26 AM. |
Copyright ©2021, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.