FelixNemis Posted October 26, 2013 Share Posted October 26, 2013 I can't seem to get phaser to show up at all on android. I commented out every single line of javascript except thisvar game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update });function preload(){}function create(){}function update(){}My page is using the phaser.min.js from the build directory. I'm using the 1.1 release. And I still can't even get the canvas to show up on Android (it works on my laptop).I've tried both the android browser and firefox mobile, My android version is 2.3.5. I'm loading the page from the same server.If I put in a document.write() at the end of my script it shows up as expected. I tried loading the examples at gametest.mobi/phaser (firefox mobile and android browser) and some of them work but for some (including the first and second sprite examples), the canvas doesn't show up at all. Link to comment Share on other sites More sharing options...
browny Posted October 27, 2013 Share Posted October 27, 2013 the problem is phaser.auto if you use phaser.canvas it will work. i think the webgl detection causes problems on stock android browsers. i have the same problem on android 2.3.1 Link to comment Share on other sites More sharing options...
rich Posted October 27, 2013 Share Posted October 27, 2013 I released a Phaser 1.1.1 update yesterday that addresses the AUTO detection issue, please give this a go and let me know your results. It's live on both master and dev branches on github. Link to comment Share on other sites More sharing options...
browny Posted October 27, 2013 Share Posted October 27, 2013 hi rich,could you change the phaser version in the example suite to 1.1.1 so everyone can easy test it? Link to comment Share on other sites More sharing options...
rich Posted October 27, 2013 Share Posted October 27, 2013 The Examples pull in from the src folder, so they're always up to date. I should change the version number in there though, but will do some more work on it tonight first. Link to comment Share on other sites More sharing options...
FelixNemis Posted October 27, 2013 Author Share Posted October 27, 2013 It works with Phaser 1.1.1 Link to comment Share on other sites More sharing options...
browny Posted October 27, 2013 Share Posted October 27, 2013 hi richsorry i was refering to: http://gametest.mobi/phaser/examples/index.htmlActually as of today the examples with auto don't work on android stock browser 2.3.1. (on opera they work)anyway the examples with canvas perform very well. thank you for making this very smart and powerfull framework. Link to comment Share on other sites More sharing options...
rich Posted October 27, 2013 Share Posted October 27, 2013 Ah yes I hadn't uploaded there - thanks for letting me know, uploaded now Link to comment Share on other sites More sharing options...
browny Posted October 28, 2013 Share Posted October 28, 2013 hi rich,great now 90% of the examples work on my android stock browser.before it were about 50%.whats left wrong is:all mario examples stay black. fullscreen example renders an atari (thats not the main bug where are the amiga and 64s) but does not go fullscreen onclick to the backgound. Link to comment Share on other sites More sharing options...
rich Posted October 28, 2013 Share Posted October 28, 2013 Lots of the tilemap demos don't run fullstop at the moment. Android stock browser doesn't support the full-screen API, so no surprise there either. Send me a C64/Amiga sprite and I'll add it to the assets folder Link to comment Share on other sites More sharing options...
Recommended Posts