Is it possible to achieve a "Chat Room" effect?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
blankd
Veteran
Posts: 258
Joined: Wed Aug 26, 2009 4:04 pm
Completed: Vicarwissen
Projects: Heavenseed (current), I'm Not a Monster! (working on it slowly...)
Organization: Team Lazilisk
Tumblr: blankd
itch: blankd
Location: *taka taka taka*
Contact:

Is it possible to achieve a "Chat Room" effect?

#1 Post by blankd »

To clarify, not making a dialogue box look like a "chat room" but to make the dialogue carry out like a chatroom would with an 'autoscroll' as it goes down, and of course while still displaying the previous words as well as who spoke it.

Thanks for any help in advance.

*For now, I've just been using NVL mode.

Jake
Support Hero
Posts: 3826
Joined: Sat Jun 17, 2006 7:28 pm
Contact:

Re: Is it possible to achieve a "Chat Room" effect?

#2 Post by Jake »

blankd wrote:*For now, I've just been using NVL mode.
I was thinking about this problem myself a little while ago, and that's basically exactly how I'd do it. Use NVL mode, then make the textbox however large you want with styles. I'm sure I've seen a property for making a window/box/whatever scrollable in certain directions, but annoyingly I can't find it right now...


The other option, I guess, would be - for every new line of dialogue - to display every single previous line, with "\n" (linebreak) and "{fast}" after them, then the new line of dialogue... which would display all the previous stuff immediately and then type out the new line of dialogue at whatever your text speed is. But that's probably only a better solution for very short sections of dialogue.
Server error: user 'Jake' not found

Kikered
Regular
Posts: 128
Joined: Sat Feb 26, 2005 3:02 pm
Completed: Quine, The Secret Ingredient
Projects: Metropolitan Blues, Mirai Imouto, Temple Glen, Fuyu no Tabi, MIA
Organization: Team BG
Location: The Midwest
Contact:

Re: Is it possible to achieve a "Chat Room" effect?

#3 Post by Kikered »

IIRC, I think TeamBG's "MIA" uses the latter. You can see it in action here:

http://www.bishojo.tk/gameshow.php?id=35
Verbosity leads to unclear, inarticulate things.

User avatar
blankd
Veteran
Posts: 258
Joined: Wed Aug 26, 2009 4:04 pm
Completed: Vicarwissen
Projects: Heavenseed (current), I'm Not a Monster! (working on it slowly...)
Organization: Team Lazilisk
Tumblr: blankd
itch: blankd
Location: *taka taka taka*
Contact:

Re: Is it possible to achieve a "Chat Room" effect?

#4 Post by blankd »

Thanks!

They do have a nice chat box effect, unfortunately I can't decipher how they did it. ]8

Post Reply

Who is online

Users browsing this forum: Google [Bot]