45 Commits

Author SHA1 Message Date
Nathan Sweet
d856ece2f2 SkeletonJson clean up. 2021-06-06 23:18:12 -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
7aa940a961 Fixes for reading mix X/Y. 2021-06-03 15:33:48 -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
6d7f29718b [ts] Fix parsing of spacing mode proportional for JSON files. 2021-04-14 17:45:39 +02:00
badlogic
88f0d98dd2 [ts] Finished 4.0 port. See #1796 2020-11-27 17:53:27 +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
b67bf992a0 Single bone IK fix and license header update. Closes #1580, closes #1581. 2019-12-20 12:20:46 +01:00
badlogic
5eb76df99f [ts] Fixed curve parsing in SkeletonJson. Closes #1537. 2019-11-15 12:57:36 +01:00
badlogic
4410672ce2 [ts] Updated all core API documentation. See #1506. 2019-10-03 16:43:46 +02:00
badlogic
a4f92ccf21 [ts] Fixed resolving transform and path constraints when loading skin bones and constraints. 2019-07-16 18:36:46 +02:00
badlogic
9643a27dce [ts] Scale IK constraint and timeline data. See #1383. 2019-06-20 10:33:28 +02:00
badlogic
5776e2467a [ts] Added soft IK support. See #1383. 2019-06-19 13:55:51 +02:00
badlogic
4ca84774a3 [ts] Fixed SkeletonJson#readCurve. 2019-06-05 14:11:37 +02:00
badlogic
3aa14d9b86 [ts] Ported skin bones/constraints changes. See #1346. 2019-06-04 15:53:34 +02:00
badlogic
f9e4fd495d [ts] Ported all skin API changes, see #841. 2019-06-03 16:20:19 +02:00
badlogic
576c1da32f [ts] Ported skin API changes, see #841. 2019-05-10 15:07:06 +02:00
badlogic
09130b15df Merge branch '3.7' into 3.8-beta 2019-05-02 11:43:36 +02:00
badlogic
7f7e5f0fec Updated license headers and LICENSE files. 2019-05-02 11:38:19 +02:00
badlogic
cfb1e8c5f0 [ts] Ported addition of x/y bounding coordinates to SkeletonData. See #1325. 2019-04-16 13:52:56 +02:00
badlogic
a4584a1a1c [ts] Added event volume and balance, see #1171. 2018-09-06 14:45:55 +02:00
badlogic
18f2ccf480 [ts] Ported addition of uniform/compressed IK and rotation fix. See #1163. 2018-08-23 15:23:18 +02:00
Mario Zechner
cdc2d5bc88 [ts] Ported stretchy IK. See #1142. 2018-08-06 15:09:08 +02:00
Ivan Popelyshev
720b9c316b Single precision: Backport from pixi-spine (#964) 2017-08-04 17:14:55 +02:00
badlogic
54cb4dfa02 [ts] Closes #914, loading of PathAttachment lengths in SkeletonJson was incorrect 2017-06-04 11:47:15 +02:00
badlogic
778055ae5b [ts] Added ClippingAttachment and loading in SkeletonJson. Updated coin example 2017-04-11 15:30:34 +02:00
badlogic
9eb42b65f2 [ts] Added 2 color tinting support, made it default, barely a performance difference. You can disable it via the constructors of SceneRenderer, SkeletonRenderer and PolygonBatcher, depending on which level of granularity you use. Also fixed performance issue submitting geometry as STATIC_DRAW instead of DYNAMIC_DRAW. Fixed another performance issue regarding size of buffer data that's being updated. 2017-02-24 15:00:30 +01:00
badlogic
9cd5f25cdb [ts] Moved conversion to typed array to minimize allocations 2017-02-23 13:33:40 +01:00
badlogic
0b8913691a [ts] Closes #838, modified vertices of input JSON when reading mesh attachment. Breaks when input JSON is reused 2017-02-21 11:48:07 +01:00
badlogic
f617ff635f [runtimes] Added parsing of local/relative properties of TransformConstraints in SkeletonJson 2017-02-20 11:22:26 +01:00
badlogic
be1a2e3cbb Fixed bug in SkeletonJson, used = instead of == in condition. Fixed vertex component order for mesh attachment. Fixed SkeletonRenderer. 2017-01-26 14:52:04 +01:00
badlogic
fcade28c7a [ts] Updated to 3.6-beta, changes to updateWorldVertices (now computeWorldVertices) for attachments, two color timeline, point attachment, transform constraint local and relative modes. Meshes don't render yet in WebGL backend. Need to update other backends as well. 2017-01-25 16:55:39 +01:00
badlogic
bb7e474f7a [lua][ts] Ported some post 3.5 changes 2016-11-01 14:39:43 +01:00
NathanSweet
e2c870ff0c Formatting. 2016-10-27 16:23:02 +02:00
badlogic
bf5f0d808e [ts] Updated to 3.5, constraint order from export, applied bone attributes. Changes to Animation and AnimationState have not been ported yet 2016-10-17 13:48:12 +02:00
NathanSweet
c0fdc454a2 Fixed inconsistent newlines.
License header was followed by \n\n and files ended with \n. Changed to \r\n.
2016-10-15 23:45:16 +02:00
NathanSweet
7a18f0818c Every space in its place! (tm)
(whitespace clean up)
2016-10-15 23:15:41 +02:00
badlogic
5aa27771c3 [runtimes] Updated ALL sources to use latest Spine Runtimes License v2.5. Manually checked all the things... 2016-10-13 15:12:05 +02:00
badlogic
1c74823b2f [ts] Refactored demos to share assets as much as possible. Added SharedAssetManager for that purpose 2016-09-02 11:22:04 +02:00
badlogic
ef4b04756c [ts] Added ShapeRenderer and SkeletonDebugRenderer, added to WebGL test 2016-08-23 14:11:45 +02:00
badlogic
55795ac3e0 [ts] Closes #677, closes #678. IKConstraintData.mix wasn't parsed properly in SkeletonJson. Widget has to apply skin before calculating setup pose bounds 2016-08-22 13:14:58 +02:00
Nathan Sweet
698c4a1661 [ts] Added spine-ts runtime for TypeScript and JavaScript 2016-08-12 09:28:50 +02:00