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

v8: Puzzling Potions #17

Merged
merged 13 commits into from
Apr 2, 2024
Merged

v8: Puzzling Potions #17

merged 13 commits into from
Apr 2, 2024

Conversation

bbazukun123
Copy link
Collaborator

@bbazukun123 bbazukun123 commented Jan 10, 2024

v8 Upgrade Journey

  • Upgrade to the latest pixi v8 and all the supported plugins' version. Currently linking locally these dependencies:
  • Update application init syntax.
  • Update application's view reference to canvas , eg. document.body.appendChild(app.canvas).
  • Update Ticker callback functions' parameter to be of type Ticker instead of number.
  • Replace all Sprite.from(Texture.WHITE) with new Sprite(Texture.WHITE).
  • Replace all updateTransform overrides with this.onRender = () => this.renderUpdate() where renderUpdate is a custom function.
  • Remove canvas parameter from Label class which extends the Text class.
  • Rename label variable on UI elements which overlap with Container's label, ie. in this project -> messageLabel.
  • Update pixi UI's slider function override from on onUpdate to onValueUpdate.

Known Issues

  • Type Error when doing x.filters = null.

@Zyie Zyie changed the title Next v8: Puzzling Potions (With Deprecates) v8: Puzzling Potions Apr 2, 2024
@Zyie Zyie changed the base branch from main to dev April 2, 2024 08:36
@Zyie Zyie merged commit a26a767 into dev Apr 2, 2024
3 checks passed
@Zyie Zyie deleted the next-v8-puzzling-potions branch April 2, 2024 08: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
Development

Successfully merging this pull request may close these issues.

2 participants