Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 12277 for code


Ignore:
Timestamp:
Apr 4, 2019, 4:16:22 PM (5 years ago)
Author:
jeromela
Message:

Spielfeld angepasst. Next: Fumktionalitaet auch anpassen

Location:
code/branches/OrxoBlox_FS19
Files:
3 edited

Legend:

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

    r12269 r12277  
    2727  <OrxoBloxBat camerapositiontemplate=OrxoBloxbatcameras>
    2828    <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" />
    3030      <!--Model roll=180 mesh="OrxoBloxbat.mesh" scale=0.045 /-->
    3131    </attached>
     
    5353
    5454
     55
    5556<Level
    5657  plugins = "OrxoBlox"
     
    7677    <MovableEntity rotationrate=5 rotationaxis="0,0,1">
    7778      <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>
    7980          <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"/>
    8285
    8386            <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  
    6868        this->bat_[0] = nullptr;
    6969
    70         this->setHUDTemplate("OrxoBloxHUD");
     70        //this->setHUDTemplate("pongHUD");
     71        //Error when specified
    7172
    7273        // Pre-set the timer, but don't start it yet.
     
    126127    void OrxoBlox::start()
    127128    {
    128         orxout() << "Hello" << endl;
    129129        if (this->center_ != nullptr) // There needs to be a OrxoBloxCenterpoint, i.e. the area the game takes place.
    130130        {
     
    185185        // Reset the variable.
    186186        this->bForceSpawn_ = temp;
     187
    187188    }
    188189
  • code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxCenterpoint.cc

    r12266 r12277  
     1/**
     2    Centerpoint: Konstruktion Spielfeld. Wird in orxoblox.oxw definiert.
     3*/
     4
     5
    16/*
    27 *   ORXONOX - the hottest 3D action shooter ever to exist
     
    5358        this->width_ = 200;
    5459        this->height_ = 120;
    55         this->ballspeed_ = 100;
     60        this->ballspeed_ = 60;
    5661        this->ballaccfactor_ = 1.0;
    5762        this->batspeed_ = 60;
Note: See TracChangeset for help on using the changeset viewer.