Jump to content

My Phaser game is not working on chrome when bitmap text is used


Athul Dilip
 Share

Recommended Posts

When I use bitmap font

 

titleTxt = this.add.bitmapText(this.world.centerX-270,this.world.centerY-50,'eightbitwonder','Touch to Start!',44);

 

It worked perfectly on Mozilla Firefox but it is not working on Google Chrome

 

but when I replace that line of code with this

 

tileTxt = this.add.text(300,300,'Touch to Start!');

 

it worked on both browser!

 

I don't much experince with phaser so please help me to solve this or suggest an alternative way for using fonts!

 

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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