views:

188

answers:

1

I am writing a game maker script and wanted to know how to make a message appear on the following line.

ex. show_message("Hello" something +"World") outputs:

Hello
World
+1  A: 

I'm not positive (never used Game Maker before) but the manual appears to state that a # will work (though that may only work for draw_string). You can also try Chr(13) + Chr(10), which are a carriage return and linefeed.

So, you could try:

show_message("Hello#World")

or

show_message("Hello" + chr(13) + chr(10) +"World")

From: http://gamemaker.info/en/manual/gmaker

Michael Todd