forked from Mirrors/openclonk
OneMillionParticles.ocs: removed some randomness in the amount of particles in the final test
It's easier to compare runs this way.directional-lights
parent
6bacdfcbb6
commit
a20b7834c0
|
@ -56,7 +56,8 @@ global func Test3()
|
||||||
{
|
{
|
||||||
var x = RandomX(100, LandscapeWidth() - 100);
|
var x = RandomX(100, LandscapeWidth() - 100);
|
||||||
var y = LandscapeHeight() / 2 - 20;
|
var y = LandscapeHeight() / 2 - 20;
|
||||||
AddEffect("ScorchEverything", nil, 1, 1, nil, nil, x, y);
|
var fx = AddEffect("ScorchEverything", nil, 1, 1, nil, nil, x, y);
|
||||||
|
fx.offset = 2 * fire_count;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -65,7 +66,6 @@ global func FxScorchEverythingStart(target, effect, temp, x, y)
|
||||||
if (temp) return;
|
if (temp) return;
|
||||||
effect.x = x;
|
effect.x = x;
|
||||||
effect.y = y;
|
effect.y = y;
|
||||||
effect.offset = Random(180);
|
|
||||||
effect.glimmer =
|
effect.glimmer =
|
||||||
{
|
{
|
||||||
Prototype = Particles_Glimmer(),
|
Prototype = Particles_Glimmer(),
|
||||||
|
|
Loading…
Reference in New Issue