487 Commits

Author SHA1 Message Date
badlogic
1855870d37 [ts] Forcing text/html mimetype on text assets downloaded by AssetManager and SharedAssetManager. Closes #1583. 2020-01-11 15:03:13 +01:00
Matthias Matthäy
7311dc9931 Set image source after crossOrigin and event handlers to allow crossOrigin image loading (#1533) 2020-01-11 14:27:18 +01:00
badlogic
e60a60ccd5 [ts][threejs] SkeletonMesh now takes an option SkeletonMeshMaterialParametersCustomizer function that allows you to modify the ShaderMaterialParameters before the material is finalized. Use it to modify things like THREEJS' Material.depthTest etc. See #1590. 2020-01-11 14:08:58 +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
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
154849484c [ts] Updated threejs backend to version r111. Closes #1560. 2019-12-05 14:07:58 +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
9d2353bc46 [ts] workflow test. 2019-11-19 15:08:26 +01:00
badlogic
82433093b4 Added spine-libgdx and spine-ts Github Actions workflows. 2019-11-19 15:01:38 +01:00
badlogic
5eb76df99f [ts] Fixed curve parsing in SkeletonJson. Closes #1537. 2019-11-15 12:57:36 +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
badlogic
b81f77b993 [ts] Added AssetManager#setRawDataURI(path, data). Allows to set raw data URIs for a specific path, which in turn enables embedding assets into JavaScript/HTML. See #1535. 2019-10-31 19:27:33 +01:00
badlogic
4e96ebcda2 [ts][webgl] Added . When it will disable the corresponding WebGL pixel store behaviour. 2019-10-31 17:10:22 +01:00
badlogic
f68ac18a82 [ts][webgl] Validate magnification filters before setting them in GLTexture. Closes #1508. 2019-10-09 14:17:52 +02:00
badlogic
4410672ce2 [ts] Updated all core API documentation. See #1506. 2019-10-03 16:43:46 +02:00
badlogic
18eb242df6 [ts] Store timeline ids inside set in Animation for O(1) lookup. See #1462. 2019-09-26 16:11:10 +02:00
badlogic
1902286db1 [ts][canvas] Updated README to explicitely state white space stripping is not supported by the Canvas implementation. 2019-09-26 14:40:52 +02:00
badlogic
9313d010ec [ts] Apply left over time additively to track time of delayed TrackEntry. See #1504. 2019-09-26 11:36:19 +02:00
badlogic
26e93f9f3f [ts] Fixed code up for latest TypeScript compiler version 3.6.3. Closes #1502. 2019-09-23 14:49:02 +02:00
badlogic
4913926e3b [ts][webgl] Added support for WebGL2. Closes #1500. 2019-09-23 14:38:26 +02:00
NathanSweet
28d85e12b8 [ts] Owl demo updated: use window rather than canvas size, wait for first mouse move. 2019-08-30 16:49:06 +02:00
NathanSweet
842dffbd83 [all] Source clean up, formatting, and tabs for indentation. 2019-08-27 15:57:14 +02:00
NathanSweet
2fa85fc1c6 [all] AnimationState, fixed an attachment timeline from changing the mix blend for other timelines.
closes #1461
2019-08-27 13:20:24 +02:00
badlogic
cc694f7b5a [as3] fix parsing of default skins without attachment for binary files. 2019-08-07 11:41:30 +02:00
badlogic
8b714d6849 [ts] fix parsing of default skins without attachment for binary files. 2019-08-07 11:37:23 +02:00
badlogic
e039625430 Removed stretchyman-stretchy-ik from all examples. 2019-08-05 17:41:15 +02:00
badlogic
bb51ec7f23 Updated examples, removed stretch-ik stretchyman. 2019-08-05 17:31:15 +02:00
badlogic
2b5e521c34 [threejs] Closes #1412, added dispose() method to SkeletonMesh and required underlying code. 2019-07-24 13:21:42 +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
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
ec903efb2e [ts] Closes #1401, JIT bug in Safari on iOS 9. 2019-07-05 15:41:42 +02:00
badlogic
bbce5b915d Updated README.mds. 2019-06-26 13:53:12 +02:00
badlogic
9643a27dce [ts] Scale IK constraint and timeline data. See #1383. 2019-06-20 10:33:28 +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
5776e2467a [ts] Added soft IK support. See #1383. 2019-06-19 13:55:51 +02:00
badlogic
2946cec9d1 [ts][as3] Added mix-and-match example. See #1375. 2019-06-13 16:39:50 +02:00
badlogic
c9ccd43121 Merge branch '3.7' into 3.8-beta 2019-06-13 16:10:22 +02:00
badlogic
33dce937bf [ts] Port of commit ccc5b2f: Fixed root bone transform for skeleton. See #1379. 2019-06-13 16:03:26 +02:00
badlogic
6090d84a5e [ts] Port of commit ccc5b2f: Fixed root bone transform for skeleton. See #1379. 2019-06-13 16:03:16 +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
c1b4b7ea7d [ts] Ported active bone check in SkeletonBounds. See #1378. 2019-06-11 15:27:45 +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
900085d26f [as3] Ported skin bones/constraints changes. See #1346. 2019-06-05 14:35:35 +02:00