-
Notifications
You must be signed in to change notification settings - Fork 2
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
Canvas not rendering anything #7
Comments
I recently tried to do the examples and encountered similar issues. It appears that none of pixi's plugins are getting loaded automatically. Issues on the official pixi repo say that this is a webpack related issue, but most of the time this results from version mismatches between PIXI libraries which is not the case here. ¯\_(ツ)_/¯ I can't help with the ticker, but if you want to get manual rendering up and running, I got mine working by putting the following lines before I initialize my Application: val renderer = Renderer
renderer.registerPlugin("batch", BatchRenderer.unsafeCast<IRendererPluginConstructor>()) |
Hi, I replied to @dosier on Slack, but maybe the response was lost :) |
@Ayfri please update to v7 |
Sorry I don't have time anymore to work on this project, I also tried on my computer to create one module per JS module, but it's not working as optional dependencies isn't a concept present in Gradle. |
I've just found out about the release of pixi 8.0.0-beta and maybe I will update this project as everything was moved into a single module. |
Hey, first of all, thanks for putting in the work. I've been hoping for this mapping, and would like to contribute.
I am trying out one of the examples given in the project, but nothing is being drawn to the screen.
The canvas is created, and I can see the components on the screen through PixiJS debug tools in Chrome, but the rendering loop is not being started.
When I try to manually call
app.render()
after creating the app, it does draw the background color, if I then try to add a sprite and callapp.render()
again, it gives meI suspect it has something to do with the ticker plugin not being loaded because when I invoke
app.start()
it tells me start is undefined.Any clues?
The text was updated successfully, but these errors were encountered: