A question about text output

Game Editor comments and discussion.

A question about text output

Postby Grahor » Wed Feb 18, 2009 9:55 am

Greetings. I have only recently found GE and not sure about its capabilities. Is there a way to output text with more than 256 characters in one batch?

You see, I can't help but put out verbose introductions, descriptions, dialogues, whole encyclopedias in my games, so I need a capability to put a wall of text on the screen and switch between them. Obviously, I can save my text as image and switch it as animations of the actor, or move the actor with huuuuge image file up and down behind the screen, but I think it's resource-consuming and a bit clumsy.

However, I haven't found a way to show more than 256 characters of text in one batch in the screen yet. Putting more than one actor with text together create problems with text formatting.

Also, are there demos, examples or libraries which can create some kind of hypertext capabilities for GE?
Grahor
 
Posts: 4
Joined: Sun Feb 15, 2009 11:53 am
Score: 0 Give a positive score

Re: A question about text output

Postby DST » Wed Feb 18, 2009 1:00 pm

Create an actor, called textlead or something. Put him offscreen (so he will never be onscreen).

Make the text actor a child of textlead, type in your text, and clone the text actor. Give it some new text, and position it where you want. Do this as much as you need. Now you can do whatever you want with textlead, scroll it, fade it in or out, and all of the text will follow in unison.

Might not be what you wanted, but i don't think there's any other way.

Text limitations aren't uncommon among traditional videogames, many consoles had a buffer limit for characters (256 is probably pretty common there). Ge has limitations specifically because it is designed to make game creation easier; sure, a modern computer can display 6 gigabytes of text, but programming it is often quite complex. Thus, Game Editor.
It's easier to be clever than it is to be kind.
http://www.lostsynapse.com
http://www.dstgames.com
User avatar
DST
 
Posts: 1117
Joined: Sun Apr 15, 2007 5:36 pm
Location: 20 minutes into the future
Score: 151 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron