Mario Zechner
c2c7697ea5
[libgdx] Prettify Gradle build.
2022-01-23 02:16:39 +01:00
Mario Zechner
c2ada54edc
[libgdx] Gradleify all projects, switch to LWJGL3
2022-01-23 02:10:07 +01:00
Nathan Sweet
7138baa615
Merge branch '4.1-beta' into 4.1-beta-physics
2022-01-18 14:27:53 -04:00
Nathan Sweet
d57653772f
Javadoc.
2022-01-18 14:27:40 -04:00
Nathan Sweet
895b836ea4
Javadoc.
2022-01-18 14:18:07 -04:00
Nathan Sweet
c21891835d
Added TrackEntry#shortestRotation.
2022-01-18 14:17:41 -04:00
Nathan Sweet
767a86025c
Added TrackEntry#shortestRotation.
2022-01-18 14:15:21 -04:00
Nathan Sweet
5093fadd22
Javadocs.
2021-12-13 15:42:22 -04:00
Nathan Sweet
a898aed293
Added pingpongReverse to SequenceTimeline.
2021-12-13 15:07:40 -04:00
Nathan Sweet
609253f5ac
Merge branch '4.1-beta' into 4.1-beta-physics
...
# Conflicts:
# spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/attachments/MeshAttachment.java
# spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/attachments/RegionAttachment.java
2021-11-19 09:08:36 -04:00
Mario Zechner
c7b54dc9b3
[libgdx] Fix copy constructor of region and mesh attachments
...
Only copy sequence if != null.
2021-11-04 17:13:00 +01:00
Nathan Sweet
f5eed7a889
Fixed attachment copy bugs.
2021-10-15 22:28:54 -10:00
Nathan Sweet
45f59dc86f
Merge branch '4.1-beta' into 4.1-beta-physics
2021-10-13 18:10:20 -10:00
Mario Zechner
e87757ef57
Update version strings to 4.1(.xx)
2021-10-14 00:47:13 +02:00
Mario Zechner
73861995de
[libgdx] Bump version to 4.1
2021-10-14 00:30:43 +02:00
Mario Zechner
a12e3ffe37
[libgdx] Fix SequenceTimeline JSON parsing
...
"stop" -> "hold"
2021-10-14 00:26:52 +02:00
badlogic
a0f1ed1b9b
[runtimes] Fixed and updated example exports with 4.1.04-beta
...
- Fixed SkeletonBinary.ts
- Updated dragon example to use sequences
2021-10-13 17:52:34 +02:00
Nathan Sweet
c33326e872
Changed physics to match new plan.
2021-10-09 21:22:50 -10:00
Nathan Sweet
0c269a07d6
Spring constraint -> physics constraint.
2021-10-09 15:38:36 -10:00
Nathan Sweet
02a85972de
Javadocs. Don't use generics for Sequence#apply.
2021-10-07 22:26:44 -10:00
Nathan Sweet
7155626dc0
Fixed sequence leading zeros.
2021-10-06 01:52:39 -10:00
Nathan Sweet
34870fd759
Sequence clean up.
...
* Removed unused generics.
* Sequence missing from copy constructors.
* Renamed stop->hold.
2021-10-05 19:46:19 -10:00
Nathan Sweet
39afd0e7ea
Add small value to sequence timeline for float inaccuracy.
2021-10-05 00:35:54 -10:00
Nathan Sweet
f3b7d2acb2
Sequence playReverse -> onceReverse.
2021-10-04 23:59:40 -10:00
Nathan Sweet
a037fbbb31
Sequence play -> once.
2021-10-04 23:42:03 -10:00
Nathan Sweet
35347bf6a3
Only update the region if the attachment has a region.
2021-10-04 22:20:06 -10:00
Nathan Sweet
d798334a5e
Sequence attachment fixes.
2021-10-04 20:48:58 -10:00
Nathan Sweet
f7ae127115
Changed AnimationState animation time so it continues past animation end if non-looping and animation end is >= animation duration.
...
This allows sequences to continue to play in the common case where animation end is not being used to stop the animation early.
2021-10-04 00:58:42 -10:00
Nathan Sweet
515d238886
JSON and binary loading for sequences.
2021-10-04 00:57:25 -10:00
Nathan Sweet
eb5e19036d
Attachment name in slot attachment timelines is now optional.
2021-10-04 00:21:02 -10:00
Nathan Sweet
3cb04204f4
Clean up.
2021-10-02 03:03:22 -10: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
920604dff7
TextureRegionAttachment -> HasTextureRegion.
2021-09-25 23:04:56 -10:00
Nathan Sweet
f4e893ef88
Clean up.
2021-09-25 20:34:25 -10:00
Nathan Sweet
ff95b27bf6
Load sequence attachments from JSON.
...
EsotericSoftware/spine-editor#9
2021-09-24 21:08:53 -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
772f69be41
Initial commit for spring constraints.
2021-09-22 00:21:59 -10:00
Nathan Sweet
2614811ef8
Find bones and slots by index, not name.
2021-09-21 21:42:39 -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
Nathan Sweet
036b02a917
Javadoc for chain scale bone parent requirement.
2021-09-19 19:30:25 -10:00
Nathan Sweet
77774608bf
[as3][c][cpp][csharp][libgdx][lua][ts] Fixed updateAppliedTransform for the root bone.
2021-09-16 17:00:10 -06:00
Nathan Sweet
f4021177f9
[as3][c][cpp][csharp][libgdx][lua][ts] Don't treat scale sign as an instant transition when applying a timeline additively.
2021-09-15 00:28:43 -06:00
Nathan Sweet
0e3722861f
[libgdx] Skeleton Viewer, allow setting setup pose every frame. Store linear.
2021-09-15 00:07:30 -06:00
Mario Zechner
67c0d39eab
[runtimes] Fixed owl example project, export and runtime scripts
...
The owl example project was not keying the control bone, leading to incorrect additive blending. The export.sh and runtimes.sh script in example/export did not account for the folder structure change in spine-ts.
2021-09-14 00:02:04 +02:00
Nathan Sweet
afa9a873ad
SkeletonViewer, don't show "Reloaded" if the loading failed.
2021-09-12 18:15:35 -06:00
Nathan Sweet
dc9a6ebe7f
[as3][c][cpp][csharp][libgdx][lua][ts] Fixed loading transform constraint timelines from JSON data.
...
* Fixed SkeletonJson not allocating enough memory for curves (maximum of 6 curves/key, not 4). Fixes email: FMfcgzGkbDfvckWcFxWlsTWzFhMXsTDw
* Removed SkeletonData and Skeleton methods: findBoneIndex, findSlotIndex. Bones and slots have an index field that should be used instead.
* Removed SkeletonData and Skeleton methods: find*ConstraintIndex. Only SkeletonJson needed these, they don't need to be in the public API.
* Used a local for number of frames where it was used many times.
2021-09-12 18:15:19 -06:00
Nathan Sweet
efac69ee7a
Fixed scale of constrained bones with transform constraint relative + local.
2021-09-06 19:54:17 -06:00
Nathan Sweet
ea6b595036
[libgdx] Updated JsonRollback for older Java compilers.
2021-09-02 00:00:34 -06:00
Nathan Sweet
d9b882eaef
[libgdx] Added TrackEntry#isEmptyAnimation.
2021-08-30 11:36:26 -06:00