12-01-2005, 09:14 PM
Here is my offering for Christmas. You will need to switch of any Screen Saver if you intend to place a monitor running it in a window all over Christmas, or devise a simulated Ctrl key press. I could not get it to compile with FB as it does not like my silent SOUND delay, or persuade it to display full screen.
Gordon
Gordon
Code:
DEFSNG A-Z
REM Neon Lights
SCREEN 13
P = 65536 * 0 + 256 * 10 + 0: PALETTE 0, P: b = b + 1
P = 65536 * 0 + 256 * 12 + 0: PALETTE 2, P: b = b + 1
REM near invisible color 2
COLOR 2: LOCATE 1, 1
PRINT " MERRY CHRISTMAS TO ALL "
MORE:
xp% = 10: yp% = 60: a% = 0: b% = 210
WHILE a% < 212: REM change b%, and a% limit for a text change
FOR x% = a% TO b%
FOR y% = 0 TO 6
IF POINT(x%, y%) <> 0 THEN COLOR 12 ELSE COLOR 0
CIRCLE (xp%, yp%), 5: PAINT (xp% + 1, yp%)
yp% = yp% + 10
NEXT y%
xp% = xp% + 10: yp% = 60
NEXT x%
SOUND 30000,4 : REM silent delay
a% = a% + 1: b% = b% + 1: xp% = 10: yp% = 60
COLOR 7: LOCATE 23, 17: PRINT TIME$
IF INKEY$ <> "" THEN STOP
WEND: GOTO MORE