30 Commits

Author SHA1 Message Date
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
3ef197b666 [ts][pixi] Upgraded pixi examples to latest pixi 7 (7.4.2). 2024-06-21 09:44:33 +02:00
Davide Tantillo
61e9be2dcc [ts][pixi] clipping + alpha for pixi objects added to slots 2024-06-12 12:41:55 +02:00
Davide Tantillo
17da13d432 [ts][pixi] Add before/afterUpdateWorldTransforms to inject easily logic in skeleton lifecycle 2024-06-05 17:35:33 +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
1336255592 [ts][pixi] Add methods to transform from/to pixi/spine coordinates. Add control bone example to show usage. 2024-05-24 16:38:09 +02:00
Davide Tantillo
fd65b561b8 [ts][pixi] Add typescript example 2024-05-23 12:23:21 +02:00
Mario Zechner
a911384e67 Re-export examples and copy to runtimes 2024-05-16 16:08:40 +02:00
Davide Tantillo
b3435430b8 [examples] Updated mix-and-match not inheriting rotation on feet 2024-05-03 09:24:01 +02:00
Davide Tantillo
83c987e43d [ts][phaser] Add physics support and examples. 2024-04-16 17:41:19 +02:00
Mario Zechner
ff9a6cde8b [godot] Fix runtime.sh and export.sh scripts. Reexport all assets with latest editor version. 2024-04-09 11:03:10 +02:00
Davide Tantillo
08121daf5e
[ts] Updated sack examples animation name 2024-04-03 13:58:28 +02:00
Mario Zechner
7446227041 Updated sack project in all runtime examples using it. 2024-04-03 13:50:49 +02:00
Mario Zechner
32952de12d [cpp] Fixed parsing, physics, re-exported all assets and copied to runtime examples. 2024-04-02 17:51:14 +02:00
Davide Tantillo
0bd4a1af07
[ts][pixi] Started physics example porting 2024-03-21 18:21:29 +01:00
Mario Zechner
dcb73ec24e Updated example exports 2024-03-19 10:04:06 +01:00
Nathan Sweet
ecbc6329a9 Updated example exports to 4.2.32-beta. 2024-03-07 22:41:09 -04:00
Harald Csaszar
540319e1d4 Merge branch '4.1' into 4.2-beta 2024-01-24 17:18:11 +01:00
Luke Ingram
d583fe5c58 [ts] Update simple input example to showcase keyboard input. 2024-01-19 11:41:22 -04: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
ec91d52c50 [ts] Clean-up runtime.sh, copied celestrial to player assets 2023-12-06 03:00:06 +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
8d04c7a75b [pixi] Clean-up and extend examples 2023-07-18 14:51:57 +02:00
Mario Zechner
2ba7133254 [pixi] Assets for examples, see #2305 2023-07-12 15:13:40 +02:00
Mario Zechner
8fb691c054 [pixi] Clean-up and improvements. 2023-06-27 15:10:53 +02:00
eCode
99260f8437 docs: add polygon packed atlas to the demo
thanks to warmanw#5604 on discord for the file
2023-06-03 13:11:56 -03:00
eCode
4876dba946 feat: add support for pixijs 2023-06-03 13:05:21 -03:00