Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 5, 2006, 4:39:02 PM (18 years ago)
Author:
bensch
Message:

merged the presentation back

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/effects/explosion.cc

    r7120 r9235  
    4040  this->toList(OM_DEAD_TICK);
    4141
    42   this->emitter = new BoxEmitter(Vector(10,10,10), 500, 45, M_2_PI);
     42  this->emitter = new BoxEmitter(Vector(10,10,10), 200, 45, M_2_PI);
    4343  this->emitter->addNodeFlags(PNODE_PROHIBIT_DELETE_WITH_PARENT);
    4444  this->emitter->setParent(this);
     
    8383    Explosion::explosionParticles->setLifeSpan(1.5, .3);
    8484    Explosion::explosionParticles->setRadius(0.0, 10);
    85     Explosion::explosionParticles->setRadius(.5, 15.0);
     85    Explosion::explosionParticles->setRadius(.5, 30.0);
    8686    Explosion::explosionParticles->setRadius(1.0, 10.0);
    8787    Explosion::explosionParticles->setColor(0.0, 1,0,0,1);
     
    113113void Explosion::tick (float dt)
    114114{
    115   printf("%f %f\n", this->lifeCycle, this->lifeTime);
    116115  this->lifeCycle += dt;
    117116  if(this->lifeTime < this->lifeCycle)
Note: See TracChangeset for help on using the changeset viewer.