- Add BoneLocal class for local bone pose (x, y, rotation, scale, shear, inherit)
- Add BonePose class extending BoneLocal with world transform calculations
- Add SlotPose class for slot state (color, darkColor, attachment, sequence, deform)
- Implement complete world transform math in BonePose from reference implementation
- Use Spine's custom RTTI system instead of C++ RTTI for type checking
- Update spine.h to include new core pose classes
- Update development guidelines with RTTI usage patterns
These core pose classes provide the foundation for the new constraint system
and enable separation of local, constrained, and applied poses in the 4.3-beta
architecture redesign.
- Replace Updatable interface with Update interface
- Add Pose<P> template interface for pose management
- Add PosedData<P> abstract base class for setup data
- Add Posed<D,P,A> base class linking data, pose, and applied states
- Add PosedActive<D,P,A> extending Posed with active state management
- Update spine.h to include new pose system headers
This implements the foundational pose architecture required for the 4.3-beta
constraint system overhaul. The new pose-based system provides better separation
of concerns and enables more flexible constraint management.
* [c][cpp] Port of commit f1e0f0f: Fixed animation not being mixed out in some cases. #2786
* [c][cpp] Format.
---------
Co-authored-by: Davide Tantillo <iamdjj@gmail.com>
* [c][cpp] Port of commit f1e0f0f: Fixed animation not being mixed out in some cases. #2786
* [c][cpp] Format.
---------
Co-authored-by: Davide Tantillo <iamdjj@gmail.com>
* update Swift inteface for more fine grained control
- move instance method to static method which does not require spine cpp pointer
- implement equality and hashing based on cpp pointer so that it can be stored in collection and compare it
- expose Atlas image count property so that the user can load the atlas resource lazily
- User can now Create Atlas by using Altas static function, and fetch whole resource path by iterating count of atlas page count
* [iOS] fix wrong y-axis alignment
- All links to forum posts have been updated.
- All links to Spine documentation have been updated to be accurate. This includes the Editor docs and specific Runtimes docs.
- Removes the doc link to the out-of-date spine-cocos2d-objc runtime and replaces it with spine-sdl.
- Links to external frameworks and tools have been corrected.
Tested using the spine-sdl runtime and cloud-pot example for both spine-c and spine-cpp.
spine-c's PhysicsConstraint.c has the gravity inverted as it will need to be inverted if the runtime is y-down rather than y-up.
If the runtime is y-up, remove the negative sign and parentheses from self->gravity in line 143.
* [ios] Using UnsafeBufferPointer to skip data copying and boost performance.
* [ios] Fix the extra data copying caused by using and move the guard let condition to be earlier