Nathan Sweet
ccb14771f8
[libgdx] Prefer SpineUtils over MathUtils.
2023-10-12 15:14:51 -04:00
Nathan Sweet
95ce8a5547
[libgdx] Binary, timelines, physics updates.
...
* Refactored timelines for code reuse.
* Added physics timelines.
* Improved physics behavior.
* Optimized binary format for ~7% size reduction.
* Added physics to binary format.
* Changed rotation normalization to ceil.
* Added bone icon as nonessential data.
2023-10-10 22:00:09 -04:00
Nathan Sweet
55bb8fc65a
[libgdx] SkeletonViewer reload button retries last file if it failed. Smaller minimized size.
2023-10-08 14:13:10 -04:00
Nathan Sweet
008541ef8e
[libgdx] Scale physics wind and gravity for translation, scale rotation for shear X.
2023-10-01 14:37:49 -04:00
Nathan Sweet
831ec8f622
[libgdx] Physics update.
...
Still WIP, but close.
2023-10-01 01:05:11 -04:00
Nathan Sweet
ae85b7223d
[libgdx] Javadoc.
2023-10-01 00:11:48 -04:00
Nathan Sweet
4116af02fa
[libgdx] Added a Physics enum to updateWorldTransform and Updateable#update to control how physics and other non-deterministic updates are applied.
2023-09-28 16:35:25 -04:00
Nathan Sweet
9678808aaf
[libgdx] Added SkeletonActor# and SkeletonDrawable#updateWorldTransform for subclasses to override.
2023-09-28 16:35:25 -04:00
Nathan Sweet
a70e8f1e28
[libgdx] Added AnimationState#wasApplied.
2023-09-28 16:35:25 -04:00
Nathan Sweet
546d55a929
[libgdx] Fixed reading shearY mix for transform constraint timelines.
2023-09-28 16:35:25 -04:00
Mario Zechner
74b7882efa
Merge branch '4.1' into 4.2-beta
2023-07-31 13:29:29 +02:00
Mario Zechner
4047f1ba07
Updated license headers.
2023-07-31 13:29:16 +02:00
Nathan Sweet
669bac65ef
Revert physics constraint to an empty implementation.
2023-07-28 12:54:56 -04:00
Nathan Sweet
d65311dba0
[libgdx] Added worldToParent and parentToWorld so application code doesn't need to check the parent for null (when it is the root).
2023-07-26 13:41:57 -04:00
Jianan
bb6cf1194c
[libgdx] fix packedColor's color format of TwoColorPolygonBatch. The packedColor is abgr8888, not rgba888. ( #2295 )
2023-06-02 15:38:51 +02:00
Harald Csaszar
954ab69bce
Merge branch '4.1' into 4.2-beta
2023-04-06 13:30:38 +02:00
Nathan Sweet
e04e7b58f3
Adjusted fix for IK constraint NaN when parent has zero scale.
2023-04-05 17:58:42 -04:00
Nathan Sweet
3fd5ed2287
Fixed IK constraint NaN when a parent bone has zero scale.
2023-04-04 20:07:21 -04:00
Harald Csaszar
cefdf8394d
Merge branch '4.1' into 4.2-beta
2023-02-21 20:08:35 +01:00
UjNoaUlFVjJjbXNnU1dacQ==
a3888f5e99
Update README.md ( #2254 )
...
typo
2023-02-21 09:30:11 +01:00
Nathan Sweet
cc6f25340c
Javadoc.
2023-02-15 11:50:04 -04:00
Nathan Sweet
9ac1d77d32
WIP
2023-02-15 11:50:04 -04:00
Mario Zechner
4263beea50
[flutter] More doc comments for core API.
2023-02-09 09:08:29 +01:00
Mario Zechner
98da436374
[libgdx] Update BoneData docs.
2023-02-08 11:48:37 +01:00
Mario Zechner
1891d00025
Merge branch '4.1' into 4.2-beta
2023-01-16 14:00:14 +01:00
Mario Zechner
e5585ab162
[libgdx] Update to latest libGDX SNAPSHOT.
2023-01-16 13:21:04 +01:00
Nathan Sweet
92164921a5
Cleaned up trigonometry.
...
* Do one conversion to radians for sin and cos.
* Added atan2Deg.
* PathConstraint wasn't using SpineUtils.
* PointAttachment was using MathUtils.
2023-01-13 22:59:15 -04:00
Nathan Sweet
45c51b0c4f
WIP
...
attachmentThreshold for alpha
setMixDuration changes? delay, delayRemaining
2023-01-13 22:59:15 -04:00
Nathan Sweet
4bad9ec25e
[libgdx] Fixed typo in transform constraint shortcut for 0 mix.
2022-11-30 12:57:49 -04:00
Nathan Sweet
e87e387091
[libgdx] Fixed typo in transform constraint shortcut for 0 mix.
2022-11-30 12:57:26 -04:00
Nathan Sweet
be31d01b99
Merge branch '4.1' into 4.2-beta
2022-11-29 21:15:30 -04:00
Nathan Sweet
18e2fadbf0
Added chibi-stickers example project.
2022-11-29 21:14:07 -04:00
badlogic
9971d1ed0b
Merge branch '4.1' into 4.2-beta
2022-11-08 15:37:54 +01:00
Nathan Sweet
c9af18e153
[libgdx] Javadoc.
2022-11-06 13:10:34 -04:00
Nathan Sweet
08e08531d8
Fixed rope springs.
2022-10-27 11:27:43 -04:00
Nathan Sweet
dffd590966
[libgdx] Physics progress, springs have a bone for rotate/scale.
2022-10-25 21:41:24 -04:00
Nathan Sweet
c2e323937d
[libgdx] Use SpineUtils static import.
2022-10-25 11:21:05 -04:00
Nathan Sweet
e9d576185c
[libgdx] Avoid a sqrt for 1 bone IK with stretch/compress.
2022-10-25 11:21:05 -04:00
Nathan Sweet
1e820253d1
[libgdx] Physics update.
2022-10-18 12:20:14 -04:00
Nathan Sweet
9ed46c4ee1
[libgdx] PhysicsConstraint fixes, bone control.
2022-10-08 15:34:02 -04:00
Nathan Sweet
23729f8eee
[libgdx] Physics debug rendering for Skeleton Viewer.
2022-10-07 11:52:30 -04:00
Nathan Sweet
3ea4f66642
[libgdx] AnimationState, fixed rotation mix when direction changes.
...
closes #2158
2022-10-05 22:31:53 -04:00
Harald Csaszar
05d152867b
Merge branch '4.1' into 4.2-beta
2022-10-03 11:00:14 +02:00
Nathan Sweet
5d1852662c
[libgdx] SkeletonViewer, don't use additive for track 0. Improved UI disable states.
2022-09-29 11:43:05 -04:00
Mario Zechner
c590944a51
Merge branch '4.1' into 4.2-beta
...
# Conflicts:
# spine-cocos2dx/README.md
# spine-godot/spine_godot/SpineSprite.cpp
# spine-sdl/src/spine-sdl-cpp.cpp
# spine-sfml/cpp/src/spine/spine-sfml.cpp
2022-09-15 08:39:43 +02:00
Mario Zechner
975a3fa30a
[libgdx] Fix UVs for null region in RegionAttachment.updateRegion()
2022-09-15 07:48:58 +02:00
Mario Zechner
a908bd9c6f
Merge branch '4.1' into 4.2-beta
2022-09-14 10:53:23 +02:00
Nathan Sweet
d6adbe96d8
[libgdx] Allow calling RegionAttachment#updateRegion when region is null.
...
Mesh already allows this. SkeletonJson/Binary call `updateRegion` when the sequence is null, which fails before this commit if the attachment loader doesn't set a region. That is a valid usecase, eg to set regions later.
This also orders setting the UVs array indices to 0-7.
2022-09-13 18:12:31 -04:00
Nathan Sweet
537978eb0a
[libgdx] Fixed Skeleton Viewer not closing in some cases.
2022-09-13 18:12:09 -04:00
Nathan Sweet
efb015ef4e
[libgdx] Fixed updateAppliedTransform when transformMode != normal.
...
Test with:
http://n4te.com/x/5349-disable-inherit-test.spine
Change bone B to not inherit various transform properties, observe behavior in animation.
2022-09-10 12:08:22 -04:00