Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 12336


Ignore:
Timestamp:
May 2, 2019, 4:32:19 PM (5 years ago)
Author:
jeromela
Message:

minor changes

Location:
code/branches/OrxoBlox_FS19
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/OrxoBlox_FS19/data/levels/orxoblox.oxw

    r12329 r12336  
    1616  include("templates/spaceshipAssff2.oxt")
    1717  include("templates/spaceshipPirate.oxt")
    18   include("templates/spaceshipAsteroids2D.oxt")
    1918  include("templates/spaceshipOrxoBlox.oxt")
    2019  include("templates/enemyInvader.oxt")
     
    104103    <!-- <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"/> -->
    105104    <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" />
    106     <SpawnPoint team=0 position="0,150,0" lookat="0,0,0" spawnclass= OrxoBloxShip pawndesign=spaceshipasteroids2d/>
     105    <SpawnPoint team=0 position="0,150,0" lookat="0,0,0" spawnclass= Asteroids2DShip />
    107106
    108107    <!--<Model mesh="axes.mesh" scale=10 position="0,0,0" /> -->
     
    111110    <MovableEntity rotationrate=0 rotationaxis="0,0,1">
    112111      <attached>
    113           <OrxoBloxCenterpoint name=OrxoBloxcenter dimension="120,100" balltemplate=OrxoBloxball battemplate=OrxoBloxbat ballspeed=200 ballaccfactor=1.0 batspeed=130 batlength=0.25 StoneTemplate=OrxoBloxstone WallTemplate=OrxoBloxwall>
     112        <OrxoBloxCenterpoint name=OrxoBloxcenter dimension="100,100" balltemplate=OrxoBloxball battemplate=OrxoBloxbat ballspeed=200 ballaccfactor=1.0 batspeed=130 batlength=0.25 StoneTemplate=OrxoBloxstone WallTemplate=OrxoBloxwall>
     113       
    114114          <attached>
    115115            <!-- Balken die das Spielfeld begrenzen. -->
    116             <Model position="0,0,-50" mesh="cube.mesh" scale3D="60,1,1" />
    117             <Model position="60,0,0" mesh="cube.mesh" scale3D="1,1,50"/>
    118             <Model position="-60,0,0" mesh="cube.mesh" scale3D="1,1,50"/>
     116            <Model position="0,0,-50" mesh="cube.mesh" scale3D="50,1,1" />
     117            <Model position="50,0,0" mesh="cube.mesh" scale3D="1,1,50"/>
     118            <Model position="-50,0,0" mesh="cube.mesh" scale3D="1,1,50"/>
    119119          </attached>
    120120        </OrxoBloxCenterpoint>
  • code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBlox.cc

    r12335 r12336  
    143143            // Attach the ball to the centerpoint and set the parameters as specified in the centerpoint, the ball is attached to.
    144144            this->center_->attach(this->ball_);
    145             this->ball_->setPosition(0, 0, 50);
     145            this->ball_->setPosition(0, 0, 40);
    146146            this->ball_->setFieldDimension(this->center_->getFieldDimension());
    147147            this->ball_->setSpeed(0);
     
    202202        }
    203203    }
     204
    204205
    205206    OrxoBloxShip* OrxoBlox::getPlayer()
  • code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxBall.cc

    r12331 r12336  
    143143            velocity.z = -velocity.z;
    144144            // And its position is set as to not overstep the boundary it has just crossed.
    145             if (position.z > this->fieldHeight_ / 2)
    146                 ChatManager::message("Ball hat das Feld verlassen.Jerome");
    147             if (position.z < -this->fieldHeight_ / 2)
     145            if (position.z > this->fieldHeight_ / 2){
     146                ChatManager::message("Ball hat das Feld verlassen");
     147                //TODO: ball zerstoeren
     148            }
     149            if (position.z < -this->fieldHeight_ / 2){
    148150                position.z = -this->fieldHeight_ / 2;
     151               
     152            }
    149153
    150154            this->fireEvent();
Note: See TracChangeset for help on using the changeset viewer.