59 Commits

Author SHA1 Message Date
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
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
dbf1453e10 Add set attachment action and slot attachment expression. 2025-11-05 15:33:17 +01:00
Davide Tantillo
be761e2792 Add set empty animation. 2025-11-05 12:40:20 +01:00
Davide Tantillo
57c2fa1cfd Add play, stop, isPlaying. 2025-11-05 12:31:06 +01:00
Davide Tantillo
ff8024ed83 Improved OnAnimationEvent. 2025-11-04 17:21:54 +01:00
Davide Tantillo
2e37fb3855 Add flip x action and condition. 2025-11-04 16:53:51 +01:00
Davide Tantillo
abbd63013b Small type fixes. 2025-11-03 15:16:29 +01:00