683 Commits

Author SHA1 Message Date
Mario Zechner
8688bbc5ee [ts] released 4.0.20 2022-02-02 12:16:09 +01:00
Mario Zechner
738217f8c1 [threejs] Explicitely discard fragments with alpha < 0.5, closes #1985 2022-02-02 12:11:48 +01:00
Mario Zechner
0744b4c12d [ts] Released 4.0.19 2022-01-26 20:31:12 +01:00
Mario Zechner
0db427be00 [ts] Update package-lock.json. 2022-01-26 20:28:50 +01:00
Mario Zechner
ac4bb9dea3 [ts] Updated tsc to 4.5.5. 2022-01-26 20:27:10 +01:00
Luke Ingram
25bea5e7b8 [ts] Port of additive scale mixing fix, see #2028 2022-01-26 14:22:21 -04:00
Mario Zechner
93ff066ec3 [ts][player] Fix README.md refering to the wrong .css file for player. 2022-01-24 22:39:07 +01:00
Mario Zechner
a0325198ca [ts] Released version 4.0.18 2022-01-24 22:21:19 +01:00
Mario Zechner
02b894d8da [ts][player] Added SpinePlayer.dispose(), closes #2020 2022-01-24 22:04:29 +01:00
Mario Zechner
1cbe69d733 Fix formatting. 2022-01-23 22:27:23 +01:00
Mario Zechner
1d5bf3bd75 [ts][canvas] Closes #2008, incorrect setting of global alpha. 2022-01-19 16:06:34 +01:00
MikalDev
b1d396cf55
feat (loadTextureAtlas) add option to use file alias (#2019)
For Construct 3, in preview mode, the texture file names are changed to blobs with completely different filenames. So, loadTextureAtalas will not work because the file names don't match the page.name.  When Construct 3 is not in preview mode, the normal file names will match the page.name.

To get around this issue, added an optional parameter to loadTextureAtlas, fileAlias, this will allow the Construct 3 plug-in to create a fileAlias object which maps between page.name and the C3 project file names, whether they are aliased or not. If this is not needed, the function performs as it did before.

Co-authored-by: MikalDev <keg@kindeyegames.com>
2022-01-19 15:31:23 +01:00
Luke Ingram
2ca3b6462b [ts] Fixed development setup documentation 2022-01-12 13:39:26 -04:00
Mario Zechner
3bace5406e [ts] Update version to 4.0.17 2021-12-15 15:01:37 +01:00
Mario Zechner
44e34cb264 [ts] Fixes #2003, ensure all fields are initialized as per reference implementation. 2021-12-15 15:00:19 +01:00
Mario Zechner
77575a66d1 [ts] Updated to version 4.0.16. 2021-11-04 17:26:57 +01:00
Mario Zechner
d9bc3b010e [ts] Process status code 0 properly, closes #1969 2021-11-04 17:24:37 +01:00
badlogic
12cd0d7c0b [ts] Fix formatting. 2021-10-20 00:26:13 +02:00
badlogic
248e4a9759 [ts] Update README. 2021-10-20 00:18:57 +02:00
badlogic
5a6b9fcae4 [ts] Updated to version 4.0.15 2021-10-20 00:15:27 +02:00
badlogic
38cc19f16d [ts][threejs] Added multi-page atlas and blend modes support
Also updated to latest ThreeJS release and some clean-up.
2021-10-20 00:09:31 +02:00
badlogic
308da950df [ts] Fixed test-drawcalls asset paths. 2021-10-13 15:24:28 +02:00
Mario Zechner
d296fa3efa [ts] Closes #1966, PolygonBatcher does not flush if the blend mode has not changed. 2021-10-11 16:16:55 +02:00
Mario Zechner
a3f463a416 [ts] Update package-lock.json. 2021-09-28 09:21:03 +02:00
jmlee2k
674f53cccc
[ts] Made AnimationStateListener functions optional (#1955)
Co-authored-by: Jordan Lee <jordan.lee@aberrantsoftware.com>
2021-09-25 10:42:45 +02:00
Mario Zechner
deeb845011 [ts] Removed logging from CameraController, update to version 4.0.14. 2021-09-20 21:16:52 +02:00
Mario Zechner
168bea6fdb [ts] Updated to version 4.0.13 2021-09-18 23:20:30 +02:00
Mario Zechner
02e334942b [ts] Formatting. 2021-09-18 23:14:07 +02:00
Mario Zechner
52b9d236a1 [ts] Updated to version 4.0.12 2021-09-18 23:12:34 +02:00
Mario Zechner
2d35cfa765 [ts] Add pinch zoom and mouse wheel support to Input
Add CameraController for examples.
2021-09-18 22:43:28 +02:00
badlogic
c19d84f194 [ts] Disable alpha in WebGL context. 2021-09-18 02:16:20 +02:00
badlogic
cda5c0f052 [ts] Added CameraController, drag & drop example 2021-09-18 01:58:14 +02:00
badlogic
f7b4036daf [ts] Updated to version 4.0.11 2021-09-17 02:53:07 +02:00
badlogic
2f55c53ee8 [ts] Update version to 4.0.10 2021-09-17 02:32:07 +02:00
badlogic
a884dd4c0d [ts] Inline source maps, fix Downloader for raw data URIs. 2021-09-17 02:29:08 +02:00
Nathan Sweet
77774608bf [as3][c][cpp][csharp][libgdx][lua][ts] Fixed updateAppliedTransform for the root bone. 2021-09-16 17:00:10 -06:00
Nathan Sweet
f4021177f9 [as3][c][cpp][csharp][libgdx][lua][ts] Don't treat scale sign as an instant transition when applying a timeline additively. 2021-09-15 00:28:43 -06:00
Mario Zechner
634e041ed8 [ts] Version 4.0.9. 2021-09-14 02:13:49 +02:00
Mario Zechner
579cae1c8d [ts] Include source content in sourcemaps of es6 module dist files. 2021-09-14 02:12:26 +02:00
Mario Zechner
81ffa13d2d [ts] Version 4.0.8. 2021-09-14 02:05:28 +02:00
Mario Zechner
2201af6ab0 [ts] Version 4.0.8. 2021-09-14 02:05:02 +02:00
Mario Zechner
cd83e9ad35 [ts] Fix typo in SkeletonJson.ts. 2021-09-14 02:04:38 +02:00
Mario Zechner
cd5f561739 [runtimes] Fix formatting. 2021-09-14 01:58:39 +02:00
Mario Zechner
c41cc94008 [runtime] Revert changes to owl-pro.spine
Conversion to 4.0.31 and export breaks additive blending even more.
2021-09-14 00:44:00 +02:00
Mario Zechner
67c0d39eab [runtimes] Fixed owl example project, export and runtime scripts
The owl example project was not keying the control bone, leading to incorrect additive blending. The export.sh and runtimes.sh script in example/export did not account for the folder structure change in spine-ts.
2021-09-14 00:02:04 +02:00
Nathan Sweet
dc9a6ebe7f [as3][c][cpp][csharp][libgdx][lua][ts] Fixed loading transform constraint timelines from JSON data.
* Fixed SkeletonJson not allocating enough memory for curves (maximum of 6 curves/key, not 4). Fixes email: FMfcgzGkbDfvckWcFxWlsTWzFhMXsTDw
* Removed SkeletonData and Skeleton methods: findBoneIndex, findSlotIndex. Bones and slots have an index field that should be used instead.
* Removed SkeletonData and Skeleton methods: find*ConstraintIndex. Only SkeletonJson needed these, they don't need to be in the public API.
* Used a local for number of frames where it was used many times.
2021-09-12 18:15:19 -06:00
Mario Zechner
a8da830de2 [ts] Clean-up of dress-up example. 2021-09-07 21:15:30 +02:00
Mario Zechner
21fa3c3e5f [ts] Updated spine-ts version to 4.0.7 2021-09-07 21:09:34 +02:00
Mario Zechner
9521e9243d [ts] Remove null-coalescing operator, esbuld keeps it, but won't work in old browsers. 2021-09-07 21:08:19 +02:00
Mario Zechner
0dc66e2e5a [ts] Updated spine-ts version to 4.0.6 2021-09-07 21:04:46 +02:00