Line Breaks in Lists

duckduck

  • Posts: 11
Hi,

I'm working on a game that randomly calls dialogue from a list. It's all working fine except I want to use line breaks in the dialogue and the "\n" function doesn't seem to be working. Any other ideas? Thanks.

Abigayl

  • Posts: 807
One workaround is to add a symbol to your text that you will never use (I picked ~ for The Lonely Square) and when your text reaches that symbol, end the current text and start drawing text below it (or whatever you are doing to the text).
If you need help, please check my tutorials either here or Kongregate (http://www.kongregate.com/accounts/Abigayl) or come over to my stream: http://www.livestream.com/poweredbyflowers

duckduck

  • Posts: 11
It worked. Thanks!

Abigayl

  • Posts: 807
Glad it works :)

Please be sure to edit your first post to include [SOLVED] in the title.
If you need help, please check my tutorials either here or Kongregate (http://www.kongregate.com/accounts/Abigayl) or come over to my stream: http://www.livestream.com/poweredbyflowers

EducativeApps

  • Posts: 7
One workaround is to add a symbol to your text that you will never use (I picked ~ for The Lonely Square) and when your text reaches that symbol, end the current text and start drawing text below it (or whatever you are doing to the text).

Hi Abigayl

could you show me the code for that ?  How do I stop drawing and contenue from where I have stopped?

LIBERADO

  • *
  • Posts: 2660
The Labels extension does it automatically:
   
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.