Margin padding...etc with text display
stefdelec
Member, PRO Posts: 146
Hi,
Basically I want changing text to fit in a cloud shape... Do you know how to constraint text to fit insie the could? For gamesalad, if I am not mistaking, actors are "square" not the shape of the image.
Thanks!
Regards,
Stéphane.
Comments
All you'll ever need to know about the display text behavior:
http://forums.gamesalad.com/discussion/81238/an-illustrated-guide-to-the-display-text-behaviour
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
You cannot do this automatically, you'll need to define the line breaks carefully by hand.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
Consider making an image that contains the speech bubble and text and importing that instead.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
It would need to be an animated image sequence ("I want changing text"), essentially I'd say this was one thing that is impractical to do in GameSalad.
@Socks I read that to mean that the text should change from one string to a different string, as in a dialogue. But you could be right.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Ah ! Yes, I see, if it is that then I'd definitely go with an image like you say.
@tatiang In the case of taking image, it is raising another question: how to minimize the space taken by image. If I got 200 different string to be displayed in this cloud, it would enlarge size of the app, wouldn't it?
(I gonna search on the forum. Sure someone already asked this question)
Actually I've found a solution. I create 2 actor: the cloud shape, and an actor for the text. I make the actor (square) for the text to fit in the cloud shape.