Closed GoogleCodeExporter closed 8 years ago
Thanks, I'll have a looksee
Original comment by rtaylor205@gmail.com
on 5 Jul 2010 at 12:06
Looks like you're adding it to the Scene when there's no text.
Which is fair enough, no reason why you shouldn't, but the engine just didn't
like it!
It's fixed now :)
Original comment by rtaylor205@gmail.com
on 5 Jul 2010 at 7:52
Nope, still doesn't work.
Think you might have forgot to commit some files, because the only file you
updated was DimensionalObject.java.
And just as a side note, it doesn't work even if you add setText() before you
add it to the scene.
Dunno if I'm using it wrong or what, but this is what I have (and it still only
works if you use VBO's)
font = new Font("arial.ttf");
scoreText = new TextSprite(10, 100, 10, 20); // Just some random numbers to see
if it works
scoreText.setTexture(font.createTexture("Some Text"));
scoreText.setText("Test"); // This doesn't seem to do anything, because when it
does work (when you use VBO's) it just writes "Some Text" and not "Test"
add(scoreText);
Oh, and is there a way to use the font already on the phone so you don't have
to add one yourself?
Original comment by anton.he...@gmail.com
on 5 Jul 2010 at 8:56
Original issue reported on code.google.com by
anton.he...@gmail.com
on 4 Jul 2010 at 10:07