这个和Qt很像,在开发过程中尽量避免使用中文。如下:

这个AaJH中文,在加载时:

this.nickNameLabel = new PIXI.Text('Your text here', ct.styles.get('AaJH中文')); 
this.addChild(this.nickNameLabel);
this.nickNameLabel.x = 30;
this.nickNameLabel.y = 30;
this.nickNameLabel.depth = 1000;
界面不会加载的,需要用全英文:

调用如下:
this.nickNameLabel = new PIXI.Text('Your text here', ct.styles.get('AaJH')); 
this.addChild(this.nickNameLabel);
this.nickNameLabel.x = 30;
this.nickNameLabel.y = 30;
this.nickNameLabel.depth = 1000;
这样界面就正常了:



















