TGC Codebase Backup



The Matrix Effect by Kawakami

20th Aug 2006 11:39
Summary

An easy-to-make matrix-like effect



Description

I made this code a long time ago, so that it why it doesn't look as cool. I will work on it a little more and make it outstanding. But anyway, this is a matrix effect. It is easy to work into your coding, at any place. It will print the numbers for 100 times, then clear the screen. If you don't want it to do that, then you can change that. Also, it is set so that if you press the space bar, it will clear the screen. Af you don't like that either, you can delete it. Anyhow, enjoy, and don't steal my work.



Code
                                    ` This code was downloaded from The Game Creators
                                    ` It is reproduced here with full permission
                                    ` http://www.thegamecreators.com
                                    
                                    'please leave this line in here. Made by Kawakami. I don't require a credits slot or
'anything. Just that you keep this in here

randomize 100
do
inc clear#, 1
x#=rnd(640)
y#=rnd(480)
ink rgb(0,255,0),0
Text x#,y#, "0"
Text x#,y#+15, "1"
Text x#,y#+30, "0"
Text x#,y#+45, "1"
Text x#,y#+60, "0"
Text x#,y#+75, "1"
Text x#,y#+90, "0"
Text x#,y#+105, "1"
If clear#=100 then cls rgb(0,0,0)
If SPACEKEY()=1 then cls
loop