Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / 2D analog clock in 5 lines

Author
Message
Antidote
19
Years of Service
User Offline
Joined: 18th Mar 2005
Location: San Francisco, CA
Posted: 24th Nov 2005 15:48
Simple clock. Moves around the screen and setup so that mouse movement of keystrokes cause it to exit out. I made it with the intention of having a screen saver and then I compressed it to 5. Probably could compress it more. Anyway here it is





AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 24th Nov 2005 16:57
it shows the clock for 1 second then colses?
Antidote
19
Years of Service
User Offline
Joined: 18th Mar 2005
Location: San Francisco, CA
Posted: 24th Nov 2005 17:08
Don't move the mouse or touch the keyboard. It automatically closes since it was designed as a screen saver



Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 26th Nov 2005 15:06
Same problem here.

And I didn't strike any key or clicked with the mouse. I didn't touch anything that has to do with my pc.

Immunity and Annihalation makes Immunihalation...
Antidote
19
Years of Service
User Offline
Joined: 18th Mar 2005
Location: San Francisco, CA
Posted: 26th Nov 2005 15:41
OK. For some reason that's happening so I'm posting the non 20 line code without the mouse or keyboard stroke end thing.





Xenocythe
18
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 27th Nov 2005 01:18
Wow, that's nice, just make it no 19:45 stuff, just 7:45.

Really, great stuff!
Mulderman
20
Years of Service
User Offline
Joined: 8th Jan 2004
Location: C:\\
Posted: 30th Nov 2005 08:49
BUG? Lines (white and red) never move, just in same place always.
Other stuff works OK.

uSER
Antidote
19
Years of Service
User Offline
Joined: 18th Mar 2005
Location: San Francisco, CA
Posted: 30th Nov 2005 15:33
Odd. Everything works fine for me. Other people have said the same thing. Keep in mind this is in DBP so if your using DBC there might be something causing the weird bugs.



Mulderman
20
Years of Service
User Offline
Joined: 8th Jan 2004
Location: C:\\
Posted: 30th Nov 2005 20:30
Im using DB Pro. First snippet just runs for 1 sec with just blank screen and second works OK, only lines show 1.03 PM/AM always.

uSER
Diablos
18
Years of Service
User Offline
Joined: 15th Oct 2005
Location: meh?
Posted: 17th Jan 2006 14:00
first code only runs about 5 seconds for me, then shuts down.

second code works great

nice code.
Spunky sk8er
18
Years of Service
User Offline
Joined: 22nd Feb 2006
Location: Ehm.... no
Posted: 24th Feb 2006 23:21
i edited it for it to work better in classic, take out all the word thingies at top and add sync on to top of loop and sync at bottom of loop it will blink but it bounces around and stuff

Login to post a reply

Server time is: 2024-03-29 10:59:52
Your offset time is: 2024-03-29 10:59:52