mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-20 13:59:57 +00:00
particles
This commit is contained in:
parent
45d4f10828
commit
1d93d08099
1 changed files with 1 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ class Particle
|
|||
end
|
||||
def opacity=(val)
|
||||
@sprite.opacity = val
|
||||
val = val.clamp(0.0, 200.0)
|
||||
@light.modulate.set(val * @light_power, val * @light_power, val * @light_power)
|
||||
end
|
||||
def dispose
|
||||
|
|
|
|||
Loading…
Reference in a new issue