20 Commits

Author SHA1 Message Date
Davide Tantillo
e8cf7ba3b6 [ts] Move SHOW_FPS to overlay. Add wecomponents to build.sh. 2025-05-09 16:12:34 +02:00
Davide Tantillo
f5fc3b9175 [ts] Updated build and publish script for phaser-v4. 2025-04-16 17:13:49 +02:00
Davide Tantillo
e8cd734ef2 [ts] Update build script to include esm bundles 2024-12-03 10:16:51 +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
Mario Zechner
6f8896e4ec [ts] Include Phaser in iife build. 2023-06-28 10:30:47 +02:00
eCode
4876dba946 feat: add support for pixijs 2023-06-03 13:05:21 -03:00
Mario Zechner
a87776e8bd [ts] Fix artifact upload. 2023-01-26 13:49:28 +01:00
Mario Zechner
3d3589f265 [ts] Refactor build, don't commit artifacts
npm install will automatically build everything necessary for local development and viewing the examples.
2021-09-01 11:09:31 +02:00
Mario Zechner
ef6f2efb1a [ts] Fix minification of player and threejs backends. 2021-08-27 00:23:02 +02:00
Mario Zechner
17c0cb00c2 [ts] Fix up player resources copying in build script. 2021-08-26 14:32:10 +02:00
Mario Zechner
58fe4ed229 [ts] Fix up build script. 2021-08-26 14:29:55 +02:00
Nathan Sweet
ca9a3ff7c2 [ts] Set path for demos, update order. 2021-06-18 21:48:40 -04:00
Nathan Sweet
46416099c4 [ts] Update build file. 2021-06-18 20:16:25 -04:00
badlogic
82433093b4 Added spine-libgdx and spine-ts Github Actions workflows. 2019-11-19 15:01:38 +01:00
badlogic
075d4a1be5 [ts][player] Removed old widget. Renamed TSC output to spine-player.js, moved sources from widget/ to player/. 2018-12-17 15:32:25 +01:00
NathanSweet
b597aac9b9 [ts] Minor demo updates.
- Loading screen is never shown if demo loads completely while offscreen.
- HTML charset specified.
- Tabs, not spaces, you filthy animals. Each unminified JS reduced by ~80kb.
- Clean up.
2016-09-13 23:18:49 +02:00
badlogic
88a3a52e94 [ts] Refactored tsconfigs 2016-08-17 10:49:35 +02:00
badlogic
3b90df58a5 [ts] Added canvas backend stub 2016-08-16 10:00:23 +02:00
badlogic
ff99201db5 [ts] Added bash script to build all bundles 2016-08-16 09:57:41 +02:00