Das funktioniert genau 1x. Dann ist aus !
Gilt das jetzt oder nicht ??
Code: Alles auswählen
b=9601 
Dim A(b) 
For i=0 To b 
  A(i)=Random(222)+33 
Next 
InitSprite() 
OpenScreen(800,600,8,"") 
While GetKeyState_(27)&$80=0 
  StartDrawing(ScreenOutput()) 
  i=b/2 
  While i 
    j=i*2 
    x=j+1 
    DrawText(i%80*10,i/8,Chr(A(j)),A(x)<<8,0) 
    a=Random(255) 
    If i>79 
      If a&1 
        A(x)=A(j-79) 
      EndIf 
    Else 
      A(x)=a 
    EndIf 
    i-1 
  Wend 
  StopDrawing() 
  FlipBuffers() 
Wend 
Code: Alles auswählen
b=9601 
Dim A(InitSprite()) 
For i=0 To b 
  A(i)=Random(222)+33 
Next 
OpenScreen(800,600,8,"") 
While GetKeyState_(27)>>1=0 
  StartDrawing(ScreenOutput()) 
  i=b/2 
  While i 
    j=i*2 
    x=j+1 
    DrawText(i%80*10,i/8,Chr(A(j)),A(x)<<8,0) 
    a=Random(255) 
    If i>79 
      If a&1 
        A(x)=A(j-79) 
      EndIf 
    Else 
      A(x)=a 
    EndIf 
    i-1 
  Wend 
  StopDrawing() 
  FlipBuffers() 
Wend 
Code: Alles auswählen
Dim A(InitSprite())    
For i=0 To 9601 
  A(i)=Random(222)+33 
Next
 
OpenScreen(800,600,8,"") 
While GetKeyState_(27)>>1=0 
  StartDrawing(ScreenOutput()) 
  i=4800 
  While i 
    j=i*2 
    x=j+1 
    DrawText(i%80*10,i/8,Chr(A(j)),A(x)<<8,0) 
    a=Random(255) 
    If i>79 
      If a&4 
        A(x)=A(j-79) 
      EndIf 
    Else 
      A(x)=a 
    EndIf 
    i-1 
  Wend 
  StopDrawing() 
  FlipBuffers() 
Wend 
Code: Alles auswählen
Dim A(InitSprite())   
OpenScreen(800,600,8,"")
While GetKeyState_(27)>>1=0
  StartDrawing(ScreenOutput())
  i=4800
  While i
    j=i*2
    x=j+1
    DrawText(i%80*10,i/8,Chr(A(j)),A(x)<<8,0)
    a=Random(255)
    If b<9602
      A(b)=Random(222)+33 
      b+1
    ElseIf i>79
      If a&4
        A(x)=A(j-79)
      EndIf
    Else
      A(x)=a
    EndIf
    i-1
  Wend
  StopDrawing()
  FlipBuffers()
Wend
Code: Alles auswählen
Dim A(InitSprite())    
OpenScreen(800,600,8,"") 
While GetKeyState_(27)>>1=0 
  StartDrawing(ScreenOutput()) 
  i=4800 
  While i 
    j=i*2 
    x=j+1 
    DrawText(i%80*10,i/8,Chr(A(j)),A(x)<<8,0) 
    a=Random(255) 
    If b<j 
      A(b)=Random(222)+33 
      b+1 
    ElseIf i>79 
      If a&4 
        A(x)=A(j-79) 
      EndIf 
    Else 
      A(x)=a 
    EndIf 
    i-1 
  Wend 
  StopDrawing() 
  FlipBuffers() 
Wend 
Code: Alles auswählen
; 283
Dim A(InitSprite())   
OpenScreen(800,600,8,"")
While GetKeyState_(27)>>1=0
  StartDrawing(ScreenOutput())
  i=4800
  While i
    j=i*2
    x=j+1
    DrawText(i%80*10,i/8,Chr(A(j)),A(x)<<8,0)
    a=Random(255)
    If b<j
      A(b)=a%222+33
      b+1
    ElseIf i>79
      If a&4
        A(x)=A(j-79)
      EndIf
    Else
      A(x)=a
    EndIf
    i-1
  Wend
  StopDrawing()
  FlipBuffers()
Wend Code: Alles auswählen
Dim A(InitSprite())    
OpenScreen(800,600,8,"") 
While GetKeyState_(27)>>1=0 
  StartDrawing(ScreenOutput()) 
  i=4800 
  While i 
    j=i*2 
    x=j+1 
    DrawText(i%80*10,i/8,Chr(A(j)),A(x)<<8,0) 
    a=Random(255) 
    If b<j 
      A(b)=a<<4 
      b+1 
    ElseIf i>79 
      If a&4 
        A(x)=A(j-79) 
      EndIf 
    Else 
      A(x)=a 
    EndIf 
    i-1 
  Wend 
  StopDrawing() 
  FlipBuffers() 
Wend