Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6813 in orxonox.OLD for trunk/src/world_entities/projectiles


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

orxonox/trunk: particles, player etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.