51 Commits

Author SHA1 Message Date
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
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
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
688d855006 [runtimes] Updated examples with Editor version 4.0.58-beta. 2021-03-01 10:05:26 +01:00
badlogic
9087ed61ae [ts] Updated parser to new atlas format
Not quite working yet.
2020-12-28 12:11:25 +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
Nathan Sweet
98a6c8f696 Exported examples with export.sh 4.0.05-beta and ran runtimes.sh. 2020-10-10 16:22:40 -07:00
badlogic
b67bf992a0 Single bone IK fix and license header update. Closes #1580, closes #1581. 2019-12-20 12:20:46 +01:00
badlogic
033703e900 [player] Implemented generator reset. 2019-12-14 02:29:32 +01:00
badlogic
121467572c [player] Added Player.stopRendering() to interrupt the requestAnimationFrame loop. 2019-12-14 02:19:22 +01:00
badlogic
a5428585e2 [player] Reworked generator. 2019-12-14 01:57:01 +01:00
badlogic
a2bae9dea4 [ts] Generator background image UI and application. 2019-11-28 10:35:16 +01:00
badlogic
c37916a731 [ts][player] Only accept background image bounds if fully specified. 2019-11-27 15:15:56 +01:00
badlogic
fca2f0c7af [ts] web player generator. 2019-11-26 18:12:13 +01:00
badlogic
16bd92f443 [ts][player] Added asset embedding examples for Spine Web Player. 2019-11-07 15:42:14 +01:00
badlogic
8e0a2e0c75 [ts][player] Added AssetManager.setRawDataURI(path, name). Allows to set a path and corresponding raw data URI which enables embedding of resources like skeletons, atlases, and so on directly in HTML/JS. Added SpinePlayerConfig.rawDataURIs, see the player example for a demonstration. Also closes #1541, closes #1539. 2019-11-05 15:20:50 +01:00
NathanSweet
842dffbd83 [all] Source clean up, formatting, and tabs for indentation. 2019-08-27 15:57:14 +02:00
badlogic
bb51ec7f23 Updated examples, removed stretch-ik stretchyman. 2019-08-05 17:31:15 +02:00
badlogic
ae6892cdfd [ts][player] Improved check if only one skin/animation should be allowed and display buttons accordingly. 2019-07-09 16:58:24 +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
5f13f1b8e6 Exported all examples with 3.8.25-beta to include file format changes in .json and .skel files. 2019-06-19 16:56:47 +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
ca3916dad8 [ts] Added support for loading binaries via SkeletonBinary. Player configuration object now lets you specify skelUrl instead of jsonUrl to load from a binary file. Updated demos to use .skel files instead of .json. 2019-06-07 17:21:53 +02:00
badlogic
1ec6e26b71 Updated example exports and copies in runtime example projects to the latest .json and .skel formats. 2019-06-05 11:20:43 +02:00
badlogic
3aa14d9b86 [ts] Ported skin bones/constraints changes. See #1346. 2019-06-04 15:53:34 +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
c68d85a1fc [c][cpp] Ported addition of x/y bounding coordinates to SkeletonData. See #1325. 2019-04-16 14:06:41 +02:00
badlogic
4406cdfba0 Updated examples in example projects. 2019-02-19 15:59:30 +01:00
badlogic
c9e760a025 [ts][player] Closes #1279, expose setAnimation(). 2019-02-14 11:43:17 +01:00
badlogic
1cf8a72e30 [ts][player] Closes #1238, disable pause/play when controls are hidden via options. 2019-01-03 13:43:23 +01:00
badlogic
52f9ab8984 [ts] Port of mesh whitespaces stripping. See #1232. 2018-12-22 13:07:10 +01:00
badlogic
2433a87792 [ts][player] Fixes 1233, list item min width needs to be set for Firefox on Windows. 2018-12-22 11:54:10 +01:00
badlogic
96a2386609 [ts][player] PMA by default. 2018-12-20 18:33:16 +01:00
badlogic
61f4165dae [ts][player] iframe content is base64 encoded now. 2018-12-20 17:19:13 +01:00
badlogic
1a0b0543e3 [ts][player] Media query to change editor/player layout on small screens. 2018-12-20 16:24:20 +01:00
badlogic
660a507221 [ts][player] Media query to change editor/player layout on small screens. 2018-12-20 16:21:58 +01:00
badlogic
9409a772c6 [ts][player] Fixes for default post/prefix. 2018-12-20 15:27:32 +01:00
badlogic
0d6deee210 [ts][player] Added embedable player code editor. 2018-12-20 15:22:23 +01:00
badlogic
ac45cc9154 [ts][player] Closes #1231. 2018-12-17 18:53:48 +01:00
badlogic
ba33942a45 [ts][player] Fixed constructor. 2018-12-17 18:43:42 +01:00
badlogic
d1172cc785 [ts][player] Handle touch events for hover. 2018-12-17 18:35:29 +01:00
badlogic
65511c6581 [ts][player] Longer delay for control hiding. 2018-12-17 18:26:29 +01:00
badlogic
43227961ce [ts][player] Click on canvas will now pause/resume player ala YouTube. 2018-12-17 18:17:18 +01:00
badlogic
d5ee59558a [ts][player] constructor now takes string in addition to HTMLElement, hover behaviour now similar to YouTube. 2018-12-17 18:00:44 +01:00
badlogic
7a3ec78638 [ts][player] decreased delay for when mouse leaves player area and controls are hidden. 2018-12-17 17:04:58 +01:00