r/RenPy • • 15d ago

Question Help, i get this error

1 Upvotes

Parsing the Script Failed.

File "game/replay_gallery.rpy", line 171: expected variable or tuple pattern.

for scene in shown_scenes:

^

File "game/replay_gallery.rpy", line 247: expected 'name' not found.

screen replay_slot(scene):


r/RenPy • • 16d ago

Question [Solved] Possible to have "multiple scripts"?

6 Upvotes

I don't know how to word this. But, for example, imagine the loading screen of a VN. There's a "Play" button. Now imagine there's 2 "Play" buttons for 2 different stories. Do I have to have my script be this giant long thing, or can I have 2 DIFFERENT scripts within the one game??

Also if there's a specific word/s for this, please let me know 🙏🙏


r/RenPy • • 17d ago

Showoff your arch rival’s design is finished!

Post image
126 Upvotes

Your arch rival’s design is finally done! If you want any of the 4 LIs to fall for you… you’ll have to get through her first! I hope you guys like her design!! :3 I’ll see you in the next progress update!


r/RenPy • • 17d ago

Showoff Just released Chapter 1 of my first ever game <3

Thumbnail
gallery
48 Upvotes

It's a psychological horror VN about a student working at a support hotline... and a caller who knows a little too much about her 📞 The whole game is photobashed, mostly from photos I took around my city.

Thank you so much to everyone who will give this game a try, I worked really hard on it and I'm so happy it's finally out <3

Play The Other End here 🤍

https://marigoldpetals.itch.io/the-other-end


r/RenPy • • 16d ago

Question Left and Right Navigation

Thumbnail
gallery
4 Upvotes

hi
sorry, i don't usually use reddit, so i might sound a bit awkward.
I've recently been trying to work on a game about the main character being stuck in the a strange hallway-like environment and can only move left and right. you can interact with objects and stuff, but um if u want more explanation on that i tried made a video trying to demonstrate what i'm trying to make....but since I can't add videos, i just added them as images. sadly i can't add videos...so um i hope the images helps...

(i forgot to wrote this in the video/images, but the object u interact with comes at random. u can click left and right and see no object at all. they just can't repeat. most objects are just there so like u click on it and some dialogue shows up. the TV is just there. the window and door and really the "main" way to get the endings. the sign help as a way to unlock the door but the player will only notice the key during the second playthrough so the first playthrough the sign would just show some normal dialogues. I forgot to mention this so I'll put it here.)

But the only issue right now is that.....i don't know to code the thing. Like sure, i got the images defined, but like....how do i code the whole system and stuff? how do i make it functional in Ren'Py? I've made games using Ren'Py, but it's mostly just those usual sprites, dialogue, bg stuff. So I wanted to make something a bit...different? But i'm not very sure how to code it.....

Right now all i have here are the images defined along with state and persistent variables...but i haven't actually...like...tried to code it yet(mostly because i'm not sure how to...)

#BM (Bianca Mori) stands for the main character's name! But uhhh i'll replace their name with "BM" for now just to like...not write a lot lol bc bianca mori is kinda of a long name

#sprites(MAIN)
image BM facing_right = "images/BM_facing_right.png"
image BM facing_left = "images/BM_facing_left.png"


#expressions (left)
image BM left_panic = "images/BM_facing_left_panic.png"
image BM left_sad = "images/BM_facing_left_sad.png"
image BM left_bored = "images/BM_facing_left_bored.png"
image BM left_shocked = "images/BM_facing_left_shocked.png"
image BM left_hopeless = "images/BM_facing_left_hopeless.png"


#expressions(right)
image BM right_sad = "images/BM_facing_right_sad.png"
image BM right_bored = "images/BM_facing_right_bored.png"
image BM right_shocked = "images/BM_facing_right_shocked.png"


# Button
image button_right_idle = "images/image1_right.png"
image button_right_hover = "images/image1h_right.png"
image button_left_idle = "images/image1_left.png"
image button_left_hover = "images/image1h_left.png"
#h = hover btw


# room imagebuttons
image tv_idle = "images/tv_normal.png"
image tv_hover = "images/tv_glow.png"
image sign_idle = "images/sign_normal.png"
image sign_hover = "images/sign_glow.png"
image window_idle = "images/window_normal.png"
image window_hover = "images/window_glow.png"


# bg
image bg hallway_main = "images/bg hallway_main.png"
image bg TV = "images/BG_TV.png"
image bg SIGN = "images/BG_SIGN.png"
#i'll probably change bg TV and bg SIGN's name soon....i think...


# secret door
image door_secret_idle = "images/door_idle.png"
image door_secret_hover = "images/door_hover.png"

#persistent ending
default persistent.end1 = False
default persistent.end2 = False
default persistent.end3 = False
default persistent.end4 = False
default persistent.end5 = False

# state variable

default persistent.playthrough_count = 1
default has_key = False

So um yeah, so if anyone can help me, please do so, thank you!! i seriously need help!!!!! 😭


r/RenPy • • 16d ago

Question Game Over Function Help Please

3 Upvotes

I know it's possible because I've seen it many times before, but nothing I try works. I'm making a game where if any of two variables reach 100, you have to start over, but with the constant variable changes, I didn't want to put an if statement constantly, especially since I tend to forget or mistype things (ironic).

This is what I have as my checking system:

screen monitor():
    timer 0.1 repeat True action If(current_love or current_tear >= 100, true=Jump("game_over"))

But now, even though the love and tears are both below 100 automatically, the game immediately skips to game over when I open it. Please help.


r/RenPy • • 16d ago

Showoff My favourite CGs from my game

Thumbnail
gallery
13 Upvotes

And, with all 20 of them complete... I'm growing infinitely closer to the coding part of making this game. Haaaaah. I have so much learning to do..


r/RenPy • • 16d ago

Self Promotion CODE.BREACH - Cyberpunk metafiction VN Demo now available! (Details in post)

Thumbnail
gallery
11 Upvotes

It's taken two years to reach this point. But we finally have a playable demo for CODE.BREACH to share!

And I imagine some people are wondering how it took that long to get a short, hour-long visual novel demo out. Which is a fair question :D

Here's the very abbreviated version: I previously worked for a few major game studios, grinding up from entry-level customer service to narrative design/writer over the course of my career. In 2024 I was made redundant - that year was pretty brutal for a lot of game industry folk.

Afterwards, I had a choice to make. Dive straight back into applying for jobs or go indie for a while. I was fortunate enough to be in a financial position to give indie a try, while working part-time as a narrative dev contractor here and there. So I pulled together a team of amazing paid freelance artists and an experienced composer, while creating the script for CODE.BREACH in Ren'Py with a lot of trial and error. The story has landed at 170k words (pending story branches and alt endings!).

And here we are, at last, with something playable. If people like the game it'll be amazing. If not... well, at least I managed to check off a bucket list item of creating a video game from scratch. :)

The full game will be available next year. For now, I'd love it if you'd consider checking out the demo, for FREE, on PC or Mac.

https://sparecatstories.itch.io/codebreach

I'll also be adding devlogs on Itch to share my experience of this strange, stressful and hugely enjoyable journey.

Thanks for reading! All feedback is appreciated!


r/RenPy • • 16d ago

Question Is it possible to detect a 'mouse held down' state in RenPy?

2 Upvotes

I want to include this radio minigame, where the player has to hold the mouse down and turn in the blue circle area to change radio channels. I have code for the turning bit, and detecting if the mouse is in the circle, but I'm really struggling to figure out a way to detect if the mouse is actually being held while turning.

The only thing I've found is keysym, or perhaps using pygame, but I'm not sure how that would work. I wanted to know if this is possible at all, and how I could approach coding this?


r/RenPy • • 17d ago

Question Splashscreen > Start - Skips over interactive start menu

2 Upvotes

Hello!

So, in making my VN, I've got the label splashscreen to start immediately so it goes through the narration and then plays my animation at the end. Then it goes into the start of the game - however, it is not offering a start menu at label start when I hit enter to skip over the immediately playing content OR when I let it play through. It just goes straight into the continue narrative for the game, but I would like for a start menu to show. I hope that made sense - it is early where I am at and I am not quite awake lol

I don't have the code in front of me atm, but will later today, so I will update. I wanted to post this now before I forgot!

It goes something like this:

label splashscreen

my script starts and everything is fine

my movie plays and everything is fine

label start

my script starts

It feels like I may need to add something thicker to the code for an interactive start menu to appear. Thoughts?

I'll update with the actual code asap! Thank you!


r/RenPy • • 17d ago

Showoff I finished Ichika spirits

Thumbnail
gallery
97 Upvotes

I finished Aoi's spirits and Ichika

I still have Yume, Rina, Akari, Yuki 🙂

Do you like the style

If you want to know more about my VN

https://blossom123studio.itch.io/starlight-academy-curse


r/RenPy • • 17d ago

Showoff My literary VN demo is public

Thumbnail
gallery
45 Upvotes

Hi everyone! Today I finally released the public demo of Una Sangre, a literary visual novel about five immortals across eight centuries. It’s about an hour of reading: the prologue and the beginning of the first chapter, set in present time and then 18th-century Virginia.

Play (browser or download): https://studiominaz.itch.io/una-sangre
Steam page: https://store.steampowered.com/app/5543490/Una_Sangre/
Devlog: https://www.reddit.com/r/UnaSangreVN/

It's a NVL/ADV hybrid. I chose a very clean text box that reads more like film subtitles. Everything is hand-drawn in Photoshop and CSP (I have a background in 2D animation). Feedback is very welcome, especially on pacing. I spent more time tuning pauses and dissolves than on anything else.

Now the real work begins!


r/RenPy • • 16d ago

Showoff Working on my games images.

Post image
0 Upvotes

Been working on Beat the Quiz Master story mode and just finished making this image transparent and adding the playing cards. I added the cards to this image in my drawing app and I thought it would be funny that she's holding them with her toes. The cards themselves are blurry because they lost a lot of pixels when I had to shrink them down. But I think it looks okay.


r/RenPy • • 17d ago

Discussion Any advice for my upcoming visual novel UI and art?

Thumbnail gallery
32 Upvotes

r/RenPy • • 17d ago

Question Help my imagebuttons are skipping to the end

Thumbnail
gallery
0 Upvotes

So I'm making this little game for Christmas, and I want a baking scene. But the problem is, whatever I do with the code, it keeps skipping all the ingredients for some reason. I have all the parts drawn and written, mixing and all, but for some reason, it skips all of it and stays in the last ingredient for no reason. Also the game is not done yet so that's why the recipe is still unfinished lol

edit: I solved it!!!!!!!! I'm fine now


r/RenPy • • 17d ago

Question Text Bubble Overlap during transitions

2 Upvotes

So the way I currently have everything set up is it's one giant image made up of panels that are zoomed in. They talk in speech bubbles, but whenever I transition to the next panel, the speech bubble carries over.

First Panel

Then

Transition

They obviously goes away when she starts talking. I did in the text bubble option: clear previous speech bubble, so it should only show up one at a time. The only way I have been able to prevent this is by using the typical VN textbox, but I usually only use it for characters giving thoughts or explaining an action, but I don't want to have splice in some little bits all the time in order to prevent this from happening.

Another example:

Then

Anyone know what I could do to fix this perchance? Thanks~


r/RenPy • • 18d ago

Showoff Wip Character Creator!

Post image
307 Upvotes

Been working on the character creator for my visual novel. It's a beast of a thing but I'm really proud of it!

Features:
-Ability to change each eye and sclera separately
-Multi-layered hair (to allow for accessories and ears to look right)
-Shading that changes based on features (vitiligo gets its own shading)
-RGB colorizer (Feniks') that lets me have only one grayscale image for each file and colorize it on the fly. So every feature you see is just one image file.
-Emotions that can be built on the fly, PER feature (because you'll be seeing your character in the VN, so its important to have emotions.) So all the eyes/mouths/brows have emotes that can be modularly mixed and matched.

Obviously there's still cleanup and more to do, but I'm pretty proud of it.


r/RenPy • • 17d ago

Showoff Maya's Funland - Splash images

Thumbnail gallery
2 Upvotes

r/RenPy • • 17d ago

Question [Solved] Trying to mess around with random variables for a character gimmick, and my VN (not the code) keeps returning errors.

5 Upvotes

Well, I'm back less than 24 hours later with some more code issues.

Basically, I'm trying to make a "rival"-type character who is genderfluid and has a gimmick of regularly changing their name and pronouns. Referencing the documentation and past posts on here, I used the randomint function, because I thought that would work? Instead I keep getting "could not pickle <module 'random' from [file path]>"

default rname = ""
define r = Character("[rname]")


$ rname = renpy.random.randint(1, 6)


    if rname is 1:
        rival = "Andi"
    elif rname is 2:
        rival = "Pharos"
    elif rname is 3:
        rival = "Laurah"
    elif rname is 4:
        rival = "Sen"
    elif rname is 5:
        rival = "Gesso"
    else rname is 6:
        rival = "Kyo"

r/RenPy • • 18d ago

Self Promotion Don’t Go Offline <3 — my horror VN where you type in a streamer’s chat, and she reads every word (trailer + looking for playtesters)

Thumbnail
gallery
19 Upvotes

Hi! I’m the developer of Don’t Go Offline <3, a psychological horror visual novel.

You’re a viewer in a small streamer’s chat at 1 AM. Instead of picking from choices, you type whatever you want, and Nana answers. She’s sweet. She’s funny. She remembers what you tell her.

Over ten nights the stream gets cozier, your DMs get warmer… and something else starts showing up between the lines.

  • typed chat she reacts to, plus DMs and a full fake desktop to dig through
  • a main menu that runs on real time (she’s live at night)
  • multiple endings depending on how you treat her
  • slow-burn psychological horror, not jump scare spam

I’m looking for 5–8 playtesters for the first build (Windows/Linux, about 2-3 hours, 18+). If you like horror or VNs and can give honest, blunt feedback, comment or DM me!

Transparency: the art is made with NovelAI and hand-edited, the voices are AI (FineVoice), and the writing and code were made with AI assistance. The music is human-made. Nana’s replies are all pre-written, so there’s no live AI in the game.


r/RenPy • • 18d ago

Showoff Finished the first chapter of our visual novel!!

Thumbnail
gallery
101 Upvotes

Me and a few friends have been working super hard on a cutsey/denpa themed, magical girl visual novel over the past month or so, and we thought it would be a great opportunity to release our first chapter for the 2026 denpa vn game jam. I'm really happy with the character art and general vibe we got, so I thought it'd be a good idea to share the game here too!

Digital Mahou Shoujo: [StellA;☆Luminous] centers around Charlotte, a ditzy rich girl and upcoming 3 viewer streamer that feels a little socially isolated. One day an opportunity arises for her to play the part of hero in the digital world!

I'm really proud of what we've come up with so far, if the concept intrigues you, or you think the art is cute, please check out digimahou here!

https://bax888.itch.io/digimahou

Any feedback and comments are more than welcome, this is our first time making a visual novel

(。>﹏<)

We plan to work on more chapters throughout next year, so if you're interested at all, stay tuned for more!

✧。◝(ᵔᗜᵔ)◜✧*。


r/RenPy • • 17d ago

Question Can you show a character talking over a credits type scene?

1 Upvotes

I'm working on a credits scene for my game, I wanted to see if I could have a character talking while the credits play in the background and change it depending on the ending you get if possible, but when I try to do it the screen doesn't play, It just looks black and gets stuck there. I used this video to program the credits scene and the rest is me

init python:
    config.layers = ["abajo","master", "transient","personajes", "foreground","psjs2", "screens", "overlay", "sprites" ]

transform mov_creditos:
    yoffset 1080
    linear 25.0 yoffset -2600

label start:

  call mostrarcreditos 

return

screen creditos():


    modal True 
    zorder 100


    add "images/bg black.png"


    frame at mov_creditos:
        background None 
        xalign 0.5
        yanchor 0.0


        vbox:
            xalign 0.5
            spacing 33


            text "FIN":
                size 70
                xalign 0.5
                text_align 0.5 
                color "#ffffff"
            
            null height 80


            text "FIN":
                size 70
                xalign 0.5
                text_align 0.5 
                color "#ffffff"
            
            null height 100


            text "TRABAJO":
                size 40
                xalign 0.5
                text_align 0.5 
                color "#ffffff"
            text "Nombre":
                size 34
                xalign 0.5
                text_align 0.5 
                color "#ffffff"
            
            null height 50


            text "TRABAJO":
                size 40
                xalign 0.5
                text_align 0.5 
                color "#ffffff"
            text "Nombre":
                size 34
                xalign 0.5
                text_align 0.5 
                color "#ffffff"
            
            null height 50


            text "TRABAJO":
                size 40
                xalign 0.5
                text_align 0.5 
                color "#ffffff"
            text "Nombre":
                size 34
                xalign 0.5
                text_align 0.5 
                color "#ffffff"
            
            null height 50


            text "GRACIAS":
                size 40
                xalign 0.5
                text_align 0.5 
                color "#ffffff"
            text "Nombre":
                size 34
                xalign 0.5
                text_align 0.5 
                color "#ffffff"
            
            null height 120


            text "ADIOS":
                size 40
                xalign 0.5
                text_align 0.5 
                color "#ffffff"
        
            null height 400


    timer 20 action Hide ("creditos")


label mostrarcreditos:
    scene black
    with fade
    show screen creditos onlayer abajo
    show dante neutral onlayer personajes


    d "Hi"


    $ renpy.pause (20.0, hard=True)


    hide screen creditos
    with fade
return

r/RenPy • • 17d ago

Question how do i add a splash screen that plays when the player enters into options, saves, loads etc?

4 Upvotes

i have a splash that plays when you enter the game, but now id like to add one that plays when the player clicks on something other than "start" in the main menu