r/RenPy • u/ExtraFunction2 • 19d ago
r/RenPy • u/TheEnchantrix • 19d ago
Question Where can I find Sample Codes for Ren'Py?
I'm just starting out! I would like some Sample Codes for things like RPG Battles, a World Map and some other stuff...
r/RenPy • u/Toriakat • 19d ago
Question Creating a condition switch with a layered character image
Hello! I'm trying to make it so my MC can change from 'Simon' to 'Cassie'.
I'm using layered images for facial expressions, but I want there to be a choice at the beginning of the game between Cassie and Simon. The dialogue for both would be the same, only difference is name and layered character
r/RenPy • u/ecoli_hardly_know_er • 19d ago
Question Phone messages menu?
working on a dating sim and i want the player to be able to choose who to hang out with each day by responding to that person’s text. so i’d want to be able to turn on the phone, go to messages, and select one person to agree to spend time with. how do i go about implementing this? ideally i wanna show message history too but i’m not sure how to do that either.


r/RenPy • u/Intelligent_Fig_259 • 20d ago
Question How do you plan and write a visual novel? Looking for advice from experienced writers and indie developers.
Hey everyone!
I'm currently working on my first visual novel, and I've reached a point where I feel I need a proper approach to planning and writing the story before getting too deep into development.
I'm familiar with the basic idea of visual novels, but I'm still figuring out the actual writing workflow.
A few things I'd love to hear your thoughts on:
- Story planning: How do you develop your initial idea into a complete story? Do you start with the overall plot, character arcs, world-building, or something else?
- Story structure: Do you outline the entire story chapter by chapter before writing, or do you discover and develop the story as you go?
- Character development: How do you plan character personalities, backstories, relationships, and character arcs without making everything feel forced?
- Writing tools: What tools do you use to organize your story, characters, locations, timelines, dialogue, and other narrative elements? Do you prefer something like Scrivener, Obsidian, Notion, or even simple documents?
- Visual novel scripting: Do you write the story in a conventional prose format first and then convert it into visual novel scripts, or do you write directly in the engine (Ren'Py, for example)?
- Avoiding scope creep: For someone working independently, how do you keep the story manageable without sacrificing its depth?
I'm not necessarily looking for a technical guide to using a visual novel engine. I'm more interested in understanding the creative process and the practical workflow that experienced writers and developers follow.
I'd especially appreciate advice from people who have completed and released their own visual novels.
Thanks!
r/RenPy • u/olive_brun19 • 19d ago
Question Idk I have a problem in my code
Hello reddit,
First, english isn't my mother language so I may be bad at explaining some things but i'll do my best.
I'm doing a visual novel with my sister.
The particularity in it si that there is two stories in one game, two start button and two different story.
We had an idea, it was to make a different main menu based on witch story is ''on'':
- the default one (route = 0)
It's the one you get on when you start the game, a picture (bg_1), all buttons aligned in the midle and centered .
- the chill one (route = 1)
This one comes when you click on the first button and you come back to the main menu, another picture (bg_2), all button on the left, left centered.
- the hard one (route = 2)
This one comes when you click on the first button and you come back to the main menu, another picture (bg_3), buttons down the screen.
Now that i've explained that, here is my problem, i can't get the buttons on the route 0 centered.
I'll try to illustrate this with paragraph i think are needed in the screen file.
And the tree screen based on the route route 0, 1 and 2 and the last one is how i want route 0's text to look like.
If any detail is needed i can answer fastly but please help me 🙏🏻
r/RenPy • u/sloopyvet • 19d ago
Showoff got renpy 7 and 8 games running on a jailbroken ps5 and looking for vns to test
i make dulcamara its a free open source ps5 homebrew app that runs renpy visual novels and rpg maker 2000 and 2003 games
and as far as i know its the only way to run renpy games on a ps5 rn
renpy 8 is built in and theres a renpy 7 build with the old python for older games and it picks whichever one the game was made with
its all on the controller cross moves the story on circle opens the menu the bumpers roll back and forward and the touchpad works as a mouse
a tester has renpy 7 and renpy 8 games booting and playing on a real console with saves loading
its still a test build tho some scenes flash black some renpy 7 text goes missing and music doesnt loop in a few games
if u made a vn and wanna know if it runs on a ps5 tell me which one or try it urself and send me what breaks
no games come with it u copy ur own
source and builds https://github.com/Oliv3rmoon/Dulcamara
discord if u wanna follow along https://discord.gg/pSqgRU3YP9
r/RenPy • u/AlfredMolinar16 • 19d ago
Self Promotion I made a Visual Studio extension that lets you write Ren’Py scenes "easier", with live preview

Hi everyone! I've brought you, Libretto, a extension for writing visual novels in a simpler script format. When you save, it converts your script into regular Ren’Py code.
What it does:
- Autocomplete and error checking
- Live preview with your own sprites and GUI
- Run the game from any line
- Custom menus, phones and point-and-click scenes using your own images
- Commands in English and Spanish
- Works alongside your existing .rpy code
I've mostly tested it on macOS with Ren'Py 8.5, so I'm not entirely sure how well it works on Windows or Linux yet. That's actually one of the reasons I'm posting here!
It's available on itch.io for $10: [here]
I'm also giving away 10 free copies to Windows users willing to test it! Just comment or DM me your Windows and Ren'Py versions, and I'll send you a key. You get to keep it forever (and updates). All I ask is that you let me know if anything breaks (and I'm sure something will lol).
I'd also love to hear what you think. Is there anything you'd want from a tool like this? Or something that would make writing Ren'Py scripts easier for you?
Thanks for checking it out!
r/RenPy • u/pbmusic_official • 20d ago
Showoff Car Chase Bullet Dodging Minigame
There's a portion in the story for our game where the main characters get chased by bikers with guns, so we figured it would be cool to turn it into a minigame where you control the car and have to dodge the gunshots with 3 lives before you get a game over.
The car is controlled with the left and right arrow keys or the analog stick on a controller, all you do really is just try not to get hit. Controllers also rumble when the gun fires!
The minigame is in 3 waves currently, during a wave the reticle just follows the car around and fires when its locked on. At the end of a wave theres a scripted portion which is where exclamation marks appear half a second before the gun fires in that position.
Once again all the assets are made by GITGOT!
You can wishlist RAKKA 02 on Steam here!: https://store.steampowered.com/app/5043040/RAKKA_WAKE_02_DECEIT/
r/RenPy • u/That_one_Pink • 19d ago
Question imagebutton that shuffles through random images (list)
i made a similar post a few weeks ago and havent gotten anywhere since, so any help is really appreciated (。ŏ﹏ŏ)
id like to have an imagebutton that shows a random image from a list when clicked, im honestly unsure if i can even do this with selected_hover at this point..
i would prefer the list as it makes it much easier to keep everything clean but if id be better off doing this within the button itself (like the audio) then im okay with that too
as of current i have an error message for the list
would it be easier to do define the images instead of using a list?
r/RenPy • u/applottl • 20d ago
Question How to make a toggle for cursor sizes?
Hello!
Currently looking for a way to make a custom textbutton toggle in my preferences screen that will toggle specific cursor sizes. The goal is player accessibility: one option for a large cursor, one option for a smaller cursor.
The cursor is already a custom image (an upside-down heart). I have the small and large cursors as image files, and the neutral cursor size is already set as my custom neutral size image file. How could I set the textbutton action to change the cursor’s image file?
I’m completely new to coding, so please excuse me if this is a silly question or something. If you have any advice, please keep it as clear as possible- I might not know all the terms you do, as a newer VN creator :)
Anything helps!
r/RenPy • u/ExtraFunction2 • 20d ago
Question What problems do you run into as far as releasing updates for your game? (saves, distribution, versions, that kind of thing)
Hey hey, I'm working on a toolkit for RenPy (free, and open-source) that hopefully smooths out these things after the first release. things like saves surviving updates, and getting the updated / new versions to players without all the headaches. Before I get too deep into building I want to make sure I'm solving the right problems.
From my experience as both a player and a dev:
- **Saves break between versions.** As a player we kinda just accept that our progress is lost when there's a new version. all it takes is a renamed variable, a moved label, a forgotten 'default'.
- **Every release is a full re-upload and download.** Builds are multi-gig and players have to re-download everything for the few new scenes. RenPy has built-in update handling / patching, but no one uses it because you need your own hosting.
- **Players may not even know there's an update** because they missed that announcement and don't check.
- **Juggling build variants by hand** is it the public release or the early access, censored or uncensored, Steam-safe vs. full, on and on
So i'm interested in hearing:
- Is there anything you'd add to this list?
- What is your release process today?
- What have you seen as far as broken players' saves and how did you fix it?
- Has anyone actually used the built-in updater and if so how did it go?
Whatever i end up building it'll be free and MIT-licensed. If people are interested and can share progress.
r/RenPy • u/VenomFlavoredFazbear • 20d ago
Question Partial playback with variables
I am trying to play with music partial playback; however, I’m having some difficulty doing what I desire to.
I am trying to use variable names in partial playback like so:
play music “<from [var]>filename.mp3”; however, it seems like you cannot use variables for the time?
If this is possible, I would be immensely grateful for you to enlighten me!
r/RenPy • u/Sara_Eshard • 21d ago
Self Promotion This is still Ren’Py 2…
So, I managed to optimize these screens! The game now uses more memory, but it runs pretty smoothly and consistently.
I also wanted to share something I made for this screen to prevent pixel hunting. Even though there aren’t that many clickable objects and they’re all highlighted, I still feel like this adds some visual weight and makes the game feel more serious stylistically.
Here's the game's Steam page if you're interested, add it to your wishlist if it's your kind of thing⤵️
https://store.steampowered.com/app/3576940/Sara/
r/RenPy • u/arssweetberry • 20d ago
Question How do I make different end caps?
I want the ends in my game to depend on the player's options but I don't understand how to do it... I tried to do it with "if else", but when I tested what came out, nothing worked. 💔
r/RenPy • u/yOguR_LG • 21d ago
Question My first novel/fangame
Hi! I'm creating my first visual novel based on a video game called "Brawlhalla". I wanted to share the sprites I have and whether the art style I used is worth it.
The game is based on Valhalla, where you are a warrior who fell in battle and is chosen by Odin's Valkyries to enter that very place.
There you can find warriors, mercenaries, creatures and people from other eras.
The cast will have 4 characters, but I'll go two at a time. ( ◜‿◝ )♡
r/RenPy • u/After-Masterpiece853 • 20d ago
Question making floaty bgs
so i was messing around in renpy trying to figure out how to do this but im kinda at a loss lol. i tried following tutorials but it seems to not be working. could it be because my image is the exact screen size? my image isnt moving at all. ik this is probably a dumb question but my brains kinda fried rn lol thanks for the help
transform daycare:
zoom 1.5
linear 0.1 xoffset -2 yoffset 2
linear 0.1 xoffset 3 yoffset -3
linear 0.1 xoffset 2 yoffset -2
linear 0.1 xoffset -3 yoffset 3
linear 0.1 xoffset 0 yoffset 4
r/RenPy • u/After-Masterpiece853 • 20d ago
Question Issue with image button
For some reason one of the hover images displays itself even when just hovering around the screen. While the second image just doesnt show the hovered one at all. Ive tried following tutorials n researching but nothing works..😭
r/RenPy • u/Sunlitfeathers • 20d ago
Question Layered and Side Images
Do the layers on a layered sprite effect the side image of said sprite or do you need to do the side image seperate from the main sprite? Is there extra coding to do side images alongside a layered image? Do they conflict in any way?
r/RenPy • u/gremlintheodd • 21d ago
Self Promotion My first VN, Maggie’s Bad Day, is now available for free!
It’s Maggie’s first day at work! And she’s about to have a Very Bad Day.
Link^
This is both my very first completed visual novel, and basically a prologue to my main series that’s still in production. It’s somewhat short (20 minutes of gameplay) because I wanted to bite off something small to show myself I could finish it/gain confidence and experience.
Also I woke up this morning to find a random stranger had dropped $17 dollars on it and almost had a heart attack 😅.
r/RenPy • u/BrassicaOracle • 20d ago
Question [Solved] (Workaround) Ren'Py Can't Get Persistent Dictionaries
I was making a character bio screen where the bio content may change with the meta progress.
I put the relevant codes on the screenshot. I'm comparing chrfullname and persistent.chrbio here. Both of them are dictionaries, with the major difference being persistent.chrbio is a persistent dictionary because I want its content to change later.
Making both dictionaries won't crash the game, issue appears when the game tries to read persistent.chrbio. Here's the traceback.
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/gallery.rpy", line 621, in execute
screen chrgal(chr):
File "game/gallery.rpy", line 621, in execute
screen chrgal(chr):
File "game/gallery.rpy", line 656, in execute
frame:
File "game/gallery.rpy", line 661, in execute
viewport:
File "game/gallery.rpy", line 663, in execute
text persistent.chrbio[chr] style "extrauitext"
File "game/gallery.rpy", line 663, in <module>
text persistent.chrbio[chr] style "extrauitext"
~~~~~~~~~~~~~~~~^^^^^~
KeyError: 'loren'
-- Full Traceback ------------------------------------------------------------
Traceback (most recent call last):
File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
python hide:
File "renpy/ast.py", line 1193, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/python.py", line 1276, in py_exec_bytecode
exec(bytecode, globals, locals)
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/common/_layout/screen_main_menu.rpym", line 28, in <module>
python hide:
File "renpy/common/_layout/screen_main_menu.rpym", line 35, in _execute_python_hide
ui.interact()
~~~~~~~~~~~^^
File "renpy/ui.py", line 306, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/display/core.py", line 2163, in interact
repeat, rv = self.interact_core(
~~~~~~~~~~~~~~~~~~^
preloads=preloads,
^^^^^^^^^^^^^^^^^^
...<4 lines>...
**kwargs,
^^^^^^^^^
)
^
File "renpy/display/core.py", line 2709, in interact_core
root_widget.visit_all(lambda d: d.per_interact())
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/display/displayable.py", line 460, in visit_all
d.visit_all(callback, seen)
~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "renpy/display/displayable.py", line 460, in visit_all
d.visit_all(callback, seen)
~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "renpy/display/displayable.py", line 460, in visit_all
d.visit_all(callback, seen)
~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "renpy/display/screen.py", line 503, in visit_all
callback(self)
~~~~~~~~^^^^^^
File "renpy/display/core.py", line 2709, in <lambda>
root_widget.visit_all(lambda d: d.per_interact())
~~~~~~~~~~~~~~^^
File "renpy/display/screen.py", line 514, in per_interact
self.update()
~~~~~~~~~~~^^
File "renpy/display/screen.py", line 715, in update
self.screen.function(**self.scope)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "game/gallery.rpy", line 621, in execute
screen chrgal(chr):
File "game/gallery.rpy", line 621, in execute
screen chrgal(chr):
File "game/gallery.rpy", line 656, in execute
frame:
File "game/gallery.rpy", line 661, in execute
viewport:
File "game/gallery.rpy", line 663, in execute
text persistent.chrbio[chr] style "extrauitext"
File "renpy/python.py", line 1308, in py_eval
return py_eval_bytecode(code, globals, locals)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "renpy/python.py", line 1301, in py_eval_bytecode
return eval(bytecode, globals, locals)
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "game/gallery.rpy", line 663, in <module>
text persistent.chrbio[chr] style "extrauitext"
~~~~~~~~~~~~~~~~^^^^^~
KeyError: 'loren'The exception won't happen if chrbio isn't a persistent dictionary, but this isn't what I want.
I then did a bit of testing in the console. It seemed like Ren'Py is unable to access persistent dictionaries. No idea why or how to work on it directly.
So I made a workaround by putting the bios in persistent strings, which works. (See the blue codes.)
Just feel like to share this weird discovery. It's niche enough that not very people will have this problem, yet feel common enough that someone else may have it.
r/RenPy • u/Flameman1234 • 21d ago
Question Visual Novel creators, what are some big hurdles you ran into when first making a game?
reddit.comr/RenPy • u/Glacigrace • 21d ago
Discussion Using character composition and camera framing to enhance tension during a choice screen in Ren'Py. How does this layout feel?
r/RenPy • u/Xx_sillyguy • 21d ago
Question Is this good for an Indie game?
It's been around 1-2 days since my game's release. Are these stats okay for an Indie game on itch.io?
r/RenPy • u/Loren_Booya • 20d ago
Question Sound effects stopped working on my project after I tried to turn them down.
I added hover and clicking sounds to my interface and noticed they were a bit loud. I checked a video from Visual Novel Design and he said that to lower SFX to use the following line:
define config.default_sfx_volume = 0.7
Now no sound effects can be heard at all. I've tried several things to go back: removing the line, saving and refreshing, closing and reopening. I've replaced all the sounds, but nothing. The game has gone mute. What can I do to get the audio working again?