What is an easy way to make a text box instead of showing text above characters?

Started by kinan___rod, Thu 03/09/2015 17:52:33

Previous topic - Next topic

kinan___rod

Hi, what is the best way to create a text box for all spoken text instead of showing it above characters? I still want to use lucasarts style because I want the speaking animation to remain there, thanks in advance!

Slasher

The way I just did it is by having a bar (an object 40h x room width) across the top of the screen and using SayAt to display on top of the object bar at x, y + length.

This way the text will display on and across the bar.

Example:
Code: ags
  cJones.SayAt(6, 71, 640, " \"The professor has not been seen in two months.\" "); 


Example in action:



You can of course have the image of the top bar as you want.

others may have other ways..


Monsieur OUXX

There is no default "custom dialog box". Unfoirtunately I don't know if there's a module that does that.
But it's not too hard; you can use slasher's methid, or you can create a custom gui to display the text, etc. Just make sure you replace the default "Say" method with your own -- that I'm sure you'll find forum posts that deal with this topic.
 

SMF spam blocked by CleanTalk