Make a mATRIX by Anonymous Coder7th Jul 2007 13:15
|
---|
Summary THIS CODE MAKES A SIMPLE MATRIX YOU CAN WALK ON. NO MEDIA NECESARY! Description THIS CODE MAKES A MATRIX YOU CAN WALK ON AND YOU DON'T NEED MEDIA! Code ` This code was downloaded from The Game Creators ` It is reproduced here with full permission ` http://www.thegamecreators.com rem made by mike `7/7/07 REM COPY FOLLOWING CODE IN ARROWS !IF YOU DOWNLOADED THE MEDIA BUT ERASE REM REM load image "dark01.bmp",1 REM prepare matrix texture 1,1,2,1 sync on sync rate 30 print "this makes a simple matrix" print "use left/right arrow keys to look aronnd" print "use up/down key to move" print "press space to start and mouseclick to leave" make matrix 1,4000,4000,30,30 randomize matrix 1,2 REM \|/ PLACE IMAGE CODE HERE\|/ REM /|\ PLACE IMAGE CODE HERE/|\ fog on fog distance 2000 fog color rgb(104,129,155) REM MAIN LOOP DO REM MAIN LOOP caY# = camera angle Y() if leftkey()=1 then Yrotate camera wrapvalue(caY#-5) if rightkey()=1 then Yrotate camera wrapvalue(caY#+5) if upkey()=1 then move camera 10 if downkey()=1 then move camera -10 sync loop |