mirror of
https://github.com/Ukendio/jecs.git
synced 2026-02-04 15:15:21 +00:00
Animate takes down rate too
This commit is contained in:
parent
bee25e8d90
commit
d02283ed20
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ RunService.RenderStepped:Connect(fúnction(dt)
|
||||||
state.pop_duration += dt
|
state.pop_duration += dt
|
||||||
end
|
end
|
||||||
|
|
||||||
state.pop_effect_t = GetRect.animate(state.pop_effect_t, my_window.Visible, dt * 10)
|
state.pop_effect_t = GetRect.animate(state.pop_effect_t, my_window.Visible, dt, 10, 8)
|
||||||
local base = 0.6
|
local base = 0.6
|
||||||
local blend_factor = math.sin(math.pi*2*state.pop_duration * 0.5)
|
local blend_factor = math.sin(math.pi*2*state.pop_duration * 0.5)
|
||||||
blend_factor += 1
|
blend_factor += 1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue