10758 Commits

Author SHA1 Message Date
Davide Tantillo
329ff5b073 Changed scaleX and scaleY props meaning, they are now offset ratio with the bounds. Removed usage of skeleton scale, in favor of C3Matrix scale.
Add getter/setter to editor instance for numeric properties.
Width and height changes scale the skeleton, not only bbox.
2026-01-09 16:29:13 +01:00
Davide Tantillo
adfb71b5d3 Layout is refreshed when spine logo is loaded. 2026-01-09 16:24:23 +01:00
9fb8da80db
Fix JSON description formatting in zh-CN.json (#3006) 2026-01-09 14:18:34 +01:00
Davide Tantillo
f5f1f1d297 Spine events data stores track and animation when triggered. 2025-12-15 16:12:26 +01:00
Davide Tantillo
ed94892283 Add GetEventData expression. 2025-12-15 15:44:29 +01:00
Davide Tantillo
57363110c3 Add is animation playing condition. 2025-12-15 12:17:18 +01:00
Davide Tantillo
e06739647e set/add animation enables skeleton playing state. 2025-12-11 11:29:02 +01:00
Davide Tantillo
829c3c3e6a Do not reuse the same command if position or color change. 2025-12-10 17:10:45 +01:00
Davide Tantillo
4e2d01d67a Reuse previous render command, if game object not updated. 2025-12-09 17:09:16 +01:00
Davide Tantillo
546c9f8a6b Fix double premultiplication. 2025-12-06 09:57:29 +01:00
Davide Tantillo
fc40ca5c9c Use new SkeletonRendererCore interface. 2025-12-05 16:29:18 +01:00
Davide Tantillo
a8fa6bd398 SkeletonRendererCore allows to request for pma color and color tint. 2025-12-05 16:26:19 +01:00
Davide Tantillo
fa64afbe8d Reset bounds on loader scale change. 2025-12-04 12:16:28 +01:00
Davide Tantillo
9167263c6f Fix multiple resources allocation for same instances during startup. 2025-12-04 12:10:29 +01:00
Davide Tantillo
1afafb9e16 Enable hierarchies. 2025-12-02 15:55:19 +01:00
Davide Tantillo
7c053efdc5 Add basic ACE to plugin. C3 Color is used for rendering. 2025-12-01 12:54:08 +01:00
Davide Tantillo
62e91b3ede Temp pipeline to build latest commit and deploy latest commit. 2025-11-28 09:50:59 +01:00
Davide Tantillo
51ad987724 Dispose drag handles listener on dispose. 2025-11-26 16:25:50 +01:00
Davide Tantillo
e98c376963 Improved drag handles code and remove dependency from mouse object. 2025-11-26 16:23:49 +01:00
Davide Tantillo
a641916750 Removed skeleton from C3Renderer because it prevents GameObject to change skeleton. 2025-11-26 12:38:18 +01:00
Davide Tantillo
89cc7670c5 Add every attachment to the debug renderer. 2025-11-25 12:42:47 +01:00
Davide Tantillo
af27cfaddf Add bounds reminder. 2025-11-25 10:33:12 +01:00
Davide Tantillo
683574fb41 Refactored rendering and matrix into specific class defined in c3 lib. 2025-11-24 17:20:49 +01:00
Davide Tantillo
86a0950a5f Fixed colors non premultiplied also in the editor. 2025-11-23 15:07:56 +01:00
Davide Tantillo
c43d5154da Fixed colors non premultiplied. 2025-11-23 12:14:27 +01:00
Davide Tantillo
6a819315e0 First skeleton update only after scaleX/Y is set. 2025-11-21 15:49:13 +01:00
Davide Tantillo
649209459f Cache system to reuse same SkeletonData, TextureAtlas, and C3Texture. 2025-11-21 15:29:07 +01:00
Davide Tantillo
e27dc43e8f Several fixes with bounds and errors detection. 2025-11-20 17:31:00 +01:00
Davide Tantillo
5773af096d Show bounds in runtime when skeleton is in debug mode. 2025-11-20 12:49:03 +01:00
Davide Tantillo
0620a9c841 Add set-bounds prop to manually reset the bounds. Improved automatic bounds reset. 2025-11-20 12:48:46 +01:00
Davide Tantillo
50a8a47ff0 Ensure array size passed to draw mesh also for editor instance. 2025-11-19 17:59:09 +01:00
Davide Tantillo
4225edeede Ensure array size passed to draw mesh. 2025-11-19 17:57:35 +01:00
3ef4c024f2
Fixed zh translation. Fix build script for windows. (#2979)
* [c3] fix plugin load failed

* [c3] fix zh-CN file

* [c3] fix build:construct3-lib in windows

* Avoid using single quotes to prevent issues caused by different parsing behaviors on Windows and Linux.
2025-11-19 17:14:48 +01:00
Davide Tantillo
e51b8f00cb Moved error message as a webgl text in editor. Check if textures and atlas consistency when possible. 2025-11-19 16:40:53 +01:00
Davide Tantillo
5cb027c4eb Added types for editor instance error. 2025-11-17 15:52:39 +01:00
Davide Tantillo
a6519f3017 Fix updateHandles getting mouse unsafely. 2025-11-17 15:30:07 +01:00
Davide Tantillo
9d7172602f Code restructure. Add many actions and conditions. 2025-11-14 12:34:37 +01:00
Davide Tantillo
ff2ee5397b Add expression current-animation. 2025-11-07 10:57:14 +01:00
Davide Tantillo
6af077c0a6 Add expression current-skin. 2025-11-07 10:50:16 +01:00
Davide Tantillo
0c189465c7 Add expressions to get bone-x, bone-y- bone-rotation. 2025-11-06 12:39:31 +01:00
Davide Tantillo
c626d59b0e Fix MathUtils import. 2025-11-06 12:10:05 +01:00
Davide Tantillo
c47b829019 Add set-track-alpha and set-track-mix-blend. 2025-11-06 12:00:38 +01:00
Davide Tantillo
8ed7554f14 Add set-skeleton-color. 2025-11-06 11:46:08 +01:00
Davide Tantillo
34e56af5c5 Add set-slot-color and reset-slot-colors. 2025-11-06 11:42:15 +01:00
Davide Tantillo
2918788364 Add set-physics-mode. 2025-11-06 11:07:22 +01:00
Davide Tantillo
3075b5b9b6 Add set-animation-mix. 2025-11-06 10:57:58 +01:00
Davide Tantillo
e90d5d5d82 Add set-animation-time. 2025-11-06 10:48:25 +01:00
Davide Tantillo
10edf10dce Add set-animation-speed. 2025-11-06 10:40:10 +01:00
Davide Tantillo
2fa8601e05 Add create/add/set-custom-skin. 2025-11-06 10:20:50 +01:00
Davide Tantillo
5fed1d6a33 Add to gitignore dist folder of c3 lib. 2025-11-05 15:37:55 +01:00