* 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>
- overlay loading: now overlay is moved as the last element from where it is inserted to avoid widgets covered by backgrounds of html elements after it.
- default overlayId
- widget position in overlay coordinates (worldX, worldY) (experimental)
- cursor position on widget world (cursorWorldX, cursorWorldY) (experimental)
- jsonSkeletonKey: allow to load a specific skeleton in json containing multiple skeletons
- onViewportManualStart: start the widget when in manual-start and enters the viewport the first time
- overlayAssignedPromise: a promise that resolves when the overlay is assigned to the widget. Reads the comment on it
- appendTo: to append the widget created using js and wait for the overlayAssignedPromise to resolve
- changed how loadingPromise works
- added cursorCanvasX, cursorCanvasY, cursorWorldX, cursorWorldY to overlay (experimental)