Escape sequences in

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Posts: 5
Joined: Wed Mar 25, 2009 6:50 pm

Escape sequences in

Post by Zetty » Sat Mar 28, 2009 6:12 am

Is it just me or does the \t for tab not work in

Instead, it looks like

Code: Select all

Where [] is a solid rectangular box which reminds me of missing fonts/font support (unicode?) but should be a tab instead. Am I doing something wrong?

User avatar
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands

Re: Escape sequences in

Post by bartbes » Sat Mar 28, 2009 8:59 am

They just don't work. Newline characters work only in the regular draw statement, so if that's function-dependant, try using \t with all text-drawing functions, maybe one of them supports it.

User avatar
Posts: 364
Joined: Mon Feb 04, 2008 5:24 pm

Re: Escape sequences in

Post by mike » Sat Mar 28, 2009 10:55 am

Only the newline (\n) character is supported. The rest of them gets treated like "normal" characters, as far as I know.
Now posting IN STEREO (where available)

Post Reply

Who is online

Users browsing this forum: No registered users and 35 guests