Skip to content

Conversation

Zyie
Copy link
Member

@Zyie Zyie commented Jul 17, 2025

Migrates from loadParser to parser for asset configuration.

This change introduces an id field to the LoaderParser interface and updates the asset loading logic to use this id for parser identification, while maintaining backwards compatibility with the name field.

New name are:
json
svg
text
video
web-font
bitmap-font
spritesheet
texture
basis
dds
ktx2
`ktx

Migrates from `loadParser` to `parser` for asset configuration.

This change introduces an `id` field to the `LoaderParser` interface and updates the asset loading logic to use this `id` for parser identification, while maintaining backwards compatibility with the `name` field.
Copy link

codesandbox-ci bot commented Jul 17, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit e53e97b:

Sandbox Source
pixi.js-sandbox Configuration

Copy link
Member

@bigtimebuddy bigtimebuddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, so much easier to remember! Thanks for doing this.

@Zyie Zyie added the ✅ Ready To Merge Helpful when issues are in the queue waiting to get merged. This means the PR is completed and has t label Jul 22, 2025
@Zyie Zyie added this pull request to the merge queue Jul 22, 2025
Merged via the queue into dev with commit b74fb49 Jul 22, 2025
5 checks passed
@Zyie Zyie deleted the feat/load-parser-id branch July 22, 2025 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✅ Ready To Merge Helpful when issues are in the queue waiting to get merged. This means the PR is completed and has t
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants