30 Commits

Author SHA1 Message Date
Mario Zechner
61f63549d4 Apply tsfmt to TypeScript sources, formatting pass on .ts files. 2021-08-16 19:34:27 +02:00
Ivan Popelyshev
9541688926
NBSP -> space (#1923) 2021-07-15 06:50:04 +02:00
Nathan Sweet
286552b8fa [ts] Player, simplified config.mipmaps. 2021-06-22 21:38:57 -04:00
Nathan Sweet
4062ccb1a9 [ts] TextureAtlas and AssetManager updates.
* AssetManager's textureLoader returns Texture.
* AssetManager#loadTexture success gives a Texture.
* TextureAtlas no longer has a textureLoader, it creates all the pages without a texture set.
* TextureAtlasRegion no longer has a texture, use region.page.texture instead.
* AssetManager#loadTextureAtlas no longer parses the atlas text twice. It creates the atlas, then loads and sets all the textures.
2021-06-22 15:33:01 -04:00
Nathan Sweet
43cb6dfe22 [ts] AssetManager and Player updates to support sharing assets.
* Removed # parsing from SpinePlayer, replaced with config.jsonField.
* Refactored AssetMananger to split downloading from asset creation.
* Allow Downloader to be specified in SpinePlayer config so multiple players don't download the same assets.
* Added AssetManager#loadJson so the text is only parsed once.
* TextureAtlas is still parsed multiple times. :(
* AssetMananger clean up, catch more errors, log error, don't keep rendering after an error.
2021-06-18 02:31:10 -04:00
Mario Zechner
8bb38a7fb0 [ts] Ensure clipper.clipEnd() is called appropriately. See #1694 2021-06-14 15:20:08 +02: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
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
154849484c [ts] Updated threejs backend to version r111. Closes #1560. 2019-12-05 14:07:58 +01:00
badlogic
2b5e521c34 [threejs] Closes #1412, added dispose() method to SkeletonMesh and required underlying code. 2019-07-24 13:21:42 +02:00
badlogic
3aa14d9b86 [ts] Ported skin bones/constraints changes. See #1346. 2019-06-04 15:53:34 +02:00
badlogic
2dc619a76c [threejs] Don't mark buffer objects for an update if they are zero length. Fixes #1345. 2019-05-15 17:15:36 +02:00
badlogic
7f7e5f0fec Updated license headers and LICENSE files. 2019-05-02 11:38:19 +02:00
badlogic
fe9ae97747 [ts][threejs] Fixed bug in core AssetManager when loading multi-page atlases. Rewrote THREE.JS renderer to support multi-page atlases. Fixed clipping in THREE.JS backend. Closes #1066, closes #677. 2018-01-22 16:11:42 +01:00
badlogic
8d4a14b200 [ts][threejs] Added VertexEffect to SkeletonMesh 2017-06-21 16:32:12 +02:00
badlogic
b685e490c1 [ts][webgl] Fixed vertex effects for clipped attachments 2017-06-21 16:19:49 +02:00
badlogic
bd16d0fde8 [ts][threejs] Implemented clipping. 2017-04-13 10:45:25 +02:00
badlogic
808aea73c6 [ts] Fixed all backends. Need to implement TwoColorBatcher for WebGL backend 2017-01-26 16:35:21 +01: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
0d85cfeaaf [ts] Closes #713, the latest TS 2.0.3 version of ArrayLike makes both the length and indexer read-only. Added our own ArrayLike to utils, works as intended 2016-10-03 15:37:57 +02:00
badlogic
830a2ad040 [ts] Added playback controls to demos 2016-08-26 11:29:02 +02:00
badlogic
28b97e4532 [ts] Final touches to samples, removed underscore from private fields 2016-08-19 14:10:30 +02:00
badlogic
4a657158ba [ts][threejs] Cleaned up example, added license headers, updated README.md 2016-08-18 14:03:18 +02:00
badlogic
5b4af038b8 [ts][threejs] Fixed THREE.JS integration, including z-offset against z-fighting. Tinting, blending modes and premultiplied alpha still to do. 2016-08-18 12:33:29 +02:00
badlogic
144500d7e8 [ts] First attempt at interleaved rendering, no show 2016-08-17 16:15:26 +02:00
badlogic
b9afff01fd [ts] THREE.JS backend, revised batching using interleaved buffers, WIP 2016-08-17 16:04:27 +02:00
badlogic
88a3a52e94 [ts] Refactored tsconfigs 2016-08-17 10:49:35 +02:00