Now BitmapedText is working whit a costum mirrored font image

This commit is contained in:
Ziver Koc 2007-04-07 18:14:19 +00:00
parent 39d8eb9247
commit 1c2b9629f0
3 changed files with 49 additions and 265 deletions

View file

@ -18,14 +18,14 @@ public class TextTest extends LWJGLGameWindow{
protected void init(){
text = new BitmapText("Test text");
text.setText("LOL THIS IS A TEST!!");
text.setText("ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789");
pos = 0;
}
protected void update() {
super.update();
pos += 0.2f;
text.setLocation(new Vector2f(200,200));
text.setLocation(new Vector2f(200+pos,200+pos));
text.update();
}