diff --git a/spine-ts/spine-webgl/example/canvas5.html b/spine-ts/spine-webgl/example/canvas5.html index ed32eb05b..0f241ed04 100644 --- a/spine-ts/spine-webgl/example/canvas5.html +++ b/spine-ts/spine-webgl/example/canvas5.html @@ -37,6 +37,11 @@ margin: 1rem; border: 1px solid salmon; } + .split-nosize { + /* padding: 1rem; */ + /* margin: 1rem; */ + border: 1px solid salmon; + } .navigation { display: flex; position: fixed; @@ -96,7 +101,38 @@
FPS - + + + +
+
+
+ <spine-widget> tag allows you to place your Spine animations into a web page.
+
+
+
+ fit attribute.
+ fit="fill". Default fit value is fit="contain".
+ fit="none".
+ In combination with that, you can use the scale attribute to choose you desired scale.
+ fitWidth, fitWidth, fitHeight, cover,and scaleDown.
+
+
+
+ origin center the animation world origin with the center of the HTML element.
+ x-axis and y-axis respectively.
+
+
+
+ offset-x and offset-y to move you skeleton left or right by the pixel amount you specify.
+
+
+
+ identifier to your widget to get it by using the spine.getSpineWidget function.
+ You can easily access the Skeleton and the AnimationState of your character, and use them as if you were using spine-webgl.
+
+
+
+ inside mode, but not in origin mode.
+
+
+
+ debug to true.
+
+
+
+ draggable property to true.
+
+
+
+