Skip to content
Discussion options

You must be logged in to vote

@IAmNelu posted on an example repo on discord, and I forked it and got it working...
IAmNelu/testing-pixi@main...thejustinwalsh:testing-pixi:main

I am unsure if there is an issue with trying to conditionally render Application specificlly, but there are a lot of things that one may not expect to happen, if you mount Application and do not wait for the onInit callback.

Maybe we can improve the documentation around how the renderer or other members of the app may not be accessible until after onInit has been called... i.e. renderer, or any getter derived from the renderer (width/height) etc.

Additionally, there might be some more room to improve docs around how to use PixiViewport, or any o…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@trezy
Comment options

Answer selected by trezy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants