i’m working on a scoreboard but am having difficulty reading text into a string from a keyboard, what would be the best way to achieve this in game?
with a console i would do
BufferedReader in =
new BufferedReader(
new InputStreamReader(System.in));
try {
StringWord = in.readLine();
}
catch(IOException ioex)
{
System.out.println("Input error");
System.exit(1);
}
all i need is characters read from keyboard for name on scoreboard, when enter is pressed it is done! is there an easy way to do this with LWJGL?
i am using bitmap fonts to display the text on screen.
thx

