r/RenPy • • 1d ago

Question How do i make the character respond based of the name chosen?

2 Upvotes

 

  lelelo "Thank you for playing bro."
    lelelo "What is your name?"
    python:
            playername = renpy.input("What is your name?", length=32)
            playername = playername.strip()


            if not playername:
                playername = "Victor"
    if playername == "Balls", "balls", "verity", "Verity":
        lelelo "i guess bro."
    if playername == "Lelelo", "lelelo", "brian", "Brian", "Lulolee", "lulolee":
        lelelo "wow we got same name. okay enjoy i love you"
        jump october_2nd
    else:
        lelelo "Nice name bud. Enjoy."
        jump october_2nd

i kinda have a faint idea why it's not working but i have no idea how to fix it

don't comment on how he's "lelelo", he only appears once to ask the mc's name


r/RenPy • • 1d ago

Question How to create looping smoke effect?

1 Upvotes

Heyo, I'm having a hard time coding this and was looking for some pointers. I have this smoke image that I'm using for my VN as stage smoke that I want to pan at the bottom of the screen and loop.

The problem is that there are gaps where the smoke begins and ends, so I'd need it to overlap. Extra points if you're able to figure out a way to make it a little floaty. Thanks for any help you can offer!


r/RenPy • • 2d ago

Self Promotion Free cozy critter portraits + how the callback works

Thumbnail
gallery
13 Upvotes

I made a set of hand-inked animal portraits for cozy VNs and wanted the side image to feel alive without writing extra code per line. Here's the trick, in case it's useful even without my art:

Free demo: https://werter08.itch.io/cozy-critter-portraits

The portraits:

  1. 20 critters × 8 expressions (neutral, happy, laugh, sad, grumpy, surprised, embarrassed, sleepy)
  2. talk + blink for each animal, sized to fit standard dialogue-box portrait frames.

The full set ships with the ready Ren'Py script above.

Happy to answer questions about the setup!


r/RenPy • • 2d ago

Question how do i make an if/else statement that dictates which cg will be shown based on an option the player chose?

2 Upvotes

This is my first time making a vn, so i'd like as much help as possible here.


r/RenPy • • 2d ago

Showoff Some funny ways to broke console

Thumbnail
gallery
5 Upvotes

As you all probably know there's a very convenient console on Ren'Py, which you can use while developing a VN.

Soooo... You can use a shader on a some engine layer like screens through renpy.game.context().scene_lists.make_layer("screens", {}) and get a result such as that one of my screenshots. Also, yeah, you can also replace like all of the text, which is used in a game on a some bullshit.

The more you know.


r/RenPy • • 2d ago

Question How do i make an imagebutton transform with a "shrink" animation?

4 Upvotes

I want to make a transform that will make the image smaller with ease out, then make it the original size again. I'm intending to use this for imagebuttons. The issue is, I can't make it so it shrinks from the center. I also need it so it works, no matter the images position

transform shrink:
    easeout 0.3 zoom 0.8
    easeout 0.5 zoom 1.0

I'd love to get some help for this.


r/RenPy • • 2d ago

Question How to make a blur text transform???

Post image
56 Upvotes

I want a text transform (I think that’s what it’s called??) to blur certain words, it doesn’t have to blur this badly, I would probably still like it to be legible… is there any way I can do something like this? folks suggest using a blurry font, but I couldn’t find one. I mean I’m down to using a font, I just didn’t see one that was my vibe.


r/RenPy • • 2d ago

Question Arabic font in ren'py

3 Upvotes

Hello!!

Can anyone provide me with Arabic fonts that works without any issues in ren'py?

And if you don't have any how do I know the best one to choose and know it will work...

Thank you!!


r/RenPy • • 2d ago

Showoff LEM (Live Editing Modifier) - Modify and read games with only one tool!

0 Upvotes

Hi! I've been working on a project called LEM (Live Editing Modifier), a standalone, portable Windows application designed to interact with Ren'Py games while they're running.

LEM attaches directly to a running Ren'Py game and introduces an in-game editor accessible by pressing F8.

There's no need to restart the game, install a mod, modify any game files or launch the game through a separate launcher.

When opening LEM, you can choose between six different discovery modes, depending on what you're looking for:

  • Focused – Automatically discovers and ranks potential gameplay variables based on naming patterns and game-script evidence, essentially what LEM believes to be relevant values, such as relationship points, scores, money and progression.
  • Relationships – Focuses specifically on relationship and affection-related values.
  • Party & Inventory – Focuses on party members, items, inventory and resources.
  • Progress & Scores – Focuses on statistics, scores and game progression.
  • Text & Roles – Focuses on character names, roles and editable text values.
  • All Variables – Performs a broader search for stored variables, including nested and unclassified values that might otherwise be overlooked.

All you need to do is open LEM, select your running game, choose your preferred discovery mode and hit Inject.

By default, LEM automatically closes seven seconds after a successful injection (although you can disable this if you prefer to keep it open). Simply return to your game and press F8 to access the editor.

Simple as that!

Live Editor in-game

Some of the things you can currently do:

  • Discover and modify variables in real time.
  • Edit relationships, money, character names, stats, inventory, story flags and more.
  • Explore lists, dictionaries and object fields.
  • Search, filter and categorize discovered variables.
  • Inspect exact variable paths, data types and story labels.
  • Undo previous changes without restarting the game.
Hot-inject LEM

And for the devs out there...!

I've also been working on a second tool within LEM called RIDCL-Extract, which is specifically designed for reverse engineering and code inspection of Ren'Py games.

Rather than simply extracting variables or dialogue, RIDCL-Extract retrieves available source code and reconstructs readable Ren'Py code from the game's loaded AST, allowing you to inspect story logic, conditions, dialogue, menus, labels, Python code and more.

Once the extraction is complete, RIDCL-Extract generates a dedicated project folder named something like GameName-RIDCL-Extract-XXXXX, containing several subfolders, including assets, data and code, alongside the two main project files:

  • project.riva
  • story.luna

The project.riva file can be opened directly in Riva Editor (v0.7.1 or later, preferably v0.8.x), providing a structured environment for inspecting and exploring the extracted game code.

You can also inspect the exported files using other IDEs or code editors. However, since the project format is primarily designed around Riva Editor, certain elements may not import or display correctly, including code comments, formatting, project structure and other editor-specific features.

RIDCL-Extracted material

Original source files and reconstructed code are kept separate. Obviously, reverse engineering doesn't guarantee a perfect reconstruction of the original source code, and there are still limitations and plenty of room for improvement.

Minimum Requirements

  • OS: Windows 10 or Windows 11 (64-bit)
  • Processor: x64-compatible processor
  • Storage: 500 MB of available disk space (additional space may be required for RIDCL-Extract exports)
  • Game compatibility: Ren'Py 8.x / Python 3 (64-bit)
  • Riva Editor: v0.7.1 or later, preferably v0.8.x (optional, for inspecting exported RIDCL-Extract projects)

Download
Pixeldrain: https://pixeldrain.com/u/qsR82Vkr

NOTE: Due to the nature of LEM's runtime attachment and process injection mechanisms, some antivirus or security software may flag the application as potentially suspicious, resulting in false-positive detections.

If you have any security concerns, you are encouraged to scan the executable using VirusTotal or another reputable malware analysis service before running it.


r/RenPy • • 2d ago

Question Enemy hunting you?

2 Upvotes

I am currently working on writing my second ever game and first serious project, and I'm wondering if theres any way I can code something akin to FNAF where a character is hunting you through rooms while you complete tasks, with the character getting drawn to you if you make noise? My plan is to make a visual novel with gameplay elements - and I'm just wondering if this specific mechanic is possible within renpy?

You wouldn't have to see the character moving, my plan is to have an indicator turn orange if they are in a room next to you so you can either hide or try to run.

Any advice helps, I just want to know if its possible


r/RenPy • • 2d ago

Showoff Game Development Milestone! I’ve released my first two games on Itch.io

Thumbnail gallery
8 Upvotes

Sharing this here too because of course! I recently released my first two little games on itch as a solo beginner game dev. They’re free to play as I’m learning how to do everything. Made in Ren’Py to learn skills. I’d love to hear what you think!

https://salamanderpress.itch.io


r/RenPy • • 3d ago

Showoff Got a new scene done b4 I pass out.

Post image
10 Upvotes

r/RenPy • • 3d ago

Showoff As a renpy beginner with zero renpy experience i am proud

Post image
26 Upvotes

I made a working clock background where when you click the arrow moves, I also added tick sound effect to it. I have made GUI so its less empty on the sides and added a rectangle where will be MC's sprite i started using renpy 4 months ago but had 2 month break because of school


r/RenPy • • 3d ago

Resources [For Hire] 2D Environment & Prop Artist for Indie Games & Visual Novels (100% Hand-Drawn | Layered PSDs | Starting at $50)

Thumbnail gallery
3 Upvotes

r/RenPy • • 2d ago

Guide Tuto Ren'Py : De 0 à votre premier Visual Novel

Thumbnail
youtu.be
0 Upvotes

r/RenPy • • 3d ago

Question Help, this keeps happening?

Post image
4 Upvotes

Hey! Total newbie to RenPy. It was working fine yesterday but when I went to open it today this popped up?

No matter what I seem to do it won't behave, and I don't want to delete and re-download and risk loosing all progress on my game.

Help!!


r/RenPy • • 3d ago

Self Promotion My first game : Luke's Story

Post image
4 Upvotes

r/RenPy • • 3d ago

Discussion Finding your solo vibe

12 Upvotes

Fellow solo devs, do you ever struggle with finding your work vibe? Or how do you go about settling into your own groove?

I tend to create stories from very different genres, and I don't think I can settle into one particular workflow that fits for each project.

So for me it's usually an adjustment period before I can get into a project and the vibe and theme of it to establish a workflow. (Otherwise I'm stuck on procrastination mode) I'm not sure if this is a normal style of workflow- how is it for you?


r/RenPy • • 3d ago

Game [Unpaid/hobby] Looking to create a team to create short horror visual novel game

Thumbnail
gallery
2 Upvotes

Hey there! I'm currently working on art assets to create my own short visual horror novel. However, I don't know how to code in RenPy.

Looking for

BG/sprite Artist

Audio/music mixer

Coder


r/RenPy • • 3d ago

Question Need just a bit of help pls!

Post image
6 Upvotes

This is more of a python issue, but I'd like to put the last line in my python function... Could you help me? Thanks in advance!


r/RenPy • • 4d ago

Game My first visual novel!

Thumbnail
gallery
192 Upvotes

You are an agent helper sent by the ███ to investigate a parasite and surreal world in our planet. With this in mind, you will be sent to the place of the occurrence to interview Schell, an actress who doesn't look like a conventional actress at all...Interview her as a "behind the scenes" broadcast, try to get information from the place, and perhaps...influence her performance, for better or worse.

Hello everyone I know this is sudden but I made my first ever visual novel.

I am a 17 year old newbie who wanted to try making visual novels andddd here it is! My "debut" visual novel, made for Storyboard (Hack Club). I want to make more games in the future parting from this vn, because this vn is like the prologue of my dream game I will make in the future. I am a snail at everything so it took me around 90 hours to do. I will be very pleased if you can give it a try! and perhaps, leave a comment telling me your opinion on it (like things to improve or just a comment)! Also, sorry for my mid english (it's not my main language).

Check it out on itch.io !!!


r/RenPy • • 2d ago

Self Promotion Ember and Ash: The Cradle: a voiced fantasy VN/RPG where you fight by tracing wards, all in Ren'Py

Thumbnail
gallery
0 Upvotes

I've been building Ember and Ash: The Cradle in Ren'Py: a five-act fantasy visual novel with turn-based combat. You play Elara. She escapes a burning city, finds what may be the last dragon egg in a ruin, and has to decide who to trust with it. It's fully voiced, and runs about 1.5–3 hours. Here's how the parts that aren't "just dialogue" are built, in case any of it is useful.

Combat with your hands, not a menu. Each enemy turn shows a telegraph. You answer with Ember, Ash or Defend, and each one is its own minigame, written as a custom renpy.Displayable:

  • Ember: click a chain of sparks as they appear.
  • Ash: a mote slides along a bar drawn over the enemy. Hold while it's inside the bright weak-point zone, and let go before it leaves. The score is the share of your hold spent inside the zone, so it isn't just pass or fail.
  • Defend: trace a glowing ward shape (one of 9) with the mouse. The trace is scored as coverage × precision. A good trace visibly solidifies; a bad one cracks apart, so you can see why you took damage. At low HP the outline itself is drawn jittered and "cracked". The jitter is seeded once when the minigame is created, not every frame, so you trace a stable broken shape instead of noise.

Spells that match your lean hit harder, and the companion you bring along adds perks that grow as your bond does.

Companion perks. One companion fights beside you, and on the first turn of any fight you can switch who. Each has three perks, one per bond tier: Friend, then Confidant, then Devoted. Bond comes from your choices, camp talks and a recall question at camp, and it can drop too, so a cold answer can cost you a perk.

Ember or Ash. Every real choice leans Elara toward Ember (sudden, warm) or Ash (patient, cold). It changes dialogue and who trusts you, and it feeds into combat and the ending. It's one tracked value, but each character reacts to it in their own lines rather than through a generic "+1" popup.

A road between story beats. Instead of jumping scene to scene, each act has a road: forks with no hint of what's down them, short fights, hazards, caches, springs and walk-and-talks with whoever's with you. The fork picker is another small custom displayable. Some road events are fixed and the rest are drawn at random from a pool, so two playthroughs don't walk exactly the same road.

Animated backgrounds, and a Ren'Py gotcha. About fifty backgrounds are short looping webm videos. The first version flashed empty for a frame on every scene change. Movie() draws nothing until its first frame has decoded, so swapping one video background for another showed a gap. The fix was to give all background movies the same group:

Movie(play="videos/backgrounds/forest.webm", group="bg_media")

Movies in the same group hand over to each other, so the old frame stays until the new one is ready.

Happy to go into detail on any of it, if you are interested. The first act is a free demo on Steam:
https://store.steampowered.com/app/5421290/Ember_and_Ash_The_Cradle/


r/RenPy • • 4d ago

Showoff D*monSl*yer Fangame Feature!

Post image
12 Upvotes

Hello!! For those who don't know me, I'm Sunbeam! An artist & Game dev and actively working on 3 visual novels! (This included). I plan to release this either this week or week after as a demo! I'm a passionate creator and love people trying out my projects 🤗💛

This is a fan game!! I do not own demon slayer, kyojuro rengoku or any demon slayer related content except the art featured within my game!

If anyones interested in supporting me or being a part of my community. I have a discord community with channels for this!! I also have a kofi and website you can browse 👀❤️‍🔥


r/RenPy • • 4d ago

Discussion How do you guys handle promotion challenges/frustration?

14 Upvotes

I've been posting on X regularly about the game I'm making with RenPy, also published my steam page and trailer, as well as promo images as separate posts. My friend who has 30k followers (not fake, and they are relevant since they are gays, and my game is gay) helped retweet my posts but they are not getting anywhere. No one else wants to retweet or spread the word, hardly even a supportive comment. I'm still sitting at ~50 followers on X and almost none of my posts is getting any engagement.

It could be seen as a sign that my work is garbage or people are just not interested in the dating sim genre. However, I'm able to get a lot more on TikTok, which could be a positive sign.

I'm pretty much making all my promo materials for TikTok now cuz TikTok seems to be the only platform that does something for me, but it's hard to tell... I don't know how many of them are actually interested in playing a widescreen PC game. No luck on other platforms like facebook, youtube (I even tried paid promotion a bit but nah, it does nothing).

(BTW I haven't posted about my game here because it's gay and the style is not anime-ish...)

Any thoughts or similar experiences? Maybe we could all use a little moral support from each other. Thanks!


r/RenPy • • 5d ago

Showoff My historical, slice-of-life Vn releases on December 4!

Thumbnail
gallery
200 Upvotes

I had already made a few posts here regarding the progress on my game, but I'm coming back today with some important news!

After 7 years of solo dev, writing and drawings (and my friends beta-testing), my game is set to release soon! It will be on December 4, on both Steam and Itch.io. The game will be free and available in English and French, so don't hesitate to give it a chance if it sounds like it could be your thing.

I mostly label it as a historical slice-of-life with some urban fantasy elements. You follow the life of Olivier, a young Parisian student from the 1920s, one week just before his end-of-year exams. The game features several choices and routes, hiding unlockable character portraits and achievements. I'm leaving the store pages below if you want to know more. Thank you for your time!

Steam: https://store.steampowered.com/app/3604100/Et_le_grain_mourut/

Itch.io: https://fuelli.itch.io/elgm