- Timestamp:
- Nov 27, 2017, 3:28:41 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/SOBv2_HS17/src/modules/superorxobros/SOBFigure.cc
r11597 r11599 23 23 * Julien Kindle 24 24 * Co-authors: 25 * Noah Zarro 26 * Theo von Arx 25 27 * 26 28 * … … 160 162 161 163 else if (fireball != nullptr && !(fireball->hasCollided_)){ 164 if(PowerUpCounter_ == 0){ 165 this->die(); 166 } 162 167 PowerUpCounter_--; 163 168 this->changeClothes(); … … 232 237 particlespawner_ = object; 233 238 } 234 } 239 240 } 241 235 242 236 243 … … 300 307 else 301 308 particlespawner_->setVisible(false); 302 309 303 310 304 311 //If player hits space and collides against an object under him then jump 305 312 if (inputAllowed && firePressed_ && isColliding_ && (collDisZ_ >= 0 && collDisZ_ <+ 10)) { 306 gravityAcceleration_ = 100.0;307 velocity.z = 1 10;313 gravityAcceleration_ = 350; 314 velocity.z = 175; 308 315 } 309 316
Note: See TracChangeset
for help on using the changeset viewer.