Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 9, 2013, 2:08:26 PM (11 years ago)
Author:
zifloria
Message:

tweaking + still trying to figure out explosions

Location:
code/branches/invaders/src/modules/invader
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/invaders/src/modules/invader/Invader.cc

    r9874 r9879  
    6969        bEndGame = false;
    7070        lives = 3;
    71         // TODO:
    7271        level = 1;
    7372        point = 0;
     
    114113            return;
    115114        srand(player->getPosition().x + player->getPosition().y);
    116         for (int i = 0; i < (3*log(level) + 1); i++)
     115        for (int i = 0; i < (3*log10(level) + 1); i++)
    117116        {
    118117            WeakPtr<InvaderEnemy> newPawn;
  • code/branches/invaders/src/modules/invader/InvaderWeaponEnemy.cc

    r9874 r9879  
    4848        // SUPER(InvaderWeaponEnemy, shot);
    4949        // only shoot in foreward direction
    50         projectile->setVelocity(Vector3(1, 0, 0) * -500);
     50        projectile->setVelocity(Vector3(1, 0, 0) * 300);
    5151        // projectile->setOrientation(Quaternion(sqrt(0.5),0,sqrt(0.5),0));
    5252    }
Note: See TracChangeset for help on using the changeset viewer.