How to render Text? #751
Replies: 4 comments
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). @Override
public void render(Graphics2D g) {
super.render(g);
TextRenderer.render(g, "Hello, World!", Align.CENTER, Valign.MIDDLE, Game.window().getWidth() * 1 / 2d, Game.window().getHeight() * 1 / 2d);
} |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022).
Posted: 2021-10-03 15:56:38
User: AlexWayles [] (age: 393 days 🏆; posts: 5)
I want to render a text.
Beta Was this translation helpful? Give feedback.
All reactions