Changeset 12364 for code/branches
- Timestamp:
- May 9, 2019, 4:22:55 PM (6 years ago)
- Location:
- code/branches/OrxoBlox_FS19
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoBlox_FS19/data/levels/orxoblox.oxw
r12361 r12364 19 19 ?> 20 20 21 < Template name=OrxoBloxbatcameras defaults=0>21 <!--Template name=OrxoBloxbatcameras defaults=0> 22 22 <OrxoBloxBat> 23 23 <camerapositions> … … 28 28 </camerapositions> 29 29 </OrxoBloxBat> 30 </Template >30 </Template--> 31 31 32 32 <Template name=OrxoBloxball> … … 97 97 > 98 98 <!-- <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/> --> 99 <Light type=directional position="-100, 10000, -700" lookat="0.2, -1, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />99 <Light type=directional position="-100, 10000, -700" direction="0.2, -1, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" /> 100 100 <SpawnPoint team=0 position="0,150,0" lookat="0,0,0" spawnclass= Asteroids2DShip /> 101 101 -
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxBall.cc
r12361 r12364 45 45 #include "sound/WorldSound.h" 46 46 #include "core/XMLPort.h" 47 #include "core/input/InputManager.h" 47 48 48 49 … … 165 166 //Input new speed here: 166 167 //ChatManager::message("Setting new speed"); 167 168 169 //%%%%%%%%%%%% 170 //MAUSPOSITION 171 //%%%%%%%%%%%% 172 //Reads current mouse position 173 //TODO: read Mouse position on click! 174 //int mousex = InputManager::getInstance().getMousePosition().first; 175 //int mousey = InputManager::getInstance().getMousePosition().second; 176 //ChatManager::message("Read mouse position"); 177 //orxout() << "Mouseposition" << endl; 178 //orxout() << mousex << endl; 179 //ChatManager::message(mousex); 180 //ChatManager::message("mousey"); 181 //ChatManager::message(mousey); 168 182 //Set new speed here!! 169 183 velocity.x = rnd(-100,100); 170 velocity.z = rnd(-10,-100); 171 184 velocity.z = rnd(-50,-100); 172 185 173 186
Note: See TracChangeset
for help on using the changeset viewer.