Opening a .html file in renpy? [SOLVED]

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
AsHLeX
Miko-Class Veteran
Posts: 556
Joined: Wed Dec 25, 2013 1:09 pm
Completed: Starlight Dreamers, Mysterious Melody, Town of Memories, Marked, To Fly, The Change, Him From The Past, A Forgotten Memory
Projects: Cafe Mysteria
Location: Malaysia
Contact:

Opening a .html file in renpy? [SOLVED]

#1 Post by AsHLeX »

I realize that we can play around with the
*in options.rpy*

Code: Select all

config.help = "GAME.html"
to open a different html file than the default one but is there a way to configure another button similar to 'help' so that can have two different buttons to open two different .html files?
*I hope this makes sense >o< I'm not sure how to explain it @.@*
Thanks for reading this guys! :D Your help is greatly appreciated ^^"
Last edited by AsHLeX on Sat Jul 26, 2014 1:34 am, edited 1 time in total.
Image
New demo out 24/12/23!!

User avatar
PyTom
Ren'Py Creator
Posts: 16088
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:

Re: Opening a .html file in renpy?

#2 Post by PyTom »

You can do:

Code: Select all

vbox:
    textbutton "Help" action Help()
    textbutton "Walkthrough" action Help("walkthrough.html")
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

User avatar
AsHLeX
Miko-Class Veteran
Posts: 556
Joined: Wed Dec 25, 2013 1:09 pm
Completed: Starlight Dreamers, Mysterious Melody, Town of Memories, Marked, To Fly, The Change, Him From The Past, A Forgotten Memory
Projects: Cafe Mysteria
Location: Malaysia
Contact:

Re: Opening a .html file in renpy?

#3 Post by AsHLeX »

@PyTom:
Okay, got it! Thanks!!! :D
Image
New demo out 24/12/23!!

User avatar
korova
Veteran
Posts: 217
Joined: Sat Jun 27, 2009 5:15 pm
Completed: Ivy, Chocolate, Time, Clair Obscur
Projects: Writing exercises, The House [Nano18]
Tumblr: korova08
itch: korova
Location: Normandie, France
Contact:

Re: Opening a .html file in renpy? [SOLVED]

#4 Post by korova »

Hey ! It helped me too !

I was wondering how to open different help files according to language...

Now I can do it !

Thanks too !

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Semrush [Bot]