Author Topic: Print multiple messages at the same time?  (Read 7943 times)

0 Members and 1 Guest are viewing this topic.

Offline Hysler

Print multiple messages at the same time?
« on: February 01, 2012, 10:35:08 PM »
I don't recall ever seeing it done in any of the AGI games I've played and I'm not sure if it's possible.  Does anyone know if you can have two or more messages pop up at the same time? 



Offline Cloudee1

Re: Print multiple messages at the same time?
« Reply #1 on: February 02, 2012, 01:23:21 AM »
My initial thought is no, but that doesn't mean you couldn't fake it. create 2 views that are the messages and toss those up on the screen... or maybe just one view, pop it up and then use a regular message that way you get the game to pause while the messages are visible. But then again, I'm not an agi guy so it may be possible, I just don't know how.
Halloween Competition Brass Lantern Prop Competition Groundhog Day Competition

Offline Hysler

Re: Print multiple messages at the same time?
« Reply #2 on: February 09, 2012, 04:04:21 PM »
Thanks for the response, I was thinking of making it a view but decided to ask here first.  I guess I'll start on that ASAP.

Offline klownstein

Re: Print multiple messages at the same time?
« Reply #3 on: February 20, 2012, 08:47:14 PM »
I belive there is a way to make multiple text boxes on the screen at once.  I think it is rather convoluted and I can't remember all the specifics, but I believe it is accomplished by preventing the background from 'refreshing' and then making the text appear on it.  That way, when the player presses 'enter', the text box does not disappear.  Note that if you have any 'views' around the text box, you need to prevent them from refreshing as well because it causes the text box around the view to be cleared.  Sorry I can't give specifics because I can't remember them anymore. :(  If I can muster the motivation, I'll see if I can flush out the details for you.

An additional technique that you could use:
Make a view that is a blank white box, draw the view on the background and stop it from refreshing, use the command to write text on the screen (Like when 'you think you hear footsteps!' in SQ1).  This would allow you to have multiple areas of text on different parts of the screen but can also allow the player to move around while the text is there.  (See Mixed Up Mother Goose when the riddles are written out for an example of how this works)

-klownstein


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.029 seconds with 22 queries.