How do I skip lines in the text box ?

Just started using Construct 2? Post your questions here

Post » Sat Jul 11, 2015 7:39 pm

Hi guys,

I get a really noob question, sorry :oops:
How can I skip lines with the text box ?

I want to get answers for several questions like this :
Image

To optimize the game, I want to use the background and add for each question, the answer, with the text box but I don't know how I can skip lines... :oops:

Image

I also try to change this in the xml file... but I'm a noob and don't know how do this :( I tried '\n', <br> ...

Image

Can someone help a noob like me ?
B
4
Posts: 8
Reputation: 216

Post » Sat Jul 11, 2015 7:49 pm

You should set the text in the event sheet..
When doing so you can use set text = "line 1"&newline&"line2"&newline&newline&"line 3"
to get:

line 1
line 2

line 3
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat Jul 11, 2015 8:02 pm

It works fine !
Thanks a lot, you saved me !
B
4
Posts: 8
Reputation: 216


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest