Jump to content

I can't get phaser to show up on Android


FelixNemis
 Share

Recommended Posts

I can't seem to get phaser to show up at all on android. I commented out every single line of javascript except this

var 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

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

 Share

  • Recently Browsing   0 members

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