New answers tagged

1

It's reading one character at a time, so it's not properly escaping the new line. I would suggest looking for escape characters in your Stampa() function, and if it's an escape character, read the next character in at the same time. Something like: void Stampa(string stringa, int i) { string r = stringa[i]; if (r == '\\') r += stringa[i+1]; ...


0

First of all, we remove these two lines, because we don't want to add them separately: table.add(healthbar).expandX().pad(10).left(); table.add(playerLook).expandX().pad(10).left(); Then we change this: stack.add(table); stage.addActor(stack); to this: table.add(stack); stage.addActor(table); Because we don't wish to add the table to the stack, we ...



Top 50 recent answers are included