Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create new branch for spine 4.1 version & update runtime #98

Open
wants to merge 18 commits into
base: 4.1
Choose a base branch
from

Conversation

johanzhu
Copy link
Collaborator

@johanzhu johanzhu commented Jun 26, 2024

Description:

Detail change:

  • example/main.ts : Update examples for new runtime api
  • example/outline.ts: Fix some type script type error
  • index.html: add upload dom element for local file upload example
  • package.json: change package name
  • rollup.config.js: Remove mini program support ( old mini program pack logic cause build error
  • src/SpineAnimation.ts: Refract : Inherit from engine renderer,streamline spine api
  • src/SpineRenderer.ts: remove
  • src/core/MeshGenerator.ts: Support multi texture & Updated to adapt to the modifications in the renderer.
  • src/core/SpineMesh.ts:Updated to adapt to the modifications in the renderer.
  • src/index.ts:Update package exports
  • src/loader/LoaderUtils.ts: Refract Loader , Consolidated core loading functions into loaderUtil.
  • src/loader/SpineLoader.ts: Refract Loader to address issues
  • src/spine-core/index.ts:Export all spine-core classes
  • src/spine-core/polyfills.ts: Export module.

spine-core update:Updated spine-core, use npm module instead.

zhubei.zb and others added 18 commits June 4, 2024 17:23
* feat: Compatible with Spine version 4.2

* feat: Remove redundant API of spine renderer.

* feat: Rename MeshGenerator to SpineGenerator and extract to static param of spine render 

*feat: Add SkeletonDataResource to manage spine resource memory

* feat: Cache material and animationStateData to optimize memory usage

* feat: Remove SpineMesh, replace all mesh APIs with primitive

* feat: Refactor SpineLoader to adapt to the new asset types in the editor

* feat: Support load multi spine atlas textures

* feat: Support Temporary Link Scenarios
* feat:fix multiply blend mode render problem
* refactor: refract spine API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant