73 Commits

Author SHA1 Message Date
Davide Tantillo
a4b93c6d68 Remove SetIgnoreGlobalTimeScale action and respective expression added in 61b2b029.
The same result can be achieved with "Set ignore global time scale" system action.
2026-03-23 15:45:26 +01:00
Davide Tantillo
0f671e1cca Set sizenow affects also followers. Followers are scaled on their local axis because C3 lacks of a transformation matrix and does not allow to control shear, that would be necessary to scale wrt parent axis. 2026-03-23 15:41:16 +01:00
Davide Tantillo
05344e805c Fix follower offsetY with flip/mirror. 2026-03-18 18:08:00 +01:00
Davide Tantillo
61b2b0291d Add SetIgnoreGlobalTimeScale action and respective expression. 2026-03-18 14:43:00 +01:00
Davide Tantillo
5f3c7c0a4d Followers takes gameobject rotation into account. 2026-03-17 17:28:40 +01:00
Davide Tantillo
a20d61ff50 Fix follower flip/mirror not reflecting on skeleton axis. 2026-03-17 17:03:32 +01:00
Davide Tantillo
f6c3d70153 Updates after 4.3 merge. 2026-03-17 11:14:58 +01:00
Davide Tantillo
a3cda6ea79 Add is-inside-bone-radius action. 2026-03-05 16:07:16 +01:00
Davide Tantillo
52bd849fdc Add setDefaultMix action. 2026-03-05 12:11:44 +01:00
Davide Tantillo
921fc1dad9 Fix empty prop animation. 2026-03-05 10:57:50 +01:00
Davide Tantillo
3f099d6b87 Add setBoundsForSkinAnimation and setBoundsForSetupPose actions. 2026-03-04 16:39:25 +01:00
Davide Tantillo
2d3e56c735 Add setBounds action and related bounds expressions to modify skeleton bounds at runtime. 2026-03-04 12:35:54 +01:00
Davide Tantillo
f825f3755b Fix Set Animation Time with ratio. 2026-02-26 12:16:45 +01:00
Davide Tantillo
a94b17292d Removed animation speed in favor or AnimationState.timeScale. Add expression to get its value. 2026-02-26 11:55:17 +01:00
Davide Tantillo
0347e5f6ab Fix setAnimationTime action parameter order. 2026-02-26 11:37:39 +01:00
Davide Tantillo
d5b04ea1bd Replaced flipx with mirror, and add flip, adapting to c3 names. Fix follower flip/mirror. 2026-02-25 15:26:51 +01:00
Davide Tantillo
758058ec39 Bone follower: add with pick, allows multiple followers, remove with pick, remove all. 2026-02-20 16:35:34 +01:00
Davide Tantillo
ea4d15519d Use totalZ rather than the deprecated totalZElevation. 2026-02-10 16:54:46 +01:00
Davide Tantillo
bc6f750a39 Add support for z elevation. 2026-02-10 12:48:17 +01:00
Davide Tantillo
731aa2bdf1 Fix on drag handle action. 2026-02-04 16:41:11 +01:00
Davide Tantillo
a4b7081ba3 Add Setup Pose and Setup Bone Slot Pose actions. 2026-02-04 15:33:25 +01:00
Davide Tantillo
3e15e3f688 Changed Updated Bone Pose to Set Bone Pose with the ability of holding a pose, and modif rotation and scale too. Add Release Bone Hold. 2026-02-04 15:01:22 +01:00
Davide Tantillo
18ce3ae156 Add license header where missing. 2026-01-30 15:13:21 +01:00
Davide Tantillo
3ff5a9e943 Code review. 2026-01-30 15:10:12 +01:00
Davide Tantillo
7dd315e2dd Add enable collision property and logic. Add AddEmptyAnimation and ClearTrack actions. 2026-01-23 17:19:12 +01:00
Davide Tantillo
6aedab232e Add listener to animation state rather than on each track. 2026-01-12 16:33:37 +01:00
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
f5f1f1d297 Spine events data stores track and animation when triggered. 2025-12-15 16:12:26 +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
7c053efdc5 Add basic ACE to plugin. C3 Color is used for rendering. 2025-12-01 12:54:08 +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
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
5773af096d Show bounds in runtime when skeleton is in debug mode. 2025-11-20 12:49:03 +01:00
Davide Tantillo
4225edeede Ensure array size passed to draw mesh. 2025-11-19 17:57:35 +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