Tag Info

New answers tagged

0

var game = new Phaser.Game(480,350,Phaser.CANVAS,"GameContainer"); var GameState = function(){ //var font; }; GameState.prototype.preload = function(){ this.load.bitmapFont('pixelArt',"assets/fonts/pixel-Art.png","assets/fonts/pixel-Art.xml"); // note : The xml file should be saved with UTF-8 encoding or some browsers won't load it. }; ...



Top 50 recent answers are included