(Answered) Display complete text and add a scroll bar on NVL screen.

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
Zeroized
Regular
Posts: 33
Joined: Sat Mar 23, 2013 12:33 am
Contact:

(Answered) Display complete text and add a scroll bar on NVL screen.

#1 Post by Zeroized »

Greetings.
I'm working on a VN, and I want to display all the paragraphs of a scene on the screen until a decision needs to be taken and allow the player to scroll to read the text using the mouse wheel, or by using a scroll bar on the side.
Since the VN displays a lot of text and the NVL screen can only show one screen of text until a click needs to be made, I want to do that to avoid unnecessary clicking.
How can I do that? Thanks in advance.
Last edited by Zeroized on Mon May 07, 2018 11:04 pm, edited 1 time in total.

philat
Eileen-Class Veteran
Posts: 1912
Joined: Wed Dec 04, 2013 12:33 pm
Contact:

Re: Display complete text and add a scroll bar on NVL screen.

#2 Post by philat »

I would say don't, as that's probably not an optimal reading experience. (https://www.youtube.com/watch?v=mopBSNyFEE4 )

But if you must, I suppose you can {nw} through all your lines and change the nvl screen to use a viewport. https://www.renpy.org/doc/html/screens.html#viewport

User avatar
Zeroized
Regular
Posts: 33
Joined: Sat Mar 23, 2013 12:33 am
Contact:

Re: Display complete text and add a scroll bar on NVL screen.

#3 Post by Zeroized »

Thanks for the tip, I think I'm into something here.
However, I'm stuck.
How can I hide the text that goes beyond the borders of the window? Because I have a top and a bottom menu, and I don't want the text of the screen overlapping with the text on the menus.

kivik
Miko-Class Veteran
Posts: 786
Joined: Fri Jun 24, 2016 5:58 pm
Contact:

Re: Display complete text and add a scroll bar on NVL screen.

#4 Post by kivik »

philat wrote: Tue May 01, 2018 9:07 pm I would say don't, as that's probably not an optimal reading experience. (https://www.youtube.com/watch?v=mopBSNyFEE4 )

But if you must, I suppose you can {nw} through all your lines and change the nvl screen to use a viewport. https://www.renpy.org/doc/html/screens.html#viewport
Nice video! I'm really glad more and more people are talking about UX these days, but to have someone talk so specifically about the use of text in games, and emphasis the case studies that I hated (I hated the reading in both witcher and skyrim) and show how to do it right, that's just great. I need to finish the video later when I have the time :)

philat
Eileen-Class Veteran
Posts: 1912
Joined: Wed Dec 04, 2013 12:33 pm
Contact:

Re: Display complete text and add a scroll bar on NVL screen.

#5 Post by philat »

That's Joe Humfrey from inkle, whose 80 Days is, imo, basically the gold standard for presentation of really ridiculous amounts of text. It's also very similar to the talk he delivered at GDC, which is gated behind an also ridiculous membership fee, so. Enjoy it; it's great stuff.

Post Reply

Who is online

Users browsing this forum: Majestic-12 [Bot], snotwurm