home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga MA Magazine 1998 #3
/
amigamamagazinepolishissue1998.iso
/
maksiu
/
utils
/
eaissue3b.lha
/
Source_Code
/
UN_Plotted_Stars.AMOS
/
UN_Plotted_Stars.amosSourceCode
Wrap
AMOS Source Code
|
1995-12-30
|
490b
|
35 lines
'
' stars that are ploted
'
' these stars work on a non
' double buffered screen and
' the screen is never cleared
'
'
'
'
Screen Open 0,320,256,16,Lowres
Curs Off : Flash Off : Hide : Cls 0
'
Dim W(50),D(50)
'
For A=1 To 50
W(A)=Rnd(320)
Next A
For B=1 To 50
D(B)=Rnd(245)+5
Next B
Paper 0
'
Repeat
For L=1 To 50
Plot W(L)-1,D(L),0
Plot W(L),D(L),2
Inc W(L)
If W(L)>320
W(L)=0
End If
Next
Locate 0,15 : Centre "Plotted Stars"
Locate 0,16 : Centre " By PIGLET "
Until Mouse Key