home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ultimate Game Collection
/
XULTI.ISO
/
396
/
stars.rpp
< prev
next >
Wrap
Text File
|
1996-12-08
|
2KB
|
200 lines
{ Stars by Keebler }
var x1 : number;
var x2 : number;
var x3 : number;
var x4 : number;
var x5 : number;
var x6 : number;
var x7 : number;
var x8 : number;
var x9 : number;
var x10: number;
var x11: number;
var x12: number;
var x13: number;
var x14: number;
var x15: number;
x1 :=20;
x2 :=300;
x3 :=100;
x4 :=160;
x5 :=240;
x6 :=10;
x7 :=310;
x8 :=150;
x9 :=80;
x10:=230;
x11:=30;
x12:=80;
x13:=160;
x14:=230;
x15:=310;
$Start
cls(0);
setcolor(1);
println("Starfield");
println("");
println("ESC to exit");
delay(2000);
cls(0);
$Loop {============== Main Loop ==================}
delay(20);
setcolor(0);
plot(x1 ,30);
plot(x2 ,100);
plot(x3 ,120);
plot(x4 ,170);
plot(x5 ,60);
plot(x6 ,35);
plot(x7 ,175);
plot(x8 ,115);
plot(x9 ,58);
plot(x10,96);
plot(x11,26);
plot(x12,55);
plot(x13,100);
plot(x14,140);
plot(x15,180);
x1 :=x1 +1;
x2 :=x2 +1;
x3 :=x3 +1;
x4 :=x4 +1;
x5 :=x5 +1;
x6 :=x6 +3;
x7 :=x7 +3;
x8 :=x8 +3;
x9 :=x9 +3;
x10:=x10+3;
x11:=x11+2;
x12:=x12+2;
x13:=x13+2;
x14:=x14+2;
x15:=x15+2;
if(x1>319)
x1:=x1-319;
endif;
if(x2>319)
x2:=x2-319;
endif;
if(x3>319)
x3:=x3-319;
endif;
if(x4>319)
x4:=x4-319;
endif;
if(x5>319)
x5:=x5-319;
endif;
if(x6>319)
x6:=x6-319;
endif;
if(x7>319)
x7:=x7-319;
endif;
if(x8>319)
x8:=x8-319;
endif;
if(x9>319)
x9:=x9-319;
endif;
if(x10>319)
x10:=x10-319;
endif;
if(x11>319)
x11:=x11-319;
endif;
if(x12>319)
x12:=x12-319;
endif;
if(x13>319)
x13:=x13-319;
endif;
if(x14>319)
x14:=x14-319;
endif;
if(x15>319)
x15:=x15-319;
endif;
setcolor(28);
plot(x1 ,30);
plot(x2 ,100);
plot(x3 ,120);
plot(x4 ,170);
plot(x5 ,60);
setcolor(18);
plot(x6 ,35);
plot(x7 ,175);
plot(x8 ,115);
plot(x9 ,58);
plot(x10,96);
setcolor(23);
plot(x11,26);
plot(x12,55);
plot(x13,100);
plot(x14,140);
plot(x15,180);
if (kbcode(1))
goto $End
endif;
goto $Loop
$End
setcolor(1);
end;