47 Commits

Author SHA1 Message Date
Davide Tantillo
3512e3ddff [ts][pixi] Add bunnymark example to compare performance among releases. 2024-11-14 10:56:11 +01:00
Davide Tantillo
6cc8809406 [ts][pixi] Move pixi to pixi-v7 2024-11-07 14:49:36 +01:00
Mat Groves
ecbe9b0247
Add PixiJS v8 support to spine (#2641)
* add v8 support to spine!

* Renamed examples folder for consistency.

* Gitignore dist.

* Tsconfig.

* Package json.

* Modification due to strictNullChecks=true.

* Run tsfmt.

* Use clipper.clipTriangles not deprecated version.

* Aligned example to spine-pixi (v7).

* Fix clipping dark tint wrong param.

* Removed useless clipper.

* Push texture issue repro example

* fix attachment.uvs by copying them

* SlotObject alpha connected to skeleton and slot alpha.

* add topology for future v8 release

* Dark tint rendered is enabled if at least one slot has dark tint, or by configuration.
Fixed clipping while using dark tint.

* Optimized clipping by using clipTrianglesUnpacked.

* Repro example for clipping issue.

* Aligned constructor and from signature of spine-pixi(-v7) to v8. Deprecated old signatures.

* Removed useless function.

* Fixed clipping issue flagging attachment as dirty if indices change.

* Clipping attachments clip slot object through Pixi Graphics masks.

* Add autoUpdate in SpineFromOptions

* Added javadoc to pixiv8

* Updated pixi7 examples to use SpineFromOptions interface

* Aligned atlas loader to use texturePreference for bundles.

* Add pool to manage slot objects masks

* Fixed minor issues with SpineDebugRenderer

* Aligned spine-pixi-v8 with latest spine-core

* Updated build and publish script

---------

Co-authored-by: Davide Tantillo <iamdjj@gmail.com>
2024-11-06 17:23:01 +01:00
Davide Tantillo
9e8b59df36 [ts][pixi] Removed bundle example in favor of updating documentation. 2024-09-09 15:16:48 +02:00
Richard Fu
167470fb16 [ts][pixi] Fix atlas src cannot be resolved for preferred texture 2024-09-09 15:16:48 +02:00
Mario Zechner
81312c8983 [canvaskit] HDPI support, fix blending, physics example 2024-07-09 11:41:48 +02:00
Mario Zechner
8c69162e2f [canvaskit] Add micro benchmark, delete Skia vertices after drawVertices 2024-07-08 17:40:51 +02:00
Mario Zechner
8c6e82581d [canvaskit] Add IK following example. 2024-07-08 17:15:05 +02:00
Mario Zechner
32f43fbf5d [canvaskit] More examples. 2024-07-08 16:35:42 +02:00
Mario Zechner
a1f077d43c [ts][canvaskit] Added CanvasKit runtime for NodeJS and browser environments 2024-07-05 15:18:06 +02:00
Davide Tantillo
f3b3cb429a [ts][threejs] Allow to load pma textures. Non-pma textures are pma on upload. Fixed blending modes. Add physics example.
Close #2503.
2024-07-02 18:09:40 +02:00
Davide Tantillo
e290569748 [ts][pixi] Add feature to attach pixi objects to slots
[ts][pixi] Format fix

[ts][pixi] Format fix

[ts][pixi] Use world scale for slot object.
2024-06-05 16:18:09 +02:00
Davide Tantillo
569adb1cd1 [ts][pixi] Add control bones example in example list 2024-05-28 11:41:41 +02:00
Davide Tantillo
83c987e43d [ts][phaser] Add physics support and examples. 2024-04-16 17:41:19 +02:00
Davide Tantillo
0ac67cfbee
[ts][pixi] Added PMA support. 2024-03-26 10:40:26 +01:00
Mario Zechner
8c515501ee [ts][webgl] Additional physics samples 2024-03-19 11:53:14 +01:00
badlogic
24f47cf8ce Merge branch '4.1' into 4.2-beta 2024-01-03 05:50:36 +01:00
Luke Ingram
238e86c58a [ts] Add examples for spine-pixi. 2023-12-22 13:06:25 -04:00
Mario Zechner
4e1907812e [ts] Remove physics examples not available in 4.1 2023-12-08 01:03:25 +01:00
Mario Zechner
3cce0af971 [ts] Clean-up examples
# Conflicts:
#	spine-ts/index.css
#	spine-ts/index.html
#	spine-ts/spine-player/example/physics.html
2023-12-08 01:02:28 +01:00
Mario Zechner
77fe988169 [ts] Clean-up examples 2023-12-06 04:02:56 +01:00
Mario Zechner
1c4aa3ccb0 [ts][player] Update physics example. 2023-12-06 03:18:31 +01:00
Mario Zechner
02773518b1 [ts] Fix physics! 2023-12-05 15:10:38 +01:00
Mario Zechner
2eb1033b65 Update example exports to 4.2.09-beta 2023-12-01 17:04:11 +01:00
Mario Zechner
4f33a2aae6 [phaser] Closes #2348, fix visibility test 2023-09-07 13:37:40 +02:00
Mario Zechner
2f33d326a8 [phaser] Closes #2356, only instantiate a single SceneRenderer for the whole game. 2023-09-05 15:22:33 +02:00
Mario Zechner
4af059f326 [phaser] Minor clean-up. 2023-09-04 10:49:38 +02:00
Mario Zechner
6ec9637ed6 [phaser] Closes #2333, users can set the name of the game object factory function via window.SPINE_GAME_OBJECT_TYPE, see custom-spine-object-type.html. 2023-09-04 10:35:24 +02:00
Mario Zechner
8e84ad990d |threejs] Add logarithmic depth buffer example. 2023-09-04 09:54:05 +02:00
Mario Zechner
8d04c7a75b [pixi] Clean-up and extend examples 2023-07-18 14:51:57 +02:00
Mario Zechner
ea2d0727c3 [pixi] Fix index.html 2023-06-27 15:27:41 +02:00
Mario Zechner
54cc75c203 hreejs] Closes #2278, coordinate transform example. 2023-05-02 13:27:16 +02:00
Mario Zechner
90e369fcfe [phaser] More example work, Stretchyman idle animation. 2023-04-27 17:25:23 +02:00
Mario Zechner
0815c4433b [phaser] Mix-and-match example, rework example index. 2023-04-18 11:18:55 +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
22603c3f07 [ts] Fixed IK constraint NaN when a parent bone has zero scale. 2023-04-05 15:05:33 +02:00
Mario Zechner
a3dc1fdb33 [ts] Phaser plugin scaffold.
# Conflicts:
#	.gitignore
2022-12-27 11:32:33 +01:00
Mario Zechner
e01ba364df [ts][webgl] Added example demonstrating how to drag bones. Closes #2151. 2022-09-12 14:02:09 +02:00
Mario Zechner
82b607d738 [ts] Remove player editor, fix embedding examples, clean-up threejs example. 2022-03-25 14:03:20 +01:00
Mario Zechner
58f0bc0d0c Added promise based AssetManager.loadAll(), Skeleton.getBoundsRect() helper method. 2022-03-14 11:23:53 +01:00
Mario Zechner
02b894d8da [ts][player] Added SpinePlayer.dispose(), closes #2020 2022-01-24 22:04:29 +01:00
badlogic
cda5c0f052 [ts] Added CameraController, drag & drop example 2021-09-18 01:58:14 +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
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
17be83dac3 [ts] Example index page 2021-09-01 13:32:28 +02:00
Mario Zechner
6df2bda192 [ts] Minify IIFE artifacts, update version to 4.0.4. 2021-09-01 13:19:08 +02:00
Mario Zechner
91daf25484 [ts] Updated README, fixed license and readme inclusion in packages. 2021-09-01 12:48:53 +02:00