1219 Commits

Author SHA1 Message Date
Nathan Sweet
1d45f50ef3 [libgdx] Removed debug physics checkbox from Skeleton Viewer. 2023-11-08 19:04:57 -04:00
Nathan Sweet
4f58767740 [libgdx] Added bone and slot visibility nonessential data. 2023-11-08 18:46:21 -04:00
Nathan Sweet
d4452009ae [libgdx] Fixed physics massInverse from JSON. 2023-11-08 17:50:52 -04:00
Nathan Sweet
c30e5828d1 [libgdx] Load physics constraints from JSON. 2023-11-08 17:39:41 -04:00
Nathan Sweet
3541d005a7 [libgdx] Physics mass -> massInverse. Timeline is not inverted. 2023-11-08 14:15:49 -04:00
Nathan Sweet
043a8ea9ae [libgdx] Removed last bits of friction. 2023-11-08 09:28:45 -04:00
Nathan Sweet
e894b10802 [libgdx] Added skin color to nonessential data. 2023-11-08 09:28:31 -04:00
Nathan Sweet
63202d339b [libgdx] Physics improvements. 2023-11-07 20:17:09 -04:00
Nathan Sweet
251b368cbf [libgdx] Physics scale fixes. 2023-11-06 17:50:03 -04:00
Nathan Sweet
b40b40ffe1 [libgdx] Physics WIP. 2023-11-06 17:50:03 -04:00
Nathan Sweet
45b27b2907 [libgdx] Fixed physics shear. 2023-11-06 17:50:03 -04:00
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