49 Commits

Author SHA1 Message Date
Mario Zechner
f1c13462c1 Formatting 2023-04-24 10:15:31 +02:00
Mario Zechner
04d22e1043 [ts][webgl] Fix duplicate case clause. 2023-04-21 14:18:17 +02:00
Mario Zechner
db6f624bc6 Merge branch '4.1' into 4.2-beta
# Conflicts:
#	spine-ts/package-lock.json
#	spine-ts/package.json
#	spine-ts/publish.sh
#	spine-ts/spine-canvas/package.json
#	spine-ts/spine-core/package.json
#	spine-ts/spine-phaser/package.json
#	spine-ts/spine-player/package.json
#	spine-ts/spine-threejs/package.json
#	spine-ts/spine-webgl/package.json
2023-04-17 16:29:45 +02:00
Mario Zechner
98f060b435 [ts] Refactor how textures are stored in texture regions, fix renderers, add custom attachment WebGL example. 2023-04-17 16:12:26 +02:00
Mario Zechner
260c269a1a Merge branch '4.1' into 4.2-beta 2023-04-12 15:13:52 +02:00
Mario Zechner
14219fa609 [phaser] Fix pack file plugin loading, clipping, demos. 2023-04-12 15:13:25 +02:00
Mario Zechner
9cef3b443a Merge branch '4.1' into 4.2-beta 2023-02-17 07:13:59 +01:00
Nathan Sweet
d5cd7f67b1 Don't indent shader code to minify better. 2023-02-16 19:29:27 -04:00
Mario Zechner
fcc5cab7b4 Merge branch '4.1' into 4.2-beta 2023-01-30 12:43:46 +01:00
Mario Zechner
b82e78079a [ts] Fix formatting. 2023-01-30 12:43:38 +01:00
Mario Zechner
594c87c676 Merge branch '4.1' into 4.2-beta
# Conflicts:
#	spine-ts/package-lock.json
#	spine-ts/package.json
#	spine-ts/spine-canvas/package.json
#	spine-ts/spine-core/package.json
#	spine-ts/spine-phaser/package.json
#	spine-ts/spine-player/package.json
#	spine-ts/spine-threejs/package.json
#	spine-ts/spine-webgl/package.json
2023-01-27 19:45:09 +01:00
Mario Zechner
83a8e5d66b [ts][player][webgl] Closes #2227, instead of disabling culling automatically, make it configurable via PolygonBatcher.disableCulling. Off by default. 2023-01-26 15:49:02 +01:00
Mario Zechner
1891d00025 Merge branch '4.1' into 4.2-beta 2023-01-16 14:00:14 +01:00
Mario Zechner
83945e17dc Apply formatter. 2023-01-16 14:00:01 +01:00
Mario Zechner
68a9096049 Merge branch '4.1' into 4.2-beta
# Conflicts:
#	.gitignore
#	spine-cpp/spine-cpp/src/spine/SkeletonBinary.cpp
#	spine-ts/package-lock.json
#	spine-ts/package.json
2022-12-27 11:48:02 +01:00
Mario Zechner
7ae9c490d5 [phaser] WebGL and Canvas rendering, fix mixins
# Conflicts:
#	spine-ts/package-lock.json
#	spine-ts/package.json
2022-12-27 11:44:11 +01:00
Mario Zechner
d878e5356b Merge branch '4.1' into 4.2-beta
# Conflicts:
#	spine-ts/package-lock.json
#	spine-ts/package.json
#	spine-ts/spine-canvas/package.json
#	spine-ts/spine-core/package.json
#	spine-ts/spine-player/package.json
#	spine-ts/spine-threejs/package.json
#	spine-ts/spine-webgl/package.json
2022-11-28 09:12:49 +01:00
Mario Zechner
c19194ac7d [ts] Closes #2207, updates threejs to latest. 2022-11-28 09:09:46 +01:00
Wolfgang Kurz
867af5c134
Fix webglConfig check (#2183)
Missing negative operator i guess.
2022-10-22 15:16:15 +02:00
Mario Zechner
0bfeff771e Formatting. 2022-09-03 12:29:40 +02:00
Mario Zechner
d4ef1b7a35 Formatting pass. 2022-08-29 13:48:49 +02:00
Mario Zechner
1a0cb86b52 [ts][webgl] Fixes #2138, mip maps weren't generated in all cases. 2022-08-19 18:02:15 +02:00
Mario Zechner
8973253dc7 [ts] Fixes #2139, incorrect null check. 2022-08-19 17:40:54 +02:00
Mario Zechner
5a9982b2fb [ts] Removed VertexEffect, see #2076 2022-05-30 14:55:29 +02:00
Mario Zechner
e4372e5329 [ts] Enable TS strict mode. Closes #2058 2022-04-07 21:24:48 +02:00
Mario Zechner
1fb3b53c5b [ts][webgl] Closes #1976, PolygonBatcher disables CULL_FACE and restores the previous setting on end() 2022-03-20 15:06:49 +01:00
Mario Zechner
fb0a658ecf Merge branch '4.0' into 4.1-beta
# Conflicts:
#	spine-ts/package-lock.json
#	spine-ts/package.json
#	spine-ts/spine-canvas/package.json
#	spine-ts/spine-core/package.json
#	spine-ts/spine-player/package.json
#	spine-ts/spine-threejs/package.json
#	spine-ts/spine-webgl/package.json
2022-01-24 22:23:03 +01:00
Mario Zechner
02b894d8da [ts][player] Added SpinePlayer.dispose(), closes #2020 2022-01-24 22:04:29 +01:00
Mario Zechner
81927051ff [ts] Port of sequence attachments, see #1956
SkeletonJson parsing of sequence timelines incomplete. Untested.
2021-10-13 01:14:58 +02:00
Mario Zechner
7876897c59 Merge branch '4.0' into 4.1-beta 2021-10-11 16:17:19 +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
Bastiaan
08dd033e51
SkeletonDebugRenderer fix in drawBones (#1965)
skeleton.x and skeleton.y are already added in bone.worldX and
bone.worldY.
See Bone.ts => updateWorldTransformWith.
2021-10-11 15:27:08 +02:00
Nathan Sweet
96a998b82d Spine Runtimes License Agreement update (September 24, 2021). 2021-09-24 18:18:19 -10: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
2d35cfa765 [ts] Add pinch zoom and mouse wheel support to Input
Add CameraController for examples.
2021-09-18 22:43:28 +02:00
badlogic
cda5c0f052 [ts] Added CameraController, drag & drop example 2021-09-18 01:58:14 +02:00
Mario Zechner
cd5f561739 [runtimes] Fix formatting. 2021-09-14 01:58:39 +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
babe296157 [ts] Formatting 2021-09-07 15:49:37 +02:00
badlogic
ad41761293 [ts] Added dress-up example
Shows how to render skins to thumbnails which can then be used in an HTML UI.
2021-09-07 15:38:23 +02:00
badlogic
3ba8a2ffc2 [ts] Minor documentation changes. 2021-09-07 01:06:52 +02:00
badlogic
91a8b6a100 [ts] Added SpineCanvas, a simpler way to render via spine-webgl
Rewrote mix-and-match example as well as barebones example to illustrate usage.
2021-09-07 00:57:52 +02:00
Mario Zechner
de6cee955b [ts] Remove old namespaces, dev build
Previously, we'd export to global objects called spine.canvas, spine.webgl, spine.threejs. Going forward, all Spine APIs will be hosted by the global spine object when the runtime is used straight from the bundled .js files in the build/ folder. This is a minor change with a simple fix on the user side, i.e. replace spine.canvas. with spine.
2021-08-27 18:48:17 +02:00
Mario Zechner
39df4c7cbb [ts] Formatter pass 2021-08-27 17:24:18 +02:00
Mario Zechner
17c342ac61 [ts] Modularize player, add package.json files, fix up module paths. 2021-08-25 21:00:17 +02:00
Mario Zechner
79f0abf765 [ts] Refactor module resolution, switch to esbuild 2021-08-25 19:30:46 +02:00
Mario Zechner
474dae82a0 ES2015 modulification of spine-ts core. 2021-08-20 16:24:10 +02:00