Jump to content

Check if it's running with WebGL or Canvas?


isfuturebright
 Share

Recommended Posts

So I made a quick example here that works like the bunny benchmark on pixijs. It works when I set the render to CANVAS but the screen stays black when it's set to either WEBGL or AUTO.

 

Here is the example running on the Smart TV emulator. It works the same on TV with worse performance, obvious ;)

post-5230-0-01709100-1384260027.png

 

I've attached the full project for you guys to take a look. It won't work on a normal browser since it will try to find the referenced TV APIs. 

phaserjs_bunnybenchmark.zip

Link to comment
Share on other sites

If the Pixi WebGL demos work for you, but Phaser in WebGL mode doesn't, then it can only really be a few things. I have never used the Smart TV emulator, does it have a standard console you can inspect? My guess is there will be an error in there somewhere.

 

Try toggling the transparent and anti-alias flags too.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...