Athul Dilip Posted October 21, 2014 Report 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! Quote Link to comment Share on other sites More sharing options...
Athul Dilip Posted October 21, 2014 Author Report 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! Quote Link to comment Share on other sites More sharing options...
valueerror Posted October 22, 2014 Report Share Posted October 22, 2014 so this is solved ! would you plz mark it as solved ? thx 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.