854 Commits

Author SHA1 Message Date
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
Jimb Esser
905f4c6ece
[ts] Use existing, explicit atlas data instead of relying on an image's current width/height (#2085)
This fixes a bug where UVs would sometimes be wrong if an image's size is not the same as when originally exported.  This could happen in the wild to _any_ project, due to mobile ISPs/browsers that proxy requests and resize images before sending them to clients.
Fixing this also allows `spine-core` to work with engines that:
* use embedded, low-res textures while waiting for high res textures to load
* automatically provide lower resolution textures to low-end devices or low-resolution displays
2023-01-30 12:51:47 +01: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
3a501f9094 Merge branch '4.1' into 4.2-beta 2023-01-28 20:37:32 +01:00
Mario Zechner
77100eaca3 [ts] Fix URLs in package README.md files. 2023-01-28 20:37:22 +01:00
Mario Zechner
99cdc5f7d7 [ts] Release 4.2.11. 2023-01-27 19:51:06 +01:00
Mario Zechner
7d20025b9f [ts] Do not remove package-lock.json as part of publishing. 2023-01-27 19:45: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
4dda6e6cce [ts] Relesae 4.1.26. 2023-01-27 19:44:00 +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
59d700ac3f Merge branch '4.1' into 4.2-beta 2023-01-26 15:40:20 +01:00
Mario Zechner
a87776e8bd [ts] Fix artifact upload. 2023-01-26 13:49:28 +01:00
Mario Zechner
5d54272396 [ts] Fix tags in README.md 2023-01-26 13:40:28 +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
13dbc48cff [phaser] Fix package version. 2022-12-27 12:10:29 +01:00
Mario Zechner
84f5a31026 Merge branch '4.1' into 4.2-beta 2022-12-27 12:10:10 +01:00
Mario Zechner
6661ae9322 [phaser] Fix package version. 2022-12-27 12:10:02 +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
c216384963 [phaser] Add ScriptHost lib to resolve ActiveXObject. 2022-12-27 11:45:49 +01:00
Mario Zechner
97765425ec [phaser] coordine system transforms and example. 2022-12-27 11:44:20 +01:00
Mario Zechner
f725a80994 [phaser] Post pipeline support. 2022-12-27 11:44:20 +01:00
Mario Zechner
90cd61e505 [phaser] Bounds providers. 2022-12-27 11:44:20 +01:00
Mario Zechner
be6b19afa5 [phaser] Bounds calculation, hit area support, more examples.
# Conflicts:
#	spine-ts/package-lock.json
2022-12-27 11:44:17 +01:00
Mario Zechner
69cec06c23 [phaser] Clean-up rendering code. 2022-12-27 11:44:12 +01:00
Mario Zechner
2207b3e620 [phaser] Use Phaser transform matrix to transform vertices directly. 2022-12-27 11:44:12 +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
15bbf5701e [ts] Added Skeleton.yDown 2022-12-27 11:43:02 +01:00
Mario Zechner
b12e06d791 [phaser] Copy example skeletons in runtimes.sh 2022-12-27 11:43:02 +01:00
Mario Zechner
9ece84dc85 [phaser] Loading and caching of skeleton data, atlas, textures, creation of skeletons, animation state in game object.
# Conflicts:
#	spine-cpp/spine-cpp/src/spine/SkeletonBinary.cpp
#	spine-flutter/src/spine_flutter.cpp
2022-12-27 11:42:56 +01:00
Mario Zechner
e805b6c8bc [phaser] Canvas stub. 2022-12-27 11:41:31 +01:00
Mario Zechner
f3c4be2f90 [phaser] Mixins for SpineGameObject 2022-12-27 11:41:31 +01:00
Mario Zechner
f163f60187 [phaser] .json and .atlas file loading beginnings. 2022-12-27 11:41:31 +01:00
Mario Zechner
a3dc1fdb33 [ts] Phaser plugin scaffold.
# Conflicts:
#	.gitignore
2022-12-27 11:32:33 +01:00
Harald Csaszar
603c024791 Merge branch '4.1' into 4.2-beta 2022-11-30 18:41:39 +01:00
Luke Ingram
38ae6f886c [c][cpp][ts] Port of 4bad9ec25e3281361a6599509881397711722e58 2022-11-30 13:34:20 -04:00
Mario Zechner
7df5a47bd3 [ts] Release 4.2.10 2022-11-28 09:18:26 +01:00
Mario Zechner
4a8899a1cf [ts] Update typescript to latest. 2022-11-28 09:15:30 +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
1c55537fb8 [ts] Published 4.1.23 2022-11-28 09:11:02 +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
ddc190527f [ts] Release 4.2.9. 2022-10-06 16:24:52 +02:00
Mario Zechner
33b31aeadd [ts] Port of commit 3ea4f66. AnimationState, fixed rotation mix when direction changes. See #2158. 2022-10-06 16:23:47 +02:00
Mario Zechner
7220873810 [ts] Release 4.2.8. 2022-10-06 11:57:01 +02:00
Mario Zechner
e2dbc468e4 [ts] Release 4.1.23 2022-10-04 09:35:16 +02:00
Mario Zechner
4c8167b885 [threejs] Fix batch capacity calculation, closes #2163 2022-10-04 09:33:13 +02:00
Mario Zechner
a5ea7a808d [threejs] Fix batch capacity calculation, closes #2163 2022-10-04 08:58:11 +02:00