Athul Dilip Posted October 21, 2014 Share Posted October 21, 2014 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 More sharing options...
Athul Dilip Posted October 21, 2014 Author Share Posted October 21, 2014 Got it! Really sorry that I posted about it without much research on it It happened because I didn't use a web server and Chrome doesn't like assets being loaded like that without any web servers! Link to comment Share on other sites More sharing options...
valueerror Posted October 22, 2014 Share Posted October 22, 2014 so this is solved ! would you plz mark it as solved ? thx Link to comment Share on other sites More sharing options...
Recommended Posts