Displaying multiple lines of text
![HawtSawce](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Hi,
I need to place multiple lines of text on the screen, enough to fill the entire view space. I am aware of 'display text' and opton+enter. However, when I do this with more than 2 lines and left alignment, for each new line added the entire text box moves over 100 pixels-ish(I assume). While working in GameSalad it appears fine but on my iphone it won't even display because it is so far off. Is there a real proper way to display multiple lines of text without moving over a text actor hundreds of pixels?
Thanks in advance,
-HawtSawce
I need to place multiple lines of text on the screen, enough to fill the entire view space. I am aware of 'display text' and opton+enter. However, when I do this with more than 2 lines and left alignment, for each new line added the entire text box moves over 100 pixels-ish(I assume). While working in GameSalad it appears fine but on my iphone it won't even display because it is so far off. Is there a real proper way to display multiple lines of text without moving over a text actor hundreds of pixels?
Thanks in advance,
-HawtSawce
Comments
It shouldn't look pixelated on the device. If anything it should look better as the pixels are smaller.
One thing to make sure of is that you are placing the image at whole pixels.
What do you mean "whole pixels" firemaplegames?
Thanks again.
Since you are using the larger graphics, I assume you are targeting an iPhone4 and Resolution Independence?
Any image with an odd dimension will blur.
Likewise, if you are using Resolution Independence, make sure all of your large graphics are a multiple of 4, otherwise when they get down-sampled for the older devices, they will have odd dimensions.
i.e a 70x70 pixel image now becomes a blurry 35x35 pixel image...
1. the DisplayText has to be entered as an expression.
2. "1st Attribute".." , ".."2nd Attribute"
the . . between the attributes are very important; they tell the computer that there is more to come. (that you want the concatenation of the 2 or more strings.)
------
correctly entered multiple lines display perfect in GS Preview but in the GSViewer and on the devices anything over 3 lines (in my experience) shows up as a white box... save yourself the hassle... use an image.
MH
@Rob2
Thx for the link, i'll check this out.
@ MotherHoose
The text displaying is for debugging purposes only
I will try your solution, for I try the Ctrl+Enter and was never able to make it wok :P.