From b68e97209a7d89826366021f47d2b536631323a3 Mon Sep 17 00:00:00 2001 From: Insality Date: Sun, 28 Apr 2024 14:08:39 +0300 Subject: [PATCH] Update README --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1cb23ad..ae3f4e3 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,16 @@ Add next `tweener` section to your `game.project` in text mode: update_frequency = 60 ``` -## API +## API Reference + +### Quick API Reference + +```lua +local tween_function = tweener.linear or go.EASING_LINEAR or gui.EASING_LINEAR + +tweener.tween(tween_function, from, to, time, callback, [dt]) +tweener.ease(tween_function, from, to, time, time_elapsed) +``` ### Importing the Module