system
1
|
|
|
|
Attention |
Topic was automatically imported from the old Question2Answer platform. |
|
Asked By |
ismaelgame7 |
|
Old Version |
Published before Godot 3 was released. |
hello again,
I was wondering how to break the line using GDscript on the label?
In GameMaker I used the # to break the line
like this: “This is #an example”
In the GameMaker is so, but in Godot how do you do it?
Can someone help me?
system
4
|
|
|
|
Reply From: |
Nutr1z |
Hi,
It’s quite simple, and the standard for a lot of programming language : \n
This is \nan example
see Escape character
Thank you and happy new year!
ismaelgame7 | 2016-12-31 15:39
Thanks, saved me so much time, I thought this would be difficult, got the answer right away here!
Important:
Is \n not /n
luislodosm | 2020-10-27 22:52
so helpful, thanks
mystico | 2022-11-03 00:58