- Timestamp:
- Jan 26, 2006, 2:08:16 AM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/particles/particle_system.cc
r6633 r6757 287 287 if (likely (tickPart->mass > 0.0)) 288 288 tickPart->velocity += tickPart->extForce / tickPart->mass * dt; 289 // rendering new position.290 tickPart->position += tickPart->velocity * dt;291 tickPart->orientation += tickPart->momentum *dt;292 289 293 290 tickPart->radius = radiusAnim.getValue(tickPart->lifeCycle) … … 304 301 tickPart->color[2] = this->colorAnim[2].getValue(tickPart->lifeCycle); 305 302 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; 306 307 307 308 // many more to come -
trunk/src/world_entities/space_ships/space_ship.cc
r6756 r6757 224 224 ((SpriteParticles*)this->burstSystem)->setMaterialTexture("maps/radial-trans-noise.png"); 225 225 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); 228 228 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); 233 233 this->burstSystem->setColor(1.0, .8,.8,.8,.0); 234 234
Note: See TracChangeset
for help on using the changeset viewer.