127 Commits

Author SHA1 Message Date
Mario Zechner
97d49b37b7 License header update 2025-05-26 13:24:06 +02:00
Luke Ingram
e9cce58a1f [libgdx] Updates the Spine Runtimes License Agreement date, updates links to documentation. 2024-12-09 19:02:05 -04:00
Nathan Sweet
4214e8a8e6 [libgdx] Added an example for SkeletonActor. 2024-05-17 10:23:36 -04:00
Mario Zechner
26d9dee67c [libgdx] Fix example, prepare for Maven release 2024-04-16 15:39:17 +02:00
Mario Zechner
6bcef32208 [libgdx] Added physics examples 2024-03-19 12:04:52 +01:00
Nathan Sweet
ec1d6028c0 [libgdx] Added skeleton.update(delta) to examples, even when physics is not used.
Missed one.
2024-01-18 10:32:37 -04:00
Nathan Sweet
55550c3490 [libgdx] Added skeleton.update(delta) to examples, even when physics is not used. 2024-01-18 09:57:20 -04:00
Nathan Sweet
92986788c1 [libgdx] Changed SimpleTest1 back to JSON. 2024-01-10 16:42:12 -04:00
Nathan Sweet
9cd5b3b044 [libgdx] Fixed shear causing physics to explode. 2023-12-05 14:11:42 -04:00
Mario Zechner
24edbcbf6c [libgdx] Added physics dragging example 2023-12-05 17:38:49 +01:00
Mario Zechner
cceaf31107 [libgdx] Add second physics test to tests 2023-12-05 15:12:43 +01:00
Mario Zechner
02773518b1 [ts] Fix physics! 2023-12-05 15:10:38 +01: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
Mario Zechner
4047f1ba07 Updated license headers. 2023-07-31 13:29:16 +02:00
Mario Zechner
c056db02ee [libgdx] Remove VertexEffect, see #2076 2022-05-30 15:02:22 +02:00
Nathan Sweet
6d990fd1d1 [libgdx] Added PngExportTest. 2022-05-01 12:10:49 -04:00
Nathan Sweet
c47aa8eade [libgdx] Javadocs and clean up for tests. 2022-05-01 12:08:31 -04:00
Nathan Sweet
58ac2fa67e [libgdx] Fixed frame-by-frame test, added PNG export to spineboy example. 2022-05-01 11:29:29 -04:00
Mario Zechner
90537ca2d9 [libgdx] Gradleify all projects, switch to LWJGL3
# Conflicts:
#	spine-libgdx/build.gradle
2022-01-23 21:09:52 +01:00
Nathan Sweet
6e938b32ea Rewrote sequence attachment as a sequence property on region and mesh attachments. 2021-10-01 22:53:08 -10:00
Nathan Sweet
457aa3a894 Initial comment for sequence attachments (frame-by-frame).
EsotericSoftware/spine-editor#9
2021-09-24 21:00:26 -10:00
Nathan Sweet
96a998b82d Spine Runtimes License Agreement update (September 24, 2021). 2021-09-24 18:18:19 -10:00
Nathan Sweet
db92cb3667 Update the asset manager for only 16ms, not until the next asset is loaded.
https://github.com/libgdx/libgdx/wiki/Managing-your-assets#optimize-loading
2021-09-20 23:28:58 -10:00
badlogic
c2b1ecb195 [libgdx] Fix line endings, CRLF -> LF 2021-06-30 16:25:32 +02:00
Nathan Sweet
4f73fbbb39 [libgdx] Fixed applying a constraint reverting changes from other constraints.
Previously: When a bone in the update cache is updated, the local transform is used. This causes any applied transform to be lost, losing the pose from any previously applied constraints.

After this commit: Before processing the update cache, first all bones applied transform is set to the local transform. Next, when a bone in the update cache is updated, the applied transform is used. This keeps the pose from any previously applied constraints. Additionally, instead of using the `appliedValid` flag, the applied transform is always updated after making changes to the world transform.

Forum discussion:
http://esotericsoftware.com/forum/Editor-Parent-constraint-order-breaks-child-constraints-15774?p=69494#p69494
2021-05-25 13:12:55 -04:00
badlogic
f94113e4db Merge branch '3.8' into 4.0-beta 2021-05-07 12:02:36 +02:00
badlogic
e59d6be170 [libgdx] Closes #1886, use PolygonSpriteBatch in simple tests. 2021-05-07 12:01:15 +02:00
Nathan Sweet
af336cc23a [libgdx] Don't set font color every frame. 2021-03-15 12:37:41 +01:00
Nathan Sweet
4ecca69cff [libgdx] Added FboTest. Use ScreenUtils#clear. 2021-03-15 12:37:16 +01:00
Nathan Sweet
93695d5eed [libgdx] Added a frame-by-frame example. 2020-12-20 22:58:07 -08:00
Nathan Sweet
53c29ab95a Added SkeletonAssetManagerTest. 2020-12-02 11:49:47 -08:00
Nathan Sweet
79d2dbfa5f Merge branch '3.8' into 3.9-beta 2020-05-05 15:34:13 +02:00
Nathan Sweet
e649ef05b7 Added AnimationState listener tests for looping and queuing a second animation. 2020-05-01 20:48:35 +02:00
Nathan Sweet
077afcea09 [libgdx] Fixed curve values not being scaled when loading data. Added SkeletonLoader. Javadocs. 2020-04-21 17:34:11 +02:00
Nathan Sweet
45767d0e3d [libgdx] Cleaned up simple tests. 2020-04-21 10:04:53 +02:00
Nathan Sweet
24ff3258ec [libgdx] Fixed AnimationState tests.
Commit a321aa76d556a618a09abb3adeb7473a6c099304 added "|| timeline instanceof EventTimeline" to `computeHold`, so event timelines always use FIRST, never HOLD. This changed the timing slightly and broke the test, but the new timing is better.
2020-04-02 17:38:46 +02:00
NathanSweet
fef881730d Don't unbind shaders.
https://github.com/libgdx/libgdx/pull/5944
2020-03-11 11:30:30 +01:00
badlogic
934bec56b7 Merge branch '3.8' into 3.9-beta 2019-12-20 12:27:35 +01:00
badlogic
b67bf992a0 Single bone IK fix and license header update. Closes #1580, closes #1581. 2019-12-20 12:20:46 +01:00
badlogic
078a4a7b3c Merge branch '3.9-beta' of https://github.com/esotericsoftware/spine-runtimes into 3.9-beta 2019-10-28 14:10:04 +01:00
badlogic
2e5560ca0f Merge branch '3.8' into 3.9-beta 2019-10-28 14:09:38 +01:00
badlogic
656b08a32e [cocos2dx] Added IK example, see #1532. Also added SkeletonAnimation::setPreUpdateWorldTransformsListener() and SkeletonAnimation::setPostUpdateWorldTransformsListener(). 2019-10-28 14:07:25 +01:00
NathanSweet
93ca505864 Value space timelines, multiple property IDs per timeline, rotation not limited -180/180, clean up.
* Timeline is an abstract base class rather than an interface.
* Timelines have a list of String property IDs rather than a single int ID.
* CurveTimeline is separated into percent and value timelines and the API is cleaned up.
* CurveTimeline stores Bezier curves more efficiently. Linear/stepped keys used to take up memory they didn't use (18 floats/key).
* Binary format knows how many keys are Bezier up front for more efficient loading.
* RotateTimeline is no longer limited to -180/180.
* ScaleTimeline and ShearTimeline no longer extend TranslateTimeline.
* PathConstraintSpacingTimeline no longer extends PathConstraintPositionTimeline.
2019-10-26 15:00:58 +02:00
badlogic
4dd94dfb4d Merge branch '3.8' into 3.9-beta 2019-10-25 13:54:53 +02:00
badlogic
b9f8fb3b9e [libgdx] Added mouse following IK example. See #1532. 2019-10-24 16:49:53 +02:00
NathanSweet
eb1c382a3b [libgdx] Fixed tests.
AnimationStateTests failure was caused by a321aa76d556a618a09abb3adeb7473a6c099304, when `computeHold` was added, specifically `|| timeline instanceof EventTimeline`. The slight event order difference is unlikely to be an issue for anyone.
2019-10-14 13:59:39 +02:00
badlogic
f8f495524e Updated example exports, fixed up example projects with mix-and-match skin api demo. 2019-07-09 13:47:05 +02:00
badlogic
6850a019ec Updated examples again, final binary format change. 2019-06-19 18:02:20 +02:00
badlogic
5d974e4480 Added mix-and-match assets, modified export scripts, added libGDX sample. See #1375. 2019-06-13 15:58:16 +02:00
badlogic
8d0ffd08f0 [libgdx] deformAttachment is set for all vertex attachment types on copy. 2019-06-03 14:54:45 +02:00