Something like a textbox ??

Forums Programming cocos2d support (graphics engine) Something like a textbox ??

This topic contains 1 reply, has 2 voices, and was last updated by  pabloruiz55 4 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
Author Posts
Author Posts
July 30, 2009 at 12:39 am #216445

bsharp42
Participant
@bsharp42

I have a random string of 512 characters that I want to display on the screen.

If I use Label, the characters obviously go out of screen.

Is there like a textbox class that I could use to display long sentences ? A box that I could declare the size of ?? So that instead of

abc defghi ajlfjkdla kjkl fkjfkd kjdfkjl

I would get

abc defghi ajlfjkdla

kjkl fkjfd kjdfkjl

July 30, 2009 at 12:42 am #254799

pabloruiz55
Participant
@pabloruiz55

hi! You can have multiline labelAtlas:

http://www.cocos2d-iphone.org/forum/topic/207#post-1166

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.