From 03072ef67af0623758a660e2cd3fb5e153133efa Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 24 May 2023 08:09:03 -0400 Subject: Update chickadee manual. --- manuals/chickadee/Tweening.html | 48 ++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'manuals/chickadee/Tweening.html') diff --git a/manuals/chickadee/Tweening.html b/manuals/chickadee/Tweening.html index a72886b..b69b75e 100644 --- a/manuals/chickadee/Tweening.html +++ b/manuals/chickadee/Tweening.html @@ -1,6 +1,6 @@ - - + --> + - + Tweening (The Chickadee Game Toolkit) - - - - - - - - - - - + + + + + + + + + + + - + @@ -84,7 +84,7 @@ ul.no-bullet {list-style: none}

Next: , Previous: , Up: Scripting   [Contents][Index]

-
+

5.5.3 Tweening

Tweening is the process of transitioning something from an initial @@ -92,11 +92,11 @@ state to a final state over a pre-determined period of time. In other words, tweening is a way to create animation. The tween procedure can be used within any script like so:

-
-
(define x 0)
-(script
-  ;; 0 to 100 in 60 ticks of the agenda.
-  (tween 60 0 100 (lambda (y) (set! x y))))
+
+
(define x 0)
+(script
+  ;; 0 to 100 in 60 ticks of the agenda.
+  (tween 60 0 100 (lambda (y) (set! x y))))
 
-- cgit v1.2.3