Multiple windows in a game, like Nintendo DS?

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
WoLoLoiK
Newbie
Posts: 13
Joined: Thu Jun 20, 2019 7:41 am
Contact:

Multiple windows in a game, like Nintendo DS?

#1 Post by WoLoLoiK » Wed Feb 12, 2020 9:50 pm

It's an idea that I've had for a while.

Is it possible to make a game with more than one window in Ren'Py? Like, is it possible to have a game where these multiple windows affect each other at the same time?

Say, a game where you work for the NSA. One window could show the "target" as they go on with their lives, talking to people and that kinda stuff. Another window would be where you get to play "hacking" minigames that would occasionally pop-up as the story progresses, and without which you would be unable to progress.

Is such an idea possible in Renpy?

The ideal scenario would be that there would be two executables that would open a window each; "camera", and "hacktool". But if that isn't possible, I've heard about child windows and how they can be "dragged" outside the main game window; if so, how would you go about doing it?

I only know enough about programming to make a choice-based game with splashscreens and stuff, so do go easy on me hahaha

Thank you for our time!

User avatar
isobellesophia
Miko-Class Veteran
Posts: 793
Joined: Mon Jan 07, 2019 2:55 am
Projects: Maddox and Friends 2020 aka (AI Teacher), Friendly Universities 2020-2021 (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: .......
Location: Philippines, Mindanao
Contact:

Re: Multiple windows in a game, like Nintendo DS?

#2 Post by isobellesophia » Sat Feb 15, 2020 9:42 pm

I dont think that can be possible at all, yes, RenPy can run windows at twice, but i think it can be done through pythons and persistent or variables, it can be hard though
I am a friendly user, please respect and have a good day.


Working on a talking simulation game for everyone, except children.

Maddox and Friends
Is my very very main project, not contain 13 below.

Main project i currently working viewtopic.php?f=43&t=56564
Image

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 2850
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Multiple windows in a game, like Nintendo DS?

#3 Post by Imperf3kt » Sun Feb 16, 2020 1:11 am

Ren'Py can run other applications via python - it can be forced to start another program, for example, another ren'py game.

I don't know if you can make the two interact, but you could probably fudge something together using multi persistent data and affect both via save files.


I cannot, however, envisage how this feature would be useful on any device with less than two screens.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Twitter

User avatar
Andredron
Veteran
Posts: 396
Joined: Thu Dec 28, 2017 2:37 pm
Location: Russia
Contact:

Re: Multiple windows in a game, like Nintendo DS?

#4 Post by Andredron » Sun Feb 16, 2020 2:44 am

I know, I'm writing terribly in English.

I'm writing a Renpy textbook (in Russian). https://yadi.sk/d/ZX_DonP63USRru Update 22.06.18

Honest Critique

User avatar
gas
Miko-Class Veteran
Posts: 624
Joined: Mon Jan 26, 2009 7:21 pm
Contact:

Re: Multiple windows in a game, like Nintendo DS?

#5 Post by gas » Sun Feb 16, 2020 7:03 pm

Not exactly like NDS (those games are a single app that send data to screen 1 or screen 2, with a proper hardware, some PC could struggle to run two renpy instances at once!).
Anyway, you can always split the single game window in two, by savvy use of screens (or use in-game pop-ups for multi-level experiences). I think is the more logical and faster way to obtain such behaviour.
10 ? "RENPY"
20 GOTO 10

RUN

Post Reply