18 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
Nathan Sweet
78a730a6d7 [ts] Improvements for player, webgl.
* Rendering, added support for separate color/alpha src blend funcs.
* LoadingScreen, set camera zoom to fade out and black flash, use PMA to fix ringing artifacts when scaled, fade in to help hide dropped frames as page loads, use separate color/alpha src blend funcs to properly blend quad when loading screen fades out, oxipng PNGs.
* Moved some private constants out of their class to avoid class name prefix.
* Player, clean up full pass OCD town, showError throws when possible so stacktrace isn't lost, added showLoading to config, don't create UI when !showControls, removed findWithId (id is unique for entire document), use built-in for findWithClass/contains, var->let, don't clear screen twice during loading, other minor stuff.
2021-06-20 01:20:31 -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
b67bf992a0 Single bone IK fix and license header update. Closes #1580, closes #1581. 2019-12-20 12:20:46 +01: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
2b4c2bcf94 [ts][webgl][widget] Fixed WebGL context loss in WebGL and widget backend. See CHANGELOG for details. 2017-04-18 15:37:44 +02:00
badlogic
d4266cf89a [ts][webgl][widget] Implemented clipping, updated README.md and CHANGELOG 2017-04-12 14:14: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
7b463b1336 [ts] Fixed SkeletonDebugRenderer, fixed memory allocations in SkeletonRenderer 2017-01-26 16:21:08 +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
8faba2cdec [ts] Demos, a never ending story 2016-09-03 00:00:06 +02:00
badlogic
15c82b221a [ts] Refactored demos so we can load them sequentially 2016-08-30 12:07:33 +02:00
badlogic
d2c4a2b1bc [ts] New demos, tons of fixes 2016-08-30 09:46:06 +02:00
badlogic
a69aec8a76 [ts] Added various helper classes to make writing demos easier 2016-08-24 15:58:31 +02:00
badlogic
ef4b04756c [ts] Added ShapeRenderer and SkeletonDebugRenderer, added to WebGL test 2016-08-23 14:11:45 +02:00