diff options
author | chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> | 2014-04-01 03:37:53 +0000 |
---|---|---|
committer | chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> | 2014-04-01 03:37:53 +0000 |
commit | 4f8c05c5dac35b386fdfe09d2f3d086fcc2cbada (patch) | |
tree | c1d94d799967c2dc701a2faea5484af29deb186f | |
parent | 61046ec4750a84f4651a247456cc9271e4f57757 (diff) | |
download | bullet-lab-remix-4f8c05c5dac35b386fdfe09d2f3d086fcc2cbada.tar.xz |
New level and corrections...
-rwxr-xr-x | CHANGELOG.TXT | 2 | ||||
-rw-r--r-- | levels.h | 44 | ||||
-rw-r--r-- | main.cpp | 2 |
3 files changed, 45 insertions, 3 deletions
diff --git a/CHANGELOG.TXT b/CHANGELOG.TXT index d0d8133..3471abe 100755 --- a/CHANGELOG.TXT +++ b/CHANGELOG.TXT @@ -13,6 +13,8 @@ Bump version! New assessment level "density test"... New assessment level "pinball"... New assessment level "Road blocks"... +New assessment level "Extreme speeds"... +Level corrections. Improve density test. Add screen shot. Press S for a screen shot. Fix the upside down screen shot output. @@ -3789,7 +3789,7 @@ void Levelm2Part12() tbrk+=hge->Timer_GetDelta(); if(avacurbrk>avabrk) { - CreateBullet2(400,300,re.NextInt(1.5,3),re.NextDouble(-pi,pi)); + CreateBullet2(400,300,re.NextInt(1,2.5),re.NextDouble(-pi,pi)); avacurbrk=0; avabrk=0.05-0.03*assetime/120; if(avabrk<0.01)avabrk=0.01; @@ -3978,8 +3978,8 @@ void Levelm2Part20() tbrk-=hge->Timer_GetDelta(); if(tbrk<0) { - tbrk=1-0.25*(assetime/120.0f);if(tbrk<0.05)tbrk=0.05; - delx=re.NextDouble(300,600); + tbrk=2-1*(assetime/120.0f);if(tbrk<0.75)tbrk=0.75; + delx=re.NextDouble(350,700); resvpos=re.NextInt(0,49); for(int i=0;i<50;++i) { @@ -3988,3 +3988,41 @@ void Levelm2Part20() } } } +void Levelm2Part21() +{ + frameleft=Infinity;Dis8ref=true;tbrk=0; + DisableAllTower=false; + if (IfShowTip) + { + IfShowTip=false; + FadeTip=false; + Current_Position=2; + ShowTip("Test 11 - Extreme speeds"); + All2pnt(); + return; + } + ++frameskips; + if (frameskips<10&&!LOWFPS)return; + frameskips=0; + for (int i=1;i<=33;++i)CreateTower8(i*24-12,12,500,10,20,30); + for (int i=1;i<=towcnt;++i) + if (tower[i].RendColor==0x80FFFFFF) + tower[i].RendColor=0x00FFFFFF; + for (int i=1;i<=towcnt;++i) + if ((tower[i].RendColor>>24)<=0x80) + tower[i].RendColor=tower[i].RendColor+0x01FFFFFF; + else{++part;return;} +} +void Levelm2Part22() +{ + frameleft=Infinity; + tbrk-=hge->Timer_GetDelta(); + if (tbrk>0)return; + tbrk=3-2*(assetime/120.0f); + if(tbrk<0.5)tbrk=0.5; + for (int i=0;i<6;++i) + { + int p=CreateBullet2(playerpos.x+cos(i*pi/3.0f)*6,12+sin(i*pi/3.0f)*6,2,-pi/2); + bullet[p].alterColor=orange; + } +} @@ -543,6 +543,8 @@ void CallLevels() if (level==-2&&part==18)Levelm2Part18(); if (level==-2&&part==19)Levelm2Part19(); if (level==-2&&part==20)Levelm2Part20(); + if (level==-2&&part==21)Levelm2Part21(); + if (level==-2&&part==22)Levelm2Part22(); if (level==1&&part==5)level=2,part=0; if (level==2&&part==10) |