Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6757 in orxonox.OLD for trunk/src


Ignore:
Timestamp:
Jan 26, 2006, 2:08:16 AM (18 years ago)
Author:
bensch
Message:

trunk: nicer burst

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/particles/particle_system.cc

    r6633 r6757  
    287287    if (likely (tickPart->mass > 0.0))
    288288      tickPart->velocity += tickPart->extForce / tickPart->mass * dt;
    289     // rendering new position.
    290     tickPart->position += tickPart->velocity * dt;
    291     tickPart->orientation += tickPart->momentum *dt;
    292289
    293290    tickPart->radius = radiusAnim.getValue(tickPart->lifeCycle)
     
    304301    tickPart->color[2] = this->colorAnim[2].getValue(tickPart->lifeCycle);
    305302    tickPart->color[3] = this->colorAnim[3].getValue(tickPart->lifeCycle);
     303
     304    // rendering new position.
     305    tickPart->position += tickPart->velocity * dt;
     306    tickPart->orientation += tickPart->momentum *dt;
    306307
    307308    // many more to come
  • trunk/src/world_entities/space_ships/space_ship.cc

    r6756 r6757  
    224224  ((SpriteParticles*)this->burstSystem)->setMaterialTexture("maps/radial-trans-noise.png");
    225225  this->burstSystem->setLifeSpan(1.0, .3);
    226   this->burstSystem->setRadius(0.0, 2.0);
    227   this->burstSystem->setRadius(0.05, 3.0);
     226  this->burstSystem->setRadius(0.0, 1.0);
     227  this->burstSystem->setRadius(0.05, 1.0);
    228228  this->burstSystem->setRadius(.5, .8);
    229   this->burstSystem->setRadius(1.0, .8);
    230   this->burstSystem->setColor(0.0, 1,0,0,.7);
    231   this->burstSystem->setColor(0.2, .8,.8,0,.5);
    232   this->burstSystem->setColor(0.5, .8,.8,.8,.8);
     229  this->burstSystem->setRadius(1.0, 0);
     230  this->burstSystem->setColor(0.0, .7,.7,1,.7);
     231  this->burstSystem->setColor(0.2, 0,0,0.8,.5);
     232  this->burstSystem->setColor(0.5, .5,.5,.8,.8);
    233233  this->burstSystem->setColor(1.0, .8,.8,.8,.0);
    234234
Note: See TracChangeset for help on using the changeset viewer.