Jump to content

Pixjs game in adobe air web view


Neso
 Share

Recommended Posts

I have a game that uses pixijs as an engine. And when I try to load it trough adobe air web view the game doesn't show. In the logs it would appear like the javascript and everything is working. But the canvas is not displayed. 

 

Did anyone experience issue like this :) or tried to run games in webview. 

 

I tried running bunny example and it didn't work as well. 

 

Thank you all.

Link to comment
Share on other sites

Yes that is true.

 

Making games work in adobe air is possible but it is painful. Few things I've observed.

  • Web view identifies itself as one of the latest browsers but in fact this is not true. There are serious discrepancies between. Native browser and the web view with using native browser flag set to true.
  • Audio will be huge issue, I've ended with disabling it.
  • Audio web api is not available. 
  • You have to watch out which stage is in use. You have to use adobe air one. Otherwise, there will be noticeable issues with canvas rendering. Usually only white screen as result.
  • WebGL is not available.
  • Rendering texts that are not bitmap fonts will prove troublesome. And I've noticed performance drops if you are trying to render a lot of them.
  • Overall performance is worst then running the game in native browser on the same device.
  • On iOS everything works fine :) and game performs more or less as expected. 

To conclude don't use it unless you have to for some weird reason. And unless you have some legacy software. Cacoonjs is far better option, in regards to options and performance. 

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...