Game Maker Language new line

thehollow89 picture thehollow89 · Nov 4, 2009 · Viewed 12k times · Source

I am writing a GML script and wanted to know how to make a message appear on the next line:

ex.

show_message("Hello" + *something* + "World")

outputs:

Hello
World

Answer

Frederik Witte picture Frederik Witte · Feb 18, 2011

For GameMaker: Studio 2, always use \n as new line.

show_debug_message("First Line\nSecond Line");

For earlier releases, always use # as new line.

show_message("First Line#Second Line");