Курсовая работа: Игра "Vertolet"

if k>(yr*2) then k:=k-yr else begin k:=640;kk:=(460-random(355)) end;

if l>(yr*2) then l:=l-yr else begin l:=640;ll:=(460-random(355)) end;

if i>(yr*2) then i:=i-yr else begin i:=640;ii:=(460-random(355)) end;

if a<6 then a:=6 ;

if d<niz+1 then d:=niz+1 ;

if a>594 then a:=594 ;

if d>verx-1 then d:=verx-1 ;

if sd=true then begin sound(500); delay(100); nosound; end;

inc(schet);

if ((schet mod 200)=0) and (yr<20) then begin

setcolor(0);

line(25+yr*2,101,25+yr*2,480);

yr:=yr+1; end;

if (schet mod 500)=0 then begin

plus:=plus-35; pl:=70-plus; setcolor(12);

outtextxy(50,35, och);

setcolor(red);

str(pl,och); outtextxy(50,35, och);

end;

setlinestyle(0,0,1);

if (schet mod 10)=0 then begin

setcolor(12);

outtextxy(560,35, och1);

setcolor(red);

str(schet,och1);

outtextxy(560,35, och1); end;

if (schet>500) and (level=1) then

begin

ll:=350; l:=680;lev('Level 2','2');level:=2;end;

К-во Просмотров: 665
Бесплатно скачать Курсовая работа: Игра "Vertolet"