supreme-committee / text-adventure

UCSC CMPS 115 Project
0 stars 0 forks source link

'\r' in <text> elements causes weird symbols #67

Closed mgrijalva closed 10 years ago

mgrijalva commented 10 years ago

While running a test I put line breaks in one of the text elements and these weird boxes showed up: weird

The second tile does not display these weird symbols.

Here is the tar I used if you'd like to test it: https://dl.dropboxusercontent.com/u/423071/test32.tar

The first file uses Microsoft-style line breaks (\r\n I believe) instead of the unix standard. These should be trimmed out as SFML does not appreciate them.