Game Development Community

Pretty easy Gui question

by Ted Lilljegren · in Technical Issues · 11/17/2007 (1:35 pm) · 1 replies

I have fethism for those old schol scrolling text imersions that you used to see in games in the old days, where instead of a CGI movie u got to see some text scrolling over a background picture of something central to the story, acompanied by some imersive music. This ought to be easy to do in torque, with scripting only, but since im quite green on this marvelous litlle engine, i thought id ask how to do this. Lets say it goes something like this: Client starts game, client get to see the scrolling text via a "canvas.setContent(coolScrollingText)" call, and after the client chosses to end that particular gui, the playGui is called.

When i think about it, maybe it would be easier if the user scrolled the text instead of the text scrollin g by itself, since most GUI elements dont work on a tick by tick basis?

#1
11/17/2007 (7:29 pm)
If you use a textlist control you can easily set up a repeating schedule in script that will move the position of the control up or down. Likewise, you can bind keys to move the control around, this can give the impression that the text is moving but really it is the whole control.

You could probably do the same thing without gui controls using a textobject ( I haven't used them so I don't really know if they support multiple lines).