Changeset 11597 for code/branches/SOBv2_HS17
- Timestamp:
- Nov 27, 2017, 2:21:11 PM (7 years ago)
- Location:
- code/branches/SOBv2_HS17
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/SOBv2_HS17/data/levels/SOB.oxw
r11573 r11597 64 64 </Template> 65 65 66 <!--Test Fireball-->67 68 66 69 67 <Template name=fireball> 70 <SOBFireball collisionType="dynamic" speed= 80>68 <SOBFireball collisionType="dynamic" speed=90> 71 69 <attached> 72 70 <Model mesh="planets/sol.mesh" position="0,0,0" scale=3 pitch=90/> … … 74 72 </attached> 75 73 <collisionShapes> 76 <SphereCollisionShape position="0,0,0" halfExtents="5,5,5" />74 <SphereCollisionShape position="0,0,0" radius="3" /> 77 75 </collisionShapes> 78 76 </SOBFireball> -
code/branches/SOBv2_HS17/src/modules/superorxobros/SOBFigure.cc
r11592 r11597 160 160 161 161 else if (fireball != nullptr && !(fireball->hasCollided_)){ 162 //this-> die(); 162 PowerUpCounter_--; 163 this->changeClothes(); 163 164 } 164 165 -
code/branches/SOBv2_HS17/src/modules/superorxobros/SOBFireball.cc
r11577 r11597 165 165 velocity.x = dir*speed_; 166 166 velocity.y = 0; 167 if(hitCounter_ >= 3) velocity.y = 50;167 if(hitCounter_ >= 3) velocity.y = 0.1*speed_; 168 168 setVelocity(velocity); 169 169 -
code/branches/SOBv2_HS17/src/modules/superorxobros/SOBQBlock.cc
r11591 r11597 65 65 float v_z = otherObject->getVelocity().z; 66 66 int collDisZ_ = getPosition().z - contactPoint.getPositionWorldOnB().getZ(); 67 orxout() << "Distanz in z: " << collDisZ_ << endl;68 67 if (!used_ && v_z > 50.0 && collDisZ_ > 0) { 69 68 used_ = true;
Note: See TracChangeset
for help on using the changeset viewer.