Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this->fSpeed = 500.0f; //move 100 units per second
- this->fSpeedRange = 0.0f;
- this->fFade = 0.5f; //particles last 0.8 - 1.2 second s
- this->fFadeRange = 0.3f;
- this->fRotate = 70.0f; //rotate 10-30 degrees in 1 second
- this->fRotateRange = 20.0f;
- this->fScale = 18.0f; //scale between 1.1 - 1.3 p/s
- this->fScaleRange = 6.4f;
- this->fAngle = 0; //shoot in all angles
- this->fAngleRange = 180.0f;
- WriteFile("ParticleEffect.paf");
- ReadFile("ParticleEffect.paf");
- ParticleAffector particleEffect("ParticleEffect.paf");
- ELEMENT_PARTICLE * p = TestScene.getParticleElement(GAMBLESCENE_INDEX_PARTICLE_EFFECT);
- p->SetParticleAffector(particleEffect);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement