public Atlas2() { // The size of the texture should be a power of 2 label = LabelAtlas.label("123 Test", "tuffy_bold_italic-charmap_s.png", 16, 21, ' '); addChild(label); label.setPosition(10, 100); schedule("step"); }
public void step(float dt) { time += dt; label.setString(new CCFormatter().format("%2.2f Test", time)); }