Mario Zechner
8bb38a7fb0
[ts] Ensure clipper.clipEnd() is called appropriately. See #1694
2021-06-14 15:20:08 +02:00
Nathan Sweet
3e16d21e3d
[ts] README update for canvas.
2021-06-11 16:36:26 -04:00
badlogic
cf24f5d678
Merge branch '3.8' into 4.0-beta
...
# Conflicts:
# spine-libgdx/spine-libgdx/pom.xml
# spine-libgdx/spine-skeletonviewer/src/com/esotericsoftware/spine/SkeletonViewer.java
# spine-ts/build/spine-all.js.map
# spine-ts/build/spine-canvas.js.map
# spine-ts/build/spine-core.js.map
# spine-ts/build/spine-player.js.map
# spine-ts/build/spine-threejs.js.map
# spine-ts/build/spine-webgl.js.map
2021-06-10 15:10:00 +02:00
badlogic
6314eaf908
[webgl] Fix worker mode, closes #1804
2021-06-10 15:05:13 +02:00
Nathan Sweet
0347c262e0
[ts, csharp] Revert RegionAttachment#UpdateOffset from csharp to ts, instead use ts code.
...
#1889
2021-06-10 00:04:28 -04:00
Nathan Sweet
aa752c49d4
[ts] Fixed canvas renderer not accounting for whitespace stripping.
...
closes #1889
2021-06-09 23:55:52 -04:00
badlogic
6ae45f1a5a
[ts] Port IK constraint changes
...
See
33bce01fee
f9862b10b3
2021-06-09 15:07:44 +02:00
Mario Zechner
c76cdccf88
[ts] Undo fixup in TextureAtlas. The change prevented multi-page atlas parsing from working due to !""==null in JS.
2021-06-07 13:27:47 +02:00
Nathan Sweet
d856ece2f2
SkeletonJson clean up.
2021-06-06 23:18:12 -04:00
Nathan Sweet
6428b82e1e
[lua] 4.0 port fixes.
2021-06-05 21:55:01 -04:00
Nathan Sweet
a5be08a62a
More clean up.
2021-06-05 21:16:36 -04:00
Nathan Sweet
700d2897a8
Various clean up.
2021-06-04 22:16:54 -04:00
Nathan Sweet
3ecf7929bf
[ts] Use constant values instead of static fields.
...
Even this ugliness is less ugly than TypeScript static field access. Smaller too.
2021-06-04 01:35:59 -04:00
Nathan Sweet
afcd899bca
[ts] Removed error checking in loaders.
...
Safe to assume the data is valid. If not the ref impl can be used to check it, which has error checks.
2021-06-04 00:54:45 -04:00
Nathan Sweet
7df74c2fa4
Various fixes, clean up.
...
* Added missing CurveTimeline#shrink calls. c and cpp got BOZO comments until the method is added.
* SkeletonJson#readCurve clean up.
* ts, use shorthand for null checks.
* csharp, don't use unnecessary hasNext local.
2021-06-03 21:42:35 -04:00
Nathan Sweet
11ea258d8e
[ts] Example loads both JSON and binary.
2021-06-03 18:03:32 -04:00
Nathan Sweet
7aa940a961
Fixes for reading mix X/Y.
2021-06-03 15:33:48 -04:00
Mario Zechner
315ad0e523
[ts] Update build artifacts.
2021-05-31 11:49:37 +02:00
Nathan Sweet
81744da44a
[ts] Port of fix for applying a constraint reverting changes from other constraints.
...
#1896
2021-05-31 01:42:33 -04:00
Nathan Sweet
6dfae6df3c
Missing port: Fixed AnimationState crash when the number of timelines changes during a mix.
...
Ref impl commit: b99df7286aa933411f90eda6dbdeffd936058ae4
2021-05-31 01:26:41 -04:00
Nathan Sweet
551f33b2d1
[ts] Clean up, build fixes.
2021-05-30 20:17:54 -04:00
Nathan Sweet
05327b8d11
[ts] Clean up.
2021-05-30 16:53:56 -04:00
Nathan Sweet
80734017e0
[as3] Use function to get JSON values, better matches spine-ts.
2021-05-30 13:02:28 -04:00
badlogic
9bcb5c16c4
Merge branch '3.8' of https://github.com/esotericsoftware/spine-runtimes into 3.8
2021-05-27 17:41:08 +02:00
badlogic
5c1d4c4369
[ts][player] Made Player.setAnimation() public and added a loop parameter. See player example on how to manually trigger animations.
2021-05-27 17:40:13 +02:00
badlogic
34ccbce8fd
[ts] Fix build artifacts after merge.
2021-05-18 12:00:10 +02:00
Harald Csaszar
646b2934bc
Merge branch '3.8' into 4.0-beta
...
Note: the following files were resoluved using ours (4.0-beta state):
- spine-ts/build/spine-all.js.map
- spine-ts/build/spine-player.js.map
2021-05-18 11:37:44 +02:00
badlogic
69647313ef
[ts][player] Better error message serialization.
2021-05-17 13:33:25 +02:00
badlogic
bef00617d7
[ts] Fix applying attachment timeline in AnimationState
...
AnimatinState.setAttachment was directly setting the slot.attachment field instead of calling the setter. This caused the deform array from a previous attachment to linger around and be applied to the current attachment incorrectly.
2021-05-06 15:42:58 +02:00
Ivan Popelyshev
a28296f1dc
fix link ( #1882 )
2021-04-29 13:50:08 +02:00
badlogic
dd47866f35
[ts] New articacts including the mesh attachment fix.
2021-04-27 13:34:26 +02:00
Anton
a0ab3fe80c
BUGFIX: mesh attachment squashing ( #1881 )
2021-04-27 13:32:20 +02:00
badlogic
6d7f29718b
[ts] Fix parsing of spacing mode proportional for JSON files.
2021-04-14 17:45:39 +02:00
badlogic
01902e2393
Merge branch '3.8' into 4.0-beta
2021-04-06 19:05:52 +02:00
badlogic
748a03c7d7
[ts] Fix for NaN bounds
...
This is a temporary fix. Customer send reproduction sample. A slot has a mesh and corresponding deform. The number of vertices in the mesh is != the number of vertices in the deform, resulting in NaNs, which propagate to the bounds calculation of the web player. It is unclear how the mesh and deform can have a different number of vertices.
2021-04-06 14:13:04 +02:00
badlogic
7b154fb92f
[cpp] More 4.0 porting, all of animation and timelines.
2021-03-03 16:46:54 +01:00
Nathan Sweet
8c4d03c8be
Fixed reading path constraint mix timelines in binary data.
2021-03-01 18:18:05 +01:00
badlogic
688d855006
[runtimes] Updated examples with Editor version 4.0.58-beta.
2021-03-01 10:05:26 +01:00
badlogic
20bca55b93
[ts] Fixed atlas parsing.
2020-12-29 16:37:46 +01:00
badlogic
9087ed61ae
[ts] Updated parser to new atlas format
...
Not quite working yet.
2020-12-28 12:11:25 +01:00
badlogic
1ca4f915ee
[ts] Fix translation for transform constraint relative world mode
2020-12-03 14:37:35 +01:00
badlogic
55b21db1c3
[ts] Updated artifacts.
2020-11-27 18:48:59 +01:00
badlogic
ae6eda01f7
Merge branch '3.8' into 4.0-beta
...
# Conflicts:
# spine-ts/build/spine-all.js.map
# spine-ts/build/spine-canvas.js.map
# spine-ts/build/spine-core.js.map
# spine-ts/build/spine-player.js.map
# spine-ts/build/spine-threejs.js.map
# spine-ts/build/spine-webgl.js.map
# spine-ts/canvas/example/assets/spineboy-ess.json
# spine-ts/canvas/example/assets/spineboy.png
# spine-ts/player/example/assets/raptor-pma.png
# spine-ts/player/example/assets/raptor-pro.json
# spine-ts/player/example/assets/spineboy-pma.png
# spine-ts/player/example/assets/spineboy-pro.skel
# spine-ts/threejs/example/assets/raptor-pro.json
# spine-ts/threejs/example/assets/raptor.png
# spine-ts/webgl/example/assets/coin-pro.skel
# spine-ts/webgl/example/assets/goblins-pro.skel
# spine-ts/webgl/example/assets/mix-and-match-pma.atlas
# spine-ts/webgl/example/assets/mix-and-match-pma.png
# spine-ts/webgl/example/assets/mix-and-match-pro.skel
# spine-ts/webgl/example/assets/owl-pma.png
# spine-ts/webgl/example/assets/owl-pro.skel
# spine-ts/webgl/example/assets/raptor-pma.png
# spine-ts/webgl/example/assets/raptor-pro.skel
# spine-ts/webgl/example/assets/spineboy-pma.png
# spine-ts/webgl/example/assets/spineboy-pro.skel
# spine-ts/webgl/example/assets/spineboy.png
# spine-ts/webgl/example/assets/stretchyman-pro.skel
# spine-ts/webgl/example/assets/tank-pma.atlas
# spine-ts/webgl/example/assets/tank-pma.png
# spine-ts/webgl/example/assets/tank-pro.skel
# spine-ts/webgl/example/assets/vine-pro.skel
2020-11-27 18:47:44 +01:00
badlogic
490d169ea2
[ts] Closes #1804 .
2020-11-27 18:45:18 +01:00
badlogic
88f0d98dd2
[ts] Finished 4.0 port. See #1796
2020-11-27 17:53:27 +01:00
badlogic
94813204df
[ts] More porting, fixed SkeletonBinary.
2020-11-26 17:25:25 +01:00
badlogic
cf728e25dc
[ts] More 4.0 porting, SkeletonJson and SkeletonBinary still broken.
2020-11-25 17:16:05 +01:00
badlogic
3863828c3e
[ts] Port of 4.0 changes, some kinks to be ironed out yet.
...
[ts] Add .json exports to WebGL assets dir for tests.
[ts] She loads, but she no play nice.
2020-11-11 13:11:30 +01:00
badlogic
ee3f088e6c
Merge branch '3.8' into 4.0-beta
2020-10-23 11:26:34 +02:00
badlogic
ebaa3a8756
[ts] Fix up #1762 for canvas backend.
2020-10-21 14:29:28 +02:00