This commit is contained in:
parent
7a9eca2cca
commit
76842932e1
2 changed files with 4 additions and 2 deletions
|
@ -376,7 +376,7 @@ void CPlayerModeJellyLauncher::launchProjectile()
|
||||||
// Powered up, big shot
|
// Powered up, big shot
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
fireHeading=1024+(1024*playerFacing)-256;
|
fireHeading=1024+(1024*playerFacing)-POWER_UP_SHOT_ANGLE;
|
||||||
for(i=0;i<3;i++)
|
for(i=0;i<3;i++)
|
||||||
{
|
{
|
||||||
projectile=CPlayerProjectile::Create();
|
projectile=CPlayerProjectile::Create();
|
||||||
|
@ -387,7 +387,7 @@ void CPlayerModeJellyLauncher::launchProjectile()
|
||||||
(2*GameState::getOneSecondInFrames()));
|
(2*GameState::getOneSecondInFrames()));
|
||||||
|
|
||||||
projectile->setRGB( 255 + ( 128 << 8 ) + ( 255 << 16 ) );
|
projectile->setRGB( 255 + ( 128 << 8 ) + ( 255 << 16 ) );
|
||||||
fireHeading+=256;
|
fireHeading+=POWER_UP_SHOT_ANGLE;
|
||||||
m_player->useOneJelly();
|
m_player->useOneJelly();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,6 +51,8 @@ private:
|
||||||
TIMEOUT_FOR_BIG_SHOT=60*4,
|
TIMEOUT_FOR_BIG_SHOT=60*4,
|
||||||
AMMO_AMOUNT_FOR_BIG_SHOT=3,
|
AMMO_AMOUNT_FOR_BIG_SHOT=3,
|
||||||
|
|
||||||
|
POWER_UP_SHOT_ANGLE=128,
|
||||||
|
|
||||||
// Gun in the UI flashes when powered up..
|
// Gun in the UI flashes when powered up..
|
||||||
FLASHSPEED=25,
|
FLASHSPEED=25,
|
||||||
FLASHSCALE=75,
|
FLASHSCALE=75,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue