Uhh... Tiny question about 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.
Message
Author
DrakeNavarone
Veteran
Posts: 338
Joined: Mon Mar 06, 2006 2:27 am
Completed: see sig below
Projects: always; never not
Organization: Team BG
Location: PA, USA
Contact:

#16 Post by DrakeNavarone »

I'm not too interested in nvl mode myself, but I was wondering... would it be too difficult to show a different click-to-continue icon before the page is cleared? Like how ONscripter uses an arrow icon for normal text, and a page icon for the last sentence on a page.
http://www.twitter.com/drakeynv
The Compendium of Drake:
Starlit Sky ~ Songs of Araiah ~ Mirai Imouto ~ Temple Glen ~ Fuyu no Tabi

User avatar
PyTom
Ren'Py Creator
Posts: 16097
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

#17 Post by PyTom »

You would need to have a different set of characters for that. The problem here is that we don't actually know that the page is about to be cleared... We don't learn that until the user clicks, and the 'nvl clear' statement executes.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

pheriannath
Regular
Posts: 38
Joined: Fri Feb 16, 2007 5:08 am
Location: Singapore
Contact:

#18 Post by pheriannath »

That's not too much of an issue to fix DrakeNavarone, just make the last sentence has a ctc 'next page' indicator before every nvl clear. Shame about Ren'Py not supporting NVL click-to-continue now, that arrow gives NVL so much more readability.
absinthe wrote:Heh, and I'm kind of weirded out now that I've looked at the image pheriannath posted more closely -- one of the characters in the game when I was first experimenting with a novel-mode effect was named 'Kaede' too!
Heh, that was the very first character name I came up with ^_^

~Po~
Newbie
Posts: 1
Joined: Sun Feb 18, 2007 8:34 pm
Contact:

#19 Post by ~Po~ »

I don't know if this is been fixed with the new release but this is what I did to work around it:

Code: Select all

init:
    # end blinking arrow + NVL Mode
    $ end = False
    python hide:
        def end_overlay():
            if end:
                ui.image(anim.Blink("arrow.png", xpos=760, xanchor=0, ypos=560, yanchor=0))
        config.overlay_functions.append(end_overlay)
Set the xpos and ypos to where you want the arrow and set your image.

Now whenever you want to show it you call it by doing this:

Code: Select all

    $ end = True  # show the arrow
    someChar "Some dialog."
    $ nvl_clear()  # clear
    $ end = False # hide the arrow, this line and the clear line can switch places if you want
Kinda an ugly workaround but it works.

monele
Lemma-Class Veteran
Posts: 4101
Joined: Sat Oct 08, 2005 7:57 am
Location: France
Contact:

#20 Post by monele »

Even better : make a new nvl_clear function that calls the original one *and* sets end to False :).

chisa-chan
Regular
Posts: 197
Joined: Fri Nov 10, 2006 3:25 am
Location: at a village near Bandung, Indonesia
Contact:

#21 Post by chisa-chan »

Hmm, I guess I'll post the problem, too.

Since I use Ren'Py 5.6.7, the NVL menu seems to be...weird. The menu caption doesn't show evenly with its choices (I'll post the screenshot later). The menu items could be set, but the caption couldn't!

Help me, please :(
Kalau tidak suka ya jangan diladeni, gitu aja kok repot™.
Cynanthia's Blog (Indonesian)

pheriannath
Regular
Posts: 38
Joined: Fri Feb 16, 2007 5:08 am
Location: Singapore
Contact:

#22 Post by pheriannath »

~Po~'s solution fixes the problem for an end-of-page indicator, but not an end-of-line indicator... doing such a workaround for that takes mind-boggling work.

I'd rather wait until PyTom's next release.

As for chisa-chan's menu issue - could you give a sample of the code for that menu together with that screenshot?

Post Reply

Who is online

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