Changeset 12277 for code/branches/OrxoBlox_FS19
- Timestamp:
- Apr 4, 2019, 4:16:22 PM (6 years ago)
- Location:
- code/branches/OrxoBlox_FS19
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoBlox_FS19/data/levels/orxoblox.oxw
r12269 r12277 27 27 <OrxoBloxBat camerapositiontemplate=OrxoBloxbatcameras> 28 28 <attached> 29 <Model position=" 0,0,3" mesh="cube.mesh" scale3D="14,2,2" />29 <Model position="60,0,-50" mesh="cube.mesh" scale3D="2,2,14" /> 30 30 <!--Model roll=180 mesh="OrxoBloxbat.mesh" scale=0.045 /--> 31 31 </attached> … … 53 53 54 54 55 55 56 <Level 56 57 plugins = "OrxoBlox" … … 76 77 <MovableEntity rotationrate=5 rotationaxis="0,0,1"> 77 78 <attached> 78 <OrxoBloxCenterpoint name=OrxoBloxcenter dimension=" 200,120" balltemplate=OrxoBloxball battemplate=OrxoBloxbat ballspeed=200 ballaccfactor=1.0 batspeed=130 batlength=0.25>79 <OrxoBloxCenterpoint name=OrxoBloxcenter dimension="100,120" balltemplate=OrxoBloxball battemplate=OrxoBloxbat ballspeed=200 ballaccfactor=1.0 batspeed=130 batlength=0.25> 79 80 <attached> 80 <Model position="0,0,60" mesh="cube.mesh" scale3D="105,1,1" /> 81 <Model position="0,0,-60" mesh="cube.mesh" scale3D="105,1,1" /> 81 <!-- Balken die das Spielfeld begrenzen. --> 82 <Model position="0,0,-50" mesh="cube.mesh" scale3D="60,1,1" /> 83 <Model position="60,0,0" mesh="cube.mesh" scale3D="1,1,50"/> 84 <Model position="-60,0,0" mesh="cube.mesh" scale3D="1,1,50"/> 82 85 83 86 <ParticleSpawner name=scoreeffect_right position="120,0, 45" source="Orxonox/sparks2" lifetime=0.1 autostart=0 /> -
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBlox.cc
r12268 r12277 68 68 this->bat_[0] = nullptr; 69 69 70 this->setHUDTemplate("OrxoBloxHUD"); 70 //this->setHUDTemplate("pongHUD"); 71 //Error when specified 71 72 72 73 // Pre-set the timer, but don't start it yet. … … 126 127 void OrxoBlox::start() 127 128 { 128 orxout() << "Hello" << endl;129 129 if (this->center_ != nullptr) // There needs to be a OrxoBloxCenterpoint, i.e. the area the game takes place. 130 130 { … … 185 185 // Reset the variable. 186 186 this->bForceSpawn_ = temp; 187 187 188 } 188 189 -
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxCenterpoint.cc
r12266 r12277 1 /** 2 Centerpoint: Konstruktion Spielfeld. Wird in orxoblox.oxw definiert. 3 */ 4 5 1 6 /* 2 7 * ORXONOX - the hottest 3D action shooter ever to exist … … 53 58 this->width_ = 200; 54 59 this->height_ = 120; 55 this->ballspeed_ = 100;60 this->ballspeed_ = 60; 56 61 this->ballaccfactor_ = 1.0; 57 62 this->batspeed_ = 60;
Note: See TracChangeset
for help on using the changeset viewer.