toto88x Posted January 30, 2014 Share Posted January 30, 2014 Hello,I'm porting one of my Phaser game using CocoonJS. Everything works properly in my iPad launcher, except the text labels.All my text labels are replaced by black rectangles. Here is the code of one of my label:game.add.text(w/2, h/2, 'hello', { font: '16px Arial', fill: '#fffff' });Do you have any idea why?Thanks! Link to comment Share on other sites More sharing options...
toto88x Posted January 31, 2014 Author Share Posted January 31, 2014 So do you have any idea what's the problem? I'm really stuck. I saw that there are some issues with custom fonts with pixi + cocoonJS. But here I'm using a default font (Arial)... Thanks for your help! Link to comment Share on other sites More sharing options...
i_want_to_make_games Posted February 9, 2014 Share Posted February 9, 2014 I have the same issue... Link to comment Share on other sites More sharing options...
toto88x Posted February 9, 2014 Author Share Posted February 9, 2014 I discovered that with cocoonJS you need to use bitmap fonts. Link to comment Share on other sites More sharing options...
Recommended Posts