Mario Zechner
61f63549d4
Apply tsfmt to TypeScript sources, formatting pass on .ts files.
2021-08-16 19:34:27 +02: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
Nathan Sweet
aa752c49d4
[ts] Fixed canvas renderer not accounting for whitespace stripping.
...
closes #1889
2021-06-09 23:55:52 -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
badlogic
20bca55b93
[ts] Fixed atlas parsing.
2020-12-29 16:37:46 +01:00
badlogic
ebaa3a8756
[ts] Fix up #1762 for canvas backend.
2020-10-21 14:29:28 +02:00
badlogic
b67bf992a0
Single bone IK fix and license header update. Closes #1580 , closes #1581 .
2019-12-20 12:20:46 +01:00
NathanSweet
842dffbd83
[all] Source clean up, formatting, and tabs for indentation.
2019-08-27 15:57:14 +02:00
badlogic
3aa14d9b86
[ts] Ported skin bones/constraints changes. See #1346 .
2019-06-04 15:53:34 +02:00
badlogic
7f7e5f0fec
Updated license headers and LICENSE files.
2019-05-02 11:38:19 +02:00
badlogic
3598f51a65
[ts][canvas] Closes #1114 , alpha tinting support for triangle rendering.
2018-05-17 13:43:09 +02:00
badlogic
1b71da6e77
[ts][canvas] Fixed scaled atlases in Canvas renderer. Closes #956
2017-08-02 12:47:50 +02:00
badlogic
d520830c5c
[ts][canvas] Fixed rendering of rotated atlas regions
2017-04-07 14:54:08 +02:00
badlogic
1ad8e6b63c
Merged with master, resolved conflicts
2017-03-02 13:04:44 +01:00
badlogic
7e0df8fa6d
[ts][canvas] Fixed alpha tinting
2017-03-02 11:50:46 +01:00
badlogic
d5cc4d598a
[ts][canvas] Added support for alpha tinting, rgb tint is ignored
2017-03-02 11:41:45 +01:00
badlogic
f5b4310350
[ts][canvas] Cleanup
2017-03-02 11:09:45 +01:00
badlogic
3bb27040c4
[ts][canvas] Fixed superfluous paranthesis
2017-03-02 11:08:03 +01:00
badlogic
e8df948d9d
[ts][canvas] Canvas renderer now supports shearing and non-uniform scale. Closes #851
2017-03-02 11:04:11 +01: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
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
22cc0993f7
[ts] Added AssetManager subclasses for WebGL and Canvas backend
2016-08-16 15:47:17 +02:00
badlogic
61c5c36774
[ts] Removed use prefix from SkeletonRenderer public fields
2016-08-16 15:38:09 +02:00
badlogic
5ad388fe0c
[ts] Fixed Canvas backend, updated README.md for Canvas backend
2016-08-16 15:34:19 +02:00
badlogic
066412b67a
[ts] Add ref for texture mapper
2016-08-16 12:52:52 +02:00
badlogic
23f2a50821
[ts] Added Canvas backend, also does meshes
2016-08-16 12:37:53 +02:00
badlogic
847bd2a76c
[ts] More refactoring for greater code reuse
2016-08-16 10:41:28 +02:00
badlogic
e72c9030eb
[ts] Refactored AssetManager and TextureAtlas to be in core/ package for sharing between backends
2016-08-16 10:27:50 +02:00