mardi 20 janvier 2015

Add bitmaptext into world group


Vote count:

0




I can't see any BitmapText appear in the new world? As far as I understood, sprites can be added into world and group object, is it possible with BitmapText?



var nworld=new Phaser.World(gnote);
nworld.width=1016;
nworld.height=400;

var hobject=new Phaser.BitmapText(gnote,0,0,"bitfont","Hello World",54);
nworld.add(hobject);


asked 29 secs ago







Add bitmaptext into world group

Aucun commentaire:

Enregistrer un commentaire