Launching Applications from Ren'Py

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
Dylan_Bain
Regular
Posts: 101
Joined: Mon Mar 09, 2015 2:05 pm
Organization: Dylan Bain Games
Location: Scotland
Contact:

Launching Applications from Ren'Py

#1 Post by Dylan_Bain » Fri Mar 13, 2015 5:19 am

Ok, this is a bit hard to explain, so I am going to try my hardest!

I am planning a game right now that I want to come in a package. By that I mean the game will be divided into 7 stories, and they will each be seperate Ren'Py games.
Is there a way to create some sort of launcher for these games? You know, like a menu that says something like 'Select Your Story!' or something like that, and after selecting their story launching that app?

For example- If when I went onto the 'Select Your Story' menu, I selected Story1, it would launch the first Ren'Py game, but if i selected Story2, it would launch the second and so on.

If the launcher can't be made with ren'py, do you have any suggestions on how I could make one?

Thanks!
Dylan_Bain :lol:
Image
http://lemmasoft.renai.us/forums/viewto ... 52#p365552 Curently NOT Accepting Commisions!

User avatar
PyTom
Ren'Py Creator
Posts: 15893
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: Launching Applications from Ren'Py

#2 Post by PyTom » Fri Mar 13, 2015 9:57 am

You certainly can do this, using the python subprocess module. That's how the Ren'Py launcher does it.

That being said, a better way might be to have a single game, and actions like Start("game1"), Start("game2") and so on.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Post Reply

Who is online

Users browsing this forum: Bing [Bot]