mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
timer green on finish and particle updates
This commit is contained in:
parent
edf93f8edd
commit
be31bb5a2c
3 changed files with 5 additions and 3 deletions
|
|
@ -115,7 +115,7 @@ final trailParticleOptions:ParticleEmitterOptions = {
|
|||
lifetimeVariance: 10,
|
||||
acceleration: 0,
|
||||
colors: [new Vector(1, 1, 0, 0), new Vector(1, 1, 0, 1), new Vector(1, 1, 1, 0)],
|
||||
sizes: [0.4, 0.4, 0.1],
|
||||
sizes: [0.7, 0.4, 0.1],
|
||||
times: [0, 0.15, 1]
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1273,6 +1273,8 @@ class MarbleWorld extends Scheduler {
|
|||
}
|
||||
|
||||
function determineClockColor(timeToDisplay:Float) {
|
||||
if (this.finishTime != null)
|
||||
return 1;
|
||||
if (this.timeState.currentAttemptTime < 3.5 || this.bonusTime > 0)
|
||||
return 1;
|
||||
if (timeToDisplay >= this.mission.qualifyTime)
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ import src.MarbleWorld;
|
|||
final superJumpParticleOptions:src.ParticleSystem.ParticleEmitterOptions = {
|
||||
ejectionPeriod: 10,
|
||||
ambientVelocity: new Vector(0, 0, 0.05),
|
||||
ejectionVelocity: 0.5,
|
||||
velocityVariance: 0.125,
|
||||
ejectionVelocity: 1,
|
||||
velocityVariance: 0.25,
|
||||
emitterLifetime: 1000,
|
||||
inheritedVelFactor: 0.1,
|
||||
particleOptions: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue