Ax209
Member
Right, sorry guys, it's another one of "those" questions. I'm hoping to god I'm just missing something simple.
So I'm trying to draw a line of string to my game screen. Naturally the first thing I tried was..
Create Event
text="This is a string and I can#line break any time I like".
Draw Event
draw_text(50,50,string(text))
But this didn't work. it just drew the flippin' hash hahahaha. Didn't even move the line down.
So I had a look in the manual for GMS2 and it says right there to use #, just like in 1.4. So I looked around the web and on these forums and I found that you can possibly use "\n" to break for a new line. So I tried that.
it didn't display it but it didn't break for a new line either.
Has anyone else encountered this? Am I just using the wrong code here?
So I'm trying to draw a line of string to my game screen. Naturally the first thing I tried was..
Create Event
text="This is a string and I can#line break any time I like".
Draw Event
draw_text(50,50,string(text))
But this didn't work. it just drew the flippin' hash hahahaha. Didn't even move the line down.
So I had a look in the manual for GMS2 and it says right there to use #, just like in 1.4. So I looked around the web and on these forums and I found that you can possibly use "\n" to break for a new line. So I tried that.
it didn't display it but it didn't break for a new line either.
Has anyone else encountered this? Am I just using the wrong code here?