TGC Codebase Backup



Rainbow pixels by Anonymous Coder

23rd Nov 2006 17:00
Summary

As you drag your cursor and click, this will create pixels(dots) of all different colors.



Description



Code
                                    ` This code was downloaded from The Game Creators
                                    ` It is reproduced here with full permission
                                    ` http://www.thegamecreators.com
                                    
                                    REMSTART
----------------
 RAINBOW PIXELS
----------------
REMEND

`-----------
` MAIN LOOP
`-----------
DO

REM MAKE PIXELS
IF MOUSECLICK()=1
INK RGB(RND(255),RND(255),RND(255)),RGB(RND(255),RND(255),RND(255))
DOT MOUSEX(),MOUSEY()
ENDIF

REM END THE MAIN LOOP
LOOP