Neso Posted April 23, 2015 Share Posted April 23, 2015 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. Quote Link to comment Share on other sites More sharing options...
rich Posted April 23, 2015 Share Posted April 23, 2015 Canvas or WebGL? Force it to a Canvas Renderer and try again. If that doesn't work then it's most likely just not compatible at all, or has tried to polyfill something that the web view doesn't support. No error logs? Quote Link to comment Share on other sites More sharing options...
clark Posted April 24, 2015 Share Posted April 24, 2015 Word on the street is that Abobe AIR uses an old Webkit build. Fictitiously I see this as 2010 and was overtaken by "PhoneGap" and that is shit at best. Quote Link to comment Share on other sites More sharing options...
Neso Posted April 27, 2015 Author Share Posted April 27, 2015 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. clark 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.