Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6813 in orxonox.OLD for trunk/src


Ignore:
Timestamp:
Jan 28, 2006, 5:01:53 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: particles, player etc.

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/event/event_handler.cc

    r6812 r6813  
    262262    SDL_WM_GrabInput(SDL_GRAB_OFF);
    263263  else
    264     ;//SDL_WM_GrabInput(SDL_GRAB_ON);
     264    SDL_WM_GrabInput(SDL_GRAB_ON);
    265265}
    266266
  • trunk/src/world_entities/projectiles/hyperblast.cc

    r6811 r6813  
    7171  if (unlikely(Hyperblast::explosionParticles == NULL))
    7272  {
    73     Hyperblast::explosionParticles = new SparkParticles(200);
     73    Hyperblast::explosionParticles = new SparkParticles(2000);
    7474    Hyperblast::explosionParticles->setName("HyperblastExplosionParticles");
    75     Hyperblast::explosionParticles->setLifeSpan(.5, .3);
    76     Hyperblast::explosionParticles->setRadius(0.0, 10);
    77     Hyperblast::explosionParticles->setRadius(.5, 15.0);
    78     Hyperblast::explosionParticles->setRadius(1.0, 10.0);
     75    Hyperblast::explosionParticles->setLifeSpan(5, .3);
     76    Hyperblast::explosionParticles->setRadius(100.0, 10);
     77    Hyperblast::explosionParticles->setRadius(20, 15.0);
     78    Hyperblast::explosionParticles->setRadius(50.0, 10.0);
    7979    Hyperblast::explosionParticles->setColor(0.0, 0,1,0,1);
    80     Hyperblast::explosionParticles->setColor(0.5, .8,.8,0,.8);
    81     Hyperblast::explosionParticles->setColor(0.8, .8,.8,.3,.8);
     80    Hyperblast::explosionParticles->setColor(0.5, .8,.8,0,.99);
     81    Hyperblast::explosionParticles->setColor(0.8, .8,.8,.3,.99);
    8282    Hyperblast::explosionParticles->setColor(1.0, 1,1,1,.0);
    8383  }
     
    8585  this->emitter->setSystem(Hyperblast::explosionParticles);
    8686
     87  Hyperblast::explosionParticles->debug();
    8788  this->updateNode(0);
    8889  this->emitter->setEmissionRate(245.0);
    89   this->emitter->setEmissionVelocity(0.0);
     90  this->emitter->setEmissionVelocity(10.0);
    9091}
    9192
  • trunk/src/world_entities/space_ships/hover.cc

    r6811 r6813  
    287287  }
    288288
    289   velocity += accel * 3.0;
     289  velocity += accel * 30.0;
    290290
    291291  this->setRelDirSoft(this->direction * Quaternion(-accel.x, Vector(0,0,1)) * Quaternion(accel.z, Vector(1,0,0)), 5);
Note: See TracChangeset for help on using the changeset viewer.