Continuously flowing NVL mode

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
luminarious
Veteran
Posts: 353
Joined: Thu May 01, 2008 1:12 pm
Projects: Winter, winter
Location: Estonia
Contact:

Continuously flowing NVL mode

#1 Post by luminarious » Thu May 29, 2008 6:20 am

Hi!

I am still not python-savvy enough for my needs, so I turn to You, fellow Renpyans.. :) It should not be very difficult, I hope, to modify NVL mode to behave thusly: if the next sentence would be outside the nvl-mode textbox, the topmost row or two would be removed instead. And like wise, if a NVL-style menu comes up, the choices would again be added to the bottom of the text. This way I would need to add the nvl clear statements only when I really need them. The text would flow a lot more naturally.

I from the code I understand only that it can somehow be done, but the specifics are over my head..
Last edited by luminarious on Fri Jan 15, 2010 3:47 am, edited 3 times in total.

User avatar
EvilDragon
Veteran
Posts: 284
Joined: Fri Dec 28, 2007 5:47 am
Location: Where the Dragons rule!
Contact:

Re: Continously flowing NVL mode

#2 Post by EvilDragon » Thu May 29, 2008 7:46 am

I think it's much better to add nvl clear every time it should be used. That way the end-page ctc indicator works as it should. Also, less errors are possible that way.
Angels of paradise, angels of sacrifice
Please let me be under your wings...

User avatar
luminarious
Veteran
Posts: 353
Joined: Thu May 01, 2008 1:12 pm
Projects: Winter, winter
Location: Estonia
Contact:

Re: Continously flowing NVL mode

#3 Post by luminarious » Thu May 29, 2008 8:33 am

EvilDragon wrote:I think it's much better to add nvl clear every time it should be used. That way the end-page ctc indicator works as it should. Also, less errors are possible that way.
I appreciate the comments, but I'm going for a rather specific look/feel with this. And endpage indicator wouldn't look right anyway..

User avatar
chronoluminaire
Eileen-Class Veteran
Posts: 1153
Joined: Mon Jul 07, 2003 4:57 pm
Completed: Elven Relations, Cloud Fairy, When I Rule The World
Tumblr: alextfish
Skype: alextfish
Location: Cambridge, UK
Contact:

Re: Continously flowing NVL mode

#4 Post by chronoluminaire » Thu May 29, 2008 10:08 am

EvilDragon wrote:I think it's much better to add nvl clear every time it should be used. That way the end-page ctc indicator works as it should. Also, less errors are possible that way.
I'm not sure you've understood. It sounds like luminarious is wanting to have most of the game be a continuous flow of text (with mouse clicks every paragraph), so there'll be very few places where "nvl clear" would be wanted - probably just scene changes. It sounds like a nice interface, but I'm not familiar enough with NVL mode to know how to program it myself.
I released 3 VNs, many moons ago: Elven Relations (IntRenAiMo 2007), When I Rule The World (NaNoRenO 2005), and Cloud Fairy (the Cute Light & Fluffy Project, 2009).
More recently I designed the board game Steam Works (published in 2015), available from a local gaming store near you!

Watercolorheart
Eileen-Class Veteran
Posts: 1314
Joined: Mon Sep 19, 2005 2:15 am
Completed: Controlled Chaos / Sum of the Parts / "that" Midna game with ZONEsama
Projects: Sparse Series/Oddments Shop original cartoon in Pevrea; Cybernetic Duels (fighting game); Good Vibin'
Organization: Watercolorheart Studios
IRC Nick: BCS
Tumblr: adminwatercolor
Deviantart: itsmywatercolorheart
Github: Watercolordevdev
Skype: heartnotes
Soundcloud: Watercollider
itch: watercolorheart
Location: Florida
Contact:

Re: Continously flowing NVL mode

#5 Post by Watercolorheart » Thu May 29, 2008 7:01 pm

I haven't tried NVL mode yet. Is it comparable to the power of Tsukihime's presentation?
I'm not even the same person anymore

User avatar
EvilDragon
Veteran
Posts: 284
Joined: Fri Dec 28, 2007 5:47 am
Location: Where the Dragons rule!
Contact:

Re: Continously flowing NVL mode

#6 Post by EvilDragon » Fri May 30, 2008 4:15 am

Yes, of course it is. You can even have those crazy tabbed lines all over the screen. With the help of a certain "Custom text tags" script from the Cookbook.
Angels of paradise, angels of sacrifice
Please let me be under your wings...

User avatar
delta
Epitome of Generic
Posts: 525
Joined: Sat Dec 22, 2007 12:59 pm
Projects: yes
Contact:

Re: Continously flowing NVL mode possible?

#7 Post by delta » Sat May 31, 2008 10:49 am

Seems doable if you write your own buffer (a list of recent lines) and display that in a custom displayable. I did something like that to get readback.
The rest is left as an exercise for the reader.

User avatar
luminarious
Veteran
Posts: 353
Joined: Thu May 01, 2008 1:12 pm
Projects: Winter, winter
Location: Estonia
Contact:

Re: Continously flowing NVL mode possible?

#8 Post by luminarious » Mon Aug 17, 2009 8:29 am

After more than a year, I still find myself sometimes thinking about such a way of presenting text. Has anyone given it any thought meanwhile?

It seems some sort of buffering and a scrollable text-box is needed. Only about a hundred or so last lines would be in this buffer and scrollback would just scroll up to show the previous lines, no images would change. But how to do it, I couldn't figure out myself.. :(

Anyone?

User avatar
luminarious
Veteran
Posts: 353
Joined: Thu May 01, 2008 1:12 pm
Projects: Winter, winter
Location: Estonia
Contact:

Re: Continuously flowing NVL mode possible?

#9 Post by luminarious » Fri Aug 21, 2009 7:12 am

I should probably rename the topic, as it's most probably possible, it's just that I don't know how yet.. :P

Ok, I've made first steps.. it's possible to collect lines of text in nvl mode via http://lemmasoft.renai.us/forums/viewto ... 469#p56469 , if I understand this correctly.

Also, admittedly, a very important reason for me is that when I've written a whole bunch of text, I really don't want to break the flow of reading with unnecessary screenclearing..

User avatar
luminarious
Veteran
Posts: 353
Joined: Thu May 01, 2008 1:12 pm
Projects: Winter, winter
Location: Estonia
Contact:

Re: Continuously flowing NVL mode

#10 Post by luminarious » Fri Jan 15, 2010 3:52 am

I still haven't succeeded in programming this on my own, so I again turn to you. Would anyone be willing to develop this in exchange for my services? I'm not much of an artist, but I can proofread, playtest, make a website, whatever else.. :)

(I do really really wish PyTom would implement this himself, so that every game designer could decide for himself wether to use nvl clear or just let the text flow. But I understand there's little to be done if I'm the only petitioner..)

User avatar
Gumaster
Regular
Posts: 93
Joined: Sun Sep 06, 2009 6:54 am
Contact:

Re: Continuously flowing NVL mode

#11 Post by Gumaster » Fri Jan 15, 2010 11:10 pm

not sure if this will do what you want it to, but have you tried using ADV mode with a fullscreen textbox? It scrolls down if the text exceeds the textbox, so I think the effect would be similar to what you want...
Menus would be kinda iffy though, especially if you have a lot of them, although there probably is an alternative I'm not aware of.

User avatar
JinzouTamashii
Eileen-Class Veteran
Posts: 1686
Joined: Mon Sep 21, 2009 8:03 pm
Projects: E-mail me if you wanna rock the planet
Location: USA
Contact:

Re: Continuously flowing NVL mode

#12 Post by JinzouTamashii » Sat Jan 16, 2010 1:17 am

You guys continually amaze me.

I can't wait for the next Ren'Py version.
Don't worry, we can get through it together. I didn't forget about you! I just got overwhelmed.
https://cherylitou.wordpress.com

User avatar
luminarious
Veteran
Posts: 353
Joined: Thu May 01, 2008 1:12 pm
Projects: Winter, winter
Location: Estonia
Contact:

Re: Continuously flowing NVL mode

#13 Post by luminarious » Sat Jan 16, 2010 7:30 am

Gumaster wrote:not sure if this will do what you want it to, but have you tried using ADV mode with a fullscreen textbox? It scrolls down if the text exceeds the textbox, so I think the effect would be similar to what you want...
Menus would be kinda iffy though, especially if you have a lot of them, although there probably is an alternative I'm not aware of.
Indeed, I have a lot of menus I can't leave out. I'm using nvl_menu to better integrate them into the dialogue text flow.

User avatar
Gumaster
Regular
Posts: 93
Joined: Sun Sep 06, 2009 6:54 am
Contact:

Re: Continuously flowing NVL mode

#14 Post by Gumaster » Sat Jan 16, 2010 6:15 pm

well, if you're only putting a 100 line buffer or so, you could just copypaste the last 100 lines, and stick it on a new page with the {fast} tag, so that it appears all at once (and thus doesn't look like anything has changed, since it's the same text as what was already there) and stick the menu under it, which is what I do currently (without the 100 line buffer, just the text on that page) It's messy and clogs stuff up and looks like spaghetti code and is inconvenient but it LOOKS like it works, which is how I work xD I didn't like NVL mode when I tried it, so I did this to mimic FSN/tsuki type fullscreen textboxes

Post Reply

Who is online

Users browsing this forum: No registered users