I am using messages from a script file, read by StringTokenizer. They look like this
"Welcome to this game\nThis is the second line of the message.\nThis is the third line.
Problem is the \n will be printed converted into characters so when I use it in game i get all the text with “\n” also printed on screen instead of doing the next line command. I tried creating a StringTokenizer with delimiter but failed, how do I fix it?