shapevoid Posted November 9, 2016 Share Posted November 9, 2016 My code as follows: // loading this.game.load.bitmapFont("futura", "assets/image/"+this.game.pr+"x/futura.png", "assets/image/"+this.game.pr+"x/futura.xml"); // game var score = this.game.add.bitmapText(this.game.width/2,this.game.height/2 - 200, 'futura', "aaa", 100); I see nothing, no errors in console I can trace out the score object and position, scale, value, everything is fine but the text doesn't show. I can run the exact same code with the 'desyrel' font xml and png and get the font showing so my xml appears to be the issue however I can see what the problem is? I created the png and xml with the litter tool (renamed .fnt output file to .xml) any ideas? futura.xml Link to comment Share on other sites More sharing options...
rich Posted November 9, 2016 Share Posted November 9, 2016 I can't see the "a" character in that font. What happens if you try the text string "ABC0123456789" ? Link to comment Share on other sites More sharing options...
nazimboudeffa Posted November 9, 2016 Share Posted November 9, 2016 thx for the font btw, i was searching a way to display score in a concept of a level like this one http://imgur.com/qw2Sbe9 so i see something here http://asciimulation.link/ad/100DA/ Link to comment Share on other sites More sharing options...
shapevoid Posted November 10, 2016 Author Share Posted November 10, 2016 17 hours ago, rich said: I can't see the "a" character in that font. What happens if you try the text string "ABC0123456789" ? haha, oh my, thanks Rich,, had been a long day! Link to comment Share on other sites More sharing options...
Recommended Posts