Changeset 10962 for code/branches/presentationHS15/src/modules/dodgerace
- Timestamp:
- Dec 9, 2015, 4:03:59 PM (9 years ago)
- Location:
- code/branches/presentationHS15
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentationHS15
- Property svn:mergeinfo changed
/code/branches/explosionChunksHS15 (added) merged: 10641,10669,10752-10753,10755,10786,10807,10810,10837,10937,10939,10942
- Property svn:mergeinfo changed
-
code/branches/presentationHS15/src/modules/dodgerace/DodgeRace.cc
r10624 r10962 71 71 for (int i = 0; i < 7; i++) 72 72 { 73 BigExplosion* chunk = new BigExplosion(this->center_->getContext()); 74 chunk->setPosition(Vector3(600, 0, 100.f * i - 300)); 75 chunk->setVelocity(Vector3(1000, 0, 0)); //player->getVelocity() 76 chunk->setScale(20); 73 WeakPtr<ExplosionPart> chunk5 = new ExplosionPart(this->center_->getContext()); 74 chunk5->setPosition(Vector3(600, 0, 100.f * i - 300)); 75 chunk5->setVelocity(Vector3(1000, 0, 0)); //player->getVelocity() 76 chunk5->setScale(10); 77 chunk5->setEffect1("Orxonox/explosion2b"); 78 chunk5->setEffect2("Orxonox/smoke6"); 79 chunk5->Explode(); 80 77 81 } 78 82 } -
code/branches/presentationHS15/src/modules/dodgerace/DodgeRace.h
r10624 r10962 56 56 57 57 #include "core/command/ConsoleCommand.h" 58 #include "worldentities/BigExplosion.h"59 58 60 59 #include "gametypes/Deathmatch.h"
Note: See TracChangeset
for help on using the changeset viewer.