Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Share Worlds (http://www.alice.org/community/forumdisplay.php?f=6)
-   -   Countdown till christmass (http://www.alice.org/community/showthread.php?t=7746)

nickster654 12-08-2011 11:30 AM

[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

GameKid 12-08-2011 02:08 PM

Well. Still. You have to admit, it's still quite nice. You should make another one for new year's!

David B 12-08-2011 04:18 PM

I love it!

nickster654 11-06-2012 05:55 PM

Hmm, it's been a whole year, wonder if this still works...

arty-fishL 11-07-2012 03:51 PM

[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.

nickster654 11-12-2012 12:15 PM

[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 ):

arty-fishL 11-12-2012 03:40 PM

[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.

nickster654 11-13-2012 08:32 PM

[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

arty-fishL 11-14-2012 01:45 PM

[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.

mcelroy32400 11-14-2012 09:42 PM

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!


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

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