Changeset 12192
- Timestamp:
- Feb 22, 2019, 4:46:06 PM (6 years ago)
- Location:
- code/branches/OrxoKart_HS18
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoKart_HS18/data/levels/templates/OrxoKartKart.oxt
r12168 r12192 26 26 27 27 boostPower = 10 28 boostPowerRate = 1 29 boostRate = 530 boostCooldownDuration = 1 028 boostPowerRate = 1000 29 boostRate = 1 30 boostCooldownDuration = 1 31 31 32 32 collisionType = "dynamic" 33 33 mass = 2000 34 34 linearDamping = 0.5 35 angularDamping = 0.999 35 angularDamping = 0.99999 36 36 > 37 37 <engines> -
code/branches/OrxoKart_HS18/data/tcl/orxokart_highscores.txt
r12168 r12192 18 18 Name: 0:31:46s 19 19 Name: 0:25:40s 20 Name: 1:27:11s -
code/branches/OrxoKart_HS18/src/modules/orxokart/CMakeLists.txt
r12147 r12192 7 7 ShroomHUD.cc 8 8 TimeHUD.cc 9 KartController.cc10 9 ) 11 10 -
code/branches/OrxoKart_HS18/src/modules/orxokart/OrxoKart.cc
r12168 r12192 59 59 { 60 60 SUPER(OrxoKart, tick, dt); 61 62 61 if(this->firstTick_ && this->origin_) 63 62 { … … 144 143 flag->init(n, s); 145 144 flag_ = flag; 146 147 145 148 149 146 150 147 151 148 } //firsttick end … … 184 181 flag_->setCollided(false); 185 182 wayPointCounter = 0; 183 184 185 186 186 } 187 187 188 if (player && player->isBoosting()) {189 //orxout() << "Boosting" << endl;190 if(!numberOfShrooms) numberOfShrooms--;191 }192 188 193 189 } -
code/branches/OrxoKart_HS18/src/modules/orxokart/OrxoKartFlag.cc
r12156 r12192 86 86 void OrxoKartFlag::init(int n, int s) 87 87 { 88 model_ = new Model(this->getContext());89 model_->setMeshSource("OrxoKartMushroom.mesh");90 model_->setScale3D(Vector3(s, s, s));91 model_->setPosition(Vector3(s*n*0.5f,-0.0f, s*n*0.5f));92 93 this->attach(model_);94 88 95 89 cs_ = new BoxCollisionShape(this->getContext()); -
code/branches/OrxoKart_HS18/src/modules/orxokart/OrxoKartKart.cc
r12168 r12192 33 33 #include "core/CoreIncludes.h" 34 34 #include "core/XMLPort.h" 35 #include "KartController.h"36 35 namespace orxonox 37 36 { 38 37 RegisterClass(OrxoKartKart); 39 38 40 void ControllableEntity::rotateYaw(const Vector2& value)41 {42 orxout() << "TEST CONTROLlER" << endl;43 }44 39 45 40 OrxoKartKart::OrxoKartKart(Context* context) : SpaceShip(context)
Note: See TracChangeset
for help on using the changeset viewer.