Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Matrix
#11
Here... I ran this through the Sooper Dooper Code Scrambler, and this is what popped out! :lol:

Code:
Randomize Timer
ScreenRes 640,480,32,,1
NumberOfLetters = 50

Dim letters(NumberOfLetters, 3) '0 is xpos, 1 is ypos, 2 speed, 3 is character

For i = 1 To NumberOfLetters
    letters(i, 0) = Int(Rnd * 79) + 1
    letters(i, 1) = Int(Rnd * 10) + 1
    letters(i, 2) = Rnd * 1.5 + .1
    If Int(Rnd * 2) = 0 Then
        letters(i, 3) = 48 'ascii character number
    Else
        letters(i, 3) = 49
    End If
Next

Dim OldTime As Single
Dim Ink As String*1
Dim As Integer i2, newY


Do
    Ink = Inkey$
    For i = 1 To NumberOfLetters
        letters(i, 1) = letters(i, 1) + letters(i, 2)
        
        For i2 = 6 To 0 Step -1
            newY = Letters(i,1)+i2
            If newY>0 and newY< 60 Then
                Color RGB(0,64+i2*24,0)
                Locate newY, letters(i, 0)
                Print Chr$(letters(i, 3))
            End If
        Next
                
        
        If letters(i, 1) > 59 Then
                letters(i, 1) = Int(Rnd * 79) + 1
                letters(i, 1) = 1
                letters(i, 2) = Rnd * .9 + .1
                If Int(Rnd * 2) = 0 Then
                    letters(i, 3) = 48
                Else
                    letters(i, 3) = 49
                End If
        End If
    Next
    
    Oldtime = Timer +.1
    Do
    Loop Until Timer > OldTime
Loop While Ink<>Chr$(27)
Reply


Messages In This Thread
Matrix - by Manwë Sulimo - 09-15-2006, 09:36 PM
Matrix - by Manwë Sulimo - 09-17-2006, 02:43 AM
Matrix - by Dr_Davenstein - 09-17-2006, 03:30 AM
Matrix - by Manwë Sulimo - 09-18-2006, 07:12 PM
Matrix - by Kylemc - 09-18-2006, 11:26 PM
Matrix - by Dr_Davenstein - 09-19-2006, 03:07 AM
Matrix - by Manwë Sulimo - 09-23-2006, 06:17 PM
Matrix - by Dr_Davenstein - 09-24-2006, 02:48 AM
Matrix - by Nixon - 09-24-2006, 07:09 PM
Matrix - by Manwë Sulimo - 09-24-2006, 11:59 PM
Matrix - by Dr_Davenstein - 09-25-2006, 12:34 AM
Matrix - by zoasterboy - 09-26-2006, 06:05 AM
Matrix - by Ralph - 09-28-2006, 01:37 PM
Matrix - by Manwë Sulimo - 09-28-2006, 08:07 PM
Matrix - by Ralph - 09-29-2006, 04:51 PM
Matrix - by Manwë Sulimo - 09-29-2006, 06:26 PM
Matrix - by Skyler - 10-02-2006, 03:23 AM
Matrix - by Manwë Sulimo - 10-02-2006, 06:07 PM
Matrix - by Skyler - 10-02-2006, 06:30 PM
Matrix - by Manwë Sulimo - 10-02-2006, 10:42 PM
Matrix - by Skyler - 10-03-2006, 12:38 AM
Matrix - by Ralph - 10-03-2006, 03:18 AM
Matrix - by Nixon - 10-03-2006, 05:18 PM
Matrix - by Manwë Sulimo - 10-03-2006, 07:23 PM
Matrix - by Nixon - 10-04-2006, 05:43 AM
Matrix - by Dr_Davenstein - 10-04-2006, 06:13 AM
Matrix - by Manwë Sulimo - 10-04-2006, 11:08 AM
Matrix - by Nixon - 10-04-2006, 03:18 PM
Matrix - by Skyler - 10-05-2006, 09:11 PM
Matrix - by Dr_Davenstein - 10-06-2006, 04:03 AM
Matrix - by Dr_Davenstein - 10-08-2006, 05:48 AM
Matrix - by Ralph - 10-08-2006, 07:34 AM
Matrix - by Dr_Davenstein - 10-08-2006, 07:53 AM
Matrix - by Ralph - 10-08-2006, 08:37 AM
Matrix - by Dr_Davenstein - 10-08-2006, 08:46 AM
Matrix - by Ralph - 10-08-2006, 08:55 AM
Matrix - by Dr_Davenstein - 10-08-2006, 09:07 AM
Matrix - by Ralph - 10-08-2006, 09:37 AM
Matrix - by Dr_Davenstein - 10-08-2006, 09:43 AM
Matrix - by Ralph - 10-08-2006, 09:48 AM
Matrix - by Dr_Davenstein - 10-08-2006, 09:53 AM
Matrix - by Ralph - 10-08-2006, 03:25 PM
Matrix - by Manwë Sulimo - 10-10-2006, 12:36 AM
Matrix - by Dr_Davenstein - 10-10-2006, 04:05 AM
Matrix - by Skyler - 10-12-2006, 08:24 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)