Azern

Problem with Pixijs on Cordova

Recommended Posts

Straight away to my problem. I don't know why I can't see the background I use in my app here.
As you can see here, I can see my background if I just run it like a normal web. But when I try it to run on emulator, the background doesn't show.
 

I've also tried the cordove run browser, the result were the same with running using emulator.

Any idea what's wrong with it?

Capture.PNG

Share this post


Link to post
Share on other sites

So, I got one of my problem that NOX doesn't run any javascript. I tried it with my other app from playstore.

And it leave me something in my code.

The problem emerge here.

Quote

var rendererContainer = eval(gameSettings.renderer);

the gameSettings.renderer should have the value of "autorenderer". But it doesn't run, I don't know why.
When I manually change it to ...

Quote

var rendererContainer = autorenderer;

it run just fine, like what I should to

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.