Framerate not showing

16 views
Skip to first unread message

vov...@yandex.ru

unread,
Sep 28, 2016, 11:09:59 AM9/28/16
to Flambe
Use this code
var font:Font = new Font(pack, "myFont");
var fpsMeterEntity = new Entity().add(new TextSprite(font)).add(new FpsDisplay());
System.root.addChild(fpsMeterEntity);

Font is create, but TextSprite in FpsDisplay = null

Reply all
Reply to author
Forward
0 new messages