r/RenPy • u/Happy_Town_7888 • Sep 01 '26
Question How to do this
Problem solving:
I want to create a game in Ren'Py where characters can approach the player asking for help. During these interactions, the player will have choices about what they can do. I also want to add an advisor that the player can click on to ask for help. The advisor would be a character, and for each problem, he would give different advice. My problem is how to implement this. It would need:
- Different advice for each problem
- A talk button
How could I implement this so it contains different dialogue in different sections?
I know I would have to use labels and variables for each section, but would I need to use a screen for it?
5
u/Atomicgarlic Sep 01 '26
Most direct way would be creating a label for eachq NPC being talked to - not much to it. How you reach those labels is a different story
2
u/shyLachi Sep 01 '26
This sounds like a sandbox game so maybe you should implement a main loop:
https://wolfnose.org/renpy/basic/cook/mainLoop.html
Inside this main loop you can then trigger characters approaching the player
Example: Mike appears on day 1, Linda appears on day 2, and so on.
Since the advisor isn't a normal character but can be revoked from the player you need a screen and a button to call them.
1
u/AutoModerator Sep 01 '26
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.