Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 27, 2017, 3:28:41 PM (6 years ago)
Author:
varxth
Message:

fireball with particle spawner

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/SOBv2_HS17/src/modules/superorxobros/SOBFigure.cc

    r11597 r11599  
    2323 *      Julien Kindle
    2424 *   Co-authors:
     25 *      Noah Zarro
     26 *      Theo von Arx
    2527 *     
    2628 *
     
    160162
    161163        else if (fireball != nullptr && !(fireball->hasCollided_)){
     164            if(PowerUpCounter_ == 0){
     165                    this->die();
     166                }
    162167            PowerUpCounter_--;
    163168            this->changeClothes();
     
    232237            particlespawner_ = object;
    233238        }
    234     }
     239
     240    }
     241   
    235242
    236243
     
    300307        else
    301308            particlespawner_->setVisible(false);
    302 
     309       
    303310
    304311        //If player hits space and collides against an object under him then jump
    305312        if (inputAllowed && firePressed_ && isColliding_ && (collDisZ_ >= 0 && collDisZ_ <+ 10)) {
    306             gravityAcceleration_ = 100.0;
    307             velocity.z = 110;
     313            gravityAcceleration_ = 350;
     314            velocity.z = 175;
    308315        }
    309316
Note: See TracChangeset for help on using the changeset viewer.