From 15918c0342eb53d438f7e87856374fb580549560 Mon Sep 17 00:00:00 2001 From: Davide Tantillo Date: Mon, 5 May 2025 14:53:13 +0200 Subject: [PATCH] Improved tutorial explanations. --- spine-ts/spine-widget/example/tutorial.html | 656 +++++++++--------- .../src/SpineWebComponentWidget.ts | 5 +- 2 files changed, 320 insertions(+), 341 deletions(-) diff --git a/spine-ts/spine-widget/example/tutorial.html b/spine-ts/spine-widget/example/tutorial.html index e982a6609..3157c0224 100644 --- a/spine-ts/spine-widget/example/tutorial.html +++ b/spine-ts/spine-widget/example/tutorial.html @@ -163,12 +163,12 @@ >
- The <spine-widget> tag allows you to place your Spine animations into a web page. + The <spine-widget> tag allows you to embed your Spine animations into a web page.

- By default, the animation bounds are calculated using the given animation, or the setup pose if no animation is provided. + By default, the animation bounds are calculated using the specified animation, or the setup pose if no animation is provided.
- The bounds is centered and scaled to fit the parent container. + The bounds are centered and scaled to fit the parent container.
@@ -216,7 +216,7 @@ You can change the fit mode of your Spine animation using the fit attribute.

- This is fit="fill". Default fit value is fit="contain". + This is fit="fill". The default fit value is fit="contain". @@ -231,19 +231,16 @@ >
- If you want to preserve the original scale, you can use the fit="none". - In combination with that, you can use the scale attribute to choose you desired scale. + If you want to preserve the original scale, you can use fit="none". + In combination with that, you can use the scale attribute to set your desired scale.

- Other fit modes are width, width, height, cover,and scaleDown. + Other fit modes are width, height, cover, and scaleDown.
- - -

                 
+        
 
 
         
@@ -4376,7 +4355,7 @@ Look at the source code`
- +