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

Error with pixi 7 ? #95

Open
stephanedemotte opened this issue Nov 13, 2022 · 4 comments
Open

Error with pixi 7 ? #95

stephanedemotte opened this issue Nov 13, 2022 · 4 comments

Comments

@stephanedemotte
Copy link

Hello

Got a error with pixi 7

ct.Sprite is not a constructor

Anyone can help ?

@drawcall
Copy link
Owner

Oh, could you show me more error messages? Thanks

@drawcall
Copy link
Owner

drawcall commented Feb 6, 2023

@hayesmaker
Copy link

the pixi 7 example doesn't work if you are importing Pixi methods, as Pixi is no longer a global object.

@drawcall
Copy link
Owner

the pixi 7 example doesn't work if you are importing Pixi methods, as Pixi is no longer a global object.

https://cdnjs.cloudflare.com/ajax/libs/pixi.js/7.2.4/pixi.js

oh why?
cdn mode or es6 mode

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

No branches or pull requests

3 participants