Alice Community  

Go Back   Alice Community > Alice 2 > Share Worlds

Reply
 
Thread Tools Display Modes
Old
arty-fishL
Senior Member
 
arty-fishL's Avatar
 
Status: Offline
Posts: 1,878
Join Date: Mar 2008
Location: In the corner of your eye
Default 11-17-2012, 05:19 PM

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.
Attached Files
File Type: a2w Christmass.a2w (286.9 KB, 8 views)


█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█
█░░▓░░░░░░░▓░░░░░░░░░░░▓▓░░▓░░░░░░▓░░░▓░░░░█
█░▓░▓░▓▓▓░▓▓▓░▓░▓░░░░░░▓▒▒░░▒░░▓▓░▓▓▓░▓▒░░░█
█░▓▓▓▒▓▒▒▒░▓▒▒▓▓▓▒▓▓▓░▓▓▓░░▓░░░▓▒▒▓▒▓▒▓▒░░░█
█░▓▒▓▒▓▒░░░▓▓░░▒▓▒░▒▒▒░▓▒▒░▓▓░▓▓▒░▓▒▓▒▓▒░░░█
█░▓▒▓▒░▒░░░░▒▒▓▓▓▒░░░░▓▓▒░░░▒▒░▒▒░░▒░▒▓▓▓░░█
█░░▒░▒░░░░░░░░░▒▒▒░░░░░▒▒░░░░░░░░░░░░░░▒▒▒░█
█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░█

I have mostly moved on from Alice, but may still respond to messages if important [-]
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 11-28-2012, 12:52 PM

Quote:
Originally Posted by arty-fishL View Post
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.
Very cool, looks like this is the new official count down.


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
nickster654
Senior Member
 
Status: Offline
Posts: 180
Join Date: Feb 2011
Location: nickster12345678@gmail.com
Default 12-23-2013, 03:58 PM

is it too late to bump this?
   
Reply With Quote
Old
wega77
Junior Member
 
Status: Offline
Posts: 1
Join Date: Dec 2013
Default 12-24-2013, 09:57 AM

Great idea.
  Send a message via Yahoo to wega77  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



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