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

Typescript & module assets Rewrite, v5 update #99

Merged
merged 94 commits into from
Sep 14, 2021
Merged

Conversation

andrewstart
Copy link
Collaborator

@andrewstart andrewstart commented Mar 18, 2020

All of the breaking changes in one go:

  • All source code in Typescript (significant, but not actually breaking)
  • Update for PixiJS v5
  • No longer modify existing PixiJS classes but subclass them instead
  • Replace asset format with new module-based one that doesn't rely on any global namespaces.
  • Fix an oddity where the Graphics closePath() shorthand overwrote the DisplayObject setColorTransform() shorthand.

Todo:

  • More testing (in existing projects, preferrably)
  • Update asset conversion script to try to go into .shapes.json files to replace "c" with "cp" and hole changes

Turns out removing it doesn't harm anything - typescript correctly 
removes those type-only imports.
@andrewstart
Copy link
Collaborator Author

@bigtimebuddy @ericente I think this is ready to go. I'm not sure why that one rendering test failed on travis, as it passes locally.

@andrewstart andrewstart requested a review from ericente May 20, 2021 15:03
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@dlawrence2060
Copy link

Can someone review this?

@bigtimebuddy
Copy link
Member

@andrewstart lets ship this

@andrewstart andrewstart merged commit dae195d into master Sep 14, 2021
@andrewstart andrewstart deleted the ts-and-v5-rewrite branch September 14, 2021 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants