Tween migrated (final)

Forgot to update a few stuff in my precedent commit. Everything is good now.
This commit is contained in:
spidercraft 2026-03-10 06:14:38 +01:00
parent 49744ea1c8
commit 92061e8368
3 changed files with 18 additions and 7 deletions

View file

@ -1,5 +1,4 @@
local vide = require "../../vide"
local easings = require "../src/easings"
local function system(): (number) -> number
local MAX = 40
@ -7,7 +6,7 @@ local function system(): (number) -> number
local _, input, output = vide.root(function()
local input = vide.source(MAX)
local output = vide.tween(input, { time = 2, style = easings.quad_ease_inout })
local output = vide.tween(input, { time = 2, style = "quad_ease_inout" })
return input, output
end)