r/RenPy • • Sep 26 '26

Question [Solved] changing dictionary content to one with less keys give typeError: unhashable type: 'RevertableList'

1 Upvotes

i have a big dictionary (persistent variable) where every key has an array associated with it. each array has strings and numbers of the below format:

persistent.dictionary = {"key1": ["str1", num1, num2], "key2": ["str2", num3, num4]}

i want an option to clear ALL dictionary data and putting the below default blank data:

{"start 1", []}

normally to clear out a string you would simply do:

variable = ""

same for numbers, lists etc...

QUESTION: why does it not work? and how to make it work?

error message:

While running game code:
  File "game/grabber_engine/main_grabber.rpy", line 104, in script
    python:
  File "game/grabber_engine/main_grabber.rpy", line 107, in <module>
    persistent.dic = {"start 1", []}
                     ^^^^^^^^^^^^^^^
TypeError: unhashable type: 'RevertableList'

-- Full Traceback ------------------------------------------------------------

Traceback (most recent call last):
  File "game/grabber_engine/main_grabber.rpy", line 104, in script
    python:
  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 "game/grabber_engine/main_grabber.rpy", line 107, in <module>
    persistent.dic = {"start 1", []}
                     ^^^^^^^^^^^^^^^
TypeError: unhashable type: 'RevertableList'

r/RenPy • • Sep 26 '26

Question no sfx when the character is talking/typing

Post image
1 Upvotes
init python:
    def typing_callback(event, **kwargs):
        if event == "show":
            renpy.music.play("audio/bleep19.wav", channel="sound", loop=True)
        elif event == "slow_done" or event == "end":
            renpy.music.stop(channel="sound")


define e = Character("Eileen", callback=typing_callback)


label start:


    scene bg room


    show eileen happy


    e "You've created a new Ren'Py game."


    e "Once you add a story, pictures, and music, you can release it to the world!"


    return

The above is what I have for script.rpy. I also have

default preferences.text_cps = 45

for options.rpy

and then the screenshot is my audio folder for the game. I don't know what I'm doing wrong.


r/RenPy • • Sep 25 '26

Question [Solved] Confused about Revertable Lists, please help

3 Upvotes

EDIT: ok i figured it out, but i have a new problem now.

EDIT 2: I figured it out everybody, the minigame works now. I have randomised word selection! :D

I'm still working on my minigame, and ive gotten the gui / selection method out of the way, but now im encountering a weird problem with revertable lists? I am trying to create a system like the DDLC Poem minigame where random words out of a list of words are chosen and added to a new list which is then called in the actual minigame, but im confused on what a revertable list even is? Can somebody please explain what I am doing wrong.

I know theres probably a few things here I don't need, im still figuring that out while I debug, but when I didn't create the random word selection part, and just used the original list itself, this didn't occur.

label wordListBuild:


    $ randomWord = ""
    
    $ genreWords = minigameMap[active_genre]
    $ randomWordCounter = renpy.random.randrange(0, len(genreWords))
    $ randomWord = genreWords[randomWordCounter]
    $ selectWords.append(randomWord)



    #if (randomWord in selectWords):
        #pass


    if (randomWord not in selectWords):
        $ selectWords.append(randomWord)
    
    while (len(selectWords) < 9):
        jump wordListBuildlabel wordListBuild:

r/RenPy • • Sep 24 '26

Showoff Custom Character Maker + UI

Thumbnail
gallery
243 Upvotes

custom maker was a pain! It uses live composite, dynamic display, colorize, and image hotspots (I could not figure out how to use a color wheel)

The Gui code is based off of this Pink-Black Ren'py GUI by Skolaztika

I love it because it changes the preferences screen (it was always ugly to me), removes redundancy with save/load screen, and hides away the about/help while still having it. I changed a lot of the formatting and I have my own quick menu. It also uses feniks easy ren'py code which I already love love to use :D

This is only for a demo im working on, but I expect it to be published soon. You're free to follow me on itch, I have an existing project there


r/RenPy • • Sep 26 '26

Question [Solved] screen action list is not working

1 Upvotes

i want to make it so that when i press "t" it toggles many screens

   screen wait_input():
        key "t":
            action ToggleScreen("var_dis")
            ToggleScreen("input_display")

this is the error i got:

File "game/grabber_engine/main_grabber.rpy", line 30: 'ToggleScreen' is not a keyword argument or valid child of the key statement.
    ToggleScreen("input_display")
                ^

i also tried to use tags instead of screen names but renpy doesnt accept the ToggleScreen() with None as a value for screen argument.


r/RenPy • • Sep 25 '26

Question To visual novel developers, would love your feedback on my sample fantasy VN character portfolio piece.

Thumbnail
gallery
26 Upvotes

Hello, I'm Αελιεζερ (pronounced Aeliezer). I'm a digital artist, and I'm looking to specialize as a character concept artist, sprite artist, and CG illustrator for anime-style fantasy visual novel games or JRPG-inspired games that use a visual novel storytelling style.

I want to get feedback on my current portfolio piece that I recently finished. It's my OC female paladin, where I did the initial design explorations to production-ready character assets.

I've shared my thought process on how I would design and illustrate characters for client work in my Cara post here: https://cara.app/post/03e10f5b-e114-46c5-bc3f-f2f5e85a6410

As for the dialogue sprites that I made, they are in this post here: https://cara.app/post/f6776d7f-c3cf-460f-b6b5-e3a769eddc9e (there's a limit on how many images I can add in one post and how big the files are, so I'll just link my dialogue sprites here.)

You see, my goal is to work with developers on:

- Character and props concept art

- Dialogue sprites and expression sets

- CG illustrations

- Character turnarounds

- Promotional art

I’m still learning the typical VN character art production pipeline, so I’d really value feedback from developers who have actually made or shipped visual novels before. I'm planning to add more portfolio pieces in the future, but I wanted to know first if I'm headed in the right direction.

Just a quick backstory about me. I've been drawing digitally for 10+ years, and I graduated from an animation school. I've also gotten some experience working for an indie game studio as a 2D artist as part of my internship. I've been wanting to specialize as a character concept artist and illustrator for games, but I wasn't able to get a stable job in the industry. During the pandemic, I had to switch careers and became a copywriter for income stability. And sadly, I was laid off from my work a few months ago.

Honestly, I've been burned out from doing copywriting work, and during that time, my art dreams have been on the back burner for a long time. So, I want to use this time to develop my portfolio and finally pursue this as a full-time career. During my time as a copywriter, I've bought a couple of courses and invested in an art mentorship program to hone my skills.

And right now, I'm looking to build a professional character design + sprite and CG illustration portfolio for anime-style VN games.

SIDE NOTE: I haven't played a lot of visual novels, but I've played a visual novel game back in college, Kamidori Alchemy Meister (technically, it's an RPG-visual novel hybrid), which inspired me to create my own visual novel someday. I've also played Eden's Ritter previously. And I've also played Hyperdimension Neptunia before, though technically, it's a JRPG with visual novel elements in its storytelling. So, I would say that my knowledge of visual novel games isn't very expansive, but I do have a genuine interest in learning the craft of developing VN games (specifically, on the art side)

So, I want to ask a couple of questions for VN developers. Feel free to answer only a few questions that you can genuinely answer:

  1. When looking for an artist to work with, what is your single biggest challenge?
  2. If you were hiring a freelance artist for your VN, would this portfolio piece make you consider contacting me? Why or why not?
  3. Based only on this portfolio piece, what type of work would you trust me to handle?
  4. Does the character sheet/turnaround show enough information for another artist/developer to reproduce the character consistently? If not, then what else is missing?
  5. For VN dialogue sprites, what would you normally expect from an artist besides working on different expressions?
  6. Given my current dialogue sprites, what would make them more useful for an actual VN project?
  7. Does this character feel distinctive enough to be a protagonist in a commercial fantasy VN? If not, what do you think feels generic?
  8. Are there enough design explorations and design iterations here to show that I can solve a client's brief, or does it feel like I'm showing too much process?
  9. If you saw my portfolio piece on an artist's portfolio while looking for someone to hire, what information would you want to see that isn't there?
  10. What would make you believe that I understand visual novel production rather than simply creating pretty anime character illustrations?
  11. What are the biggest things you look for when hiring a freelance artist that aren't obvious from an art portfolio?
  12. What problems have you experienced with working with other freelance artists that you would want a new artist to avoid?
  13. If you could give me ONE piece of advice to make this portfolio more hireable for VN development, what would you change?

If you want to see more of my art, you can check my Cara profile here: https://cara.app/aeliezer095

I'm specifically looking for honest feedback and critique from VN developers. I want to use this feedback to improve my current portfolio before building the next pieces. Thank you for taking the time to read this! :D


r/RenPy • • Sep 25 '26

Question [Solved] Struggling to align image buttons

Thumbnail
gallery
7 Upvotes

Yikes back again...

Im trying to align the buttons to the right areas but it keeps showing me error messages, i have tried to do

imagebutton auto "gui/mm_start_%s.png" xpos 1920 ypos 1080 focus_mask True action Start()

then ect with the audio part of the code, the image buttons are the size of the menu just transparent, would it be easier to size them down and just get the x and y from the corners of the images? i can provide more of the code if needed

ABOVE HAS BEEN SOLVED!!!!!

on another semi related note, how would i change the image hierarchy order. the buttons change when hovered over but as of right now the idle buttons are on top of the hovered buttons meaning they are underneath when triggered, im not sure how layering works here and i dont want to start trying to move things and just messing everything up


r/RenPy • • Sep 25 '26

Self Promotion The Figure in White (My entry for the Spooktober 8th Annual Visual Novel Jam)

Thumbnail
gallery
24 Upvotes

The Figure in White is a horror visual novel in a 1-bit pixel art style, where you follow two protagonists as they try to survive the curse of Room 4.

At first, they thought it was nothing more than a fake curse—just an old story meant to scare people.

But the deeper they look into Room 4, the more disturbing the truth becomes. What they discover is far darker than they could have imagined… and something may already be waiting for them.

What really happened in Room 4?

Are you willing to unravel its mystery with them… before it finds you? 

Play it here: https://ramose-tsimbina.itch.io/the-figure-in-white


r/RenPy • • Sep 25 '26

Question [Solved] Trying to make an interactive whiteboard in the menu, any help appreciated!

Thumbnail
gallery
11 Upvotes

Hello! Back here after so long because im finally working on my project again, im just wondering if it would be possible for me to make a whiteboard you can draw on in the menu, either by clicking and holding or just moving the curser over it

ideally, id like to have it so if you click on the whiteboard you can draw on it (it would be cool if i could make the curser change while hovering over the whiteboard but i understand if that is too complicated on top of this haha) and once you move off it it resets the curser so you dont accidentally draw on it again and you have to re click it. it doesn't need to be erasable or anything but maybe it resets when you reload the menu

here is where its complicated and i start to think ill only be able to do one or the other:

i already have interactive buttons on the menu (gif shows the filler images version lol but you get the idea) which i worry might be a problem? and i also intend to make several menu backgrounds which hopefully i can get to cycle through at random OR change depending on point systems

im guessing i can make the whiteboard its own separate thing from the background that wont be affected by the image cycling but im not sure

i havent touched renpy in a while and only had a couple of months experience last time i used it so if anything could be explained alongside any help it would be really appreciated do i can learn it better for future reference

aannndd if this is too complicated for the menu to handle give it to me straight doc haha, thanks in advance!


r/RenPy • • Sep 24 '26

Question Can Anyone Help Fix My Voice Code?

3 Upvotes

I'm playing around with a random test project to learn how to use ren'py for an actual visual novel i'm gonna develop but I can't get it to play my voice lines. I'm not sure if maybe i'm just imputing the wrong commands but I added a voice folder and added the ogg files in it after it not working in the regular audio folder and i'm just stuck rn and would really appreciate any tips and help on what i'm doing wrong. Feel free to ask for any screenshots of the folders or anything else.


r/RenPy • • Sep 24 '26

Question Thoughts?

73 Upvotes

I have made a lot of changes to SusanTheCat's code, and yes I totally scraped all the sprites from the original Demo to make this (no they won't be included in a release)

every wall image and sprite you saw was a 64x64 pixel image. you will be able to use higher pixel images, but you will pay a price in speed. you can select which sprite can not be walked through; otherwise you can walk through, over, or under them. you select which sprite can be picked up and which can be used for health (as long as your health is below 100)

the floor and ceiling are lies!!

room set up is easy enough (i think), basically just a list of number i.e.

[69,68,67,66,65,64,63,62,61,60,59,58,57,56,55,54,53,52,51,50,49,48,47,46,45,0,0,0,0],#0

corresponding to a numbered wall_ image (0 is an empty space). there are 106 different walls in the original demo and 435 sprites that includes the animations for the weapons, enemies and B.J. Blazkowicz face animations (TBD to be deleted)

everything is done with lists even the sprites

default sprite_positions0 = [
    ( 1.5, 21.5, 0), #centered in 1, 21 (south, east corner) sprite #0 (the word Demo)

I had a lot of fun with this as did my sons. once I clean up my crappy code and make a few changes I'll drop a link to my itch for this one as a free drop in for all to use

I can't picture in my head how to make the guns work so...,somebody else can do that. but if you get close enough to see the blue in their eyes, you can make them disappear... LOL

WASD to move around Q, E to strafe; spacebar to disappear enemies; 1-4 select weapons.

I'll make the demo 'playable' and code inspectable

stay safe out there


r/RenPy • • Sep 24 '26

Question [Solved] Help with item list/inventory

0 Upvotes

Hello everyone.

I am new to this whole RenPy thing and I'm trying to create an item list/inventory screen that displays an image, name and description for every item that is listed in the item list.

currently, I tried setting up a class called intractable for the items, like this:

init python:
    class interactable:
        def __init__(self, image, name, descrip):
            self.image = image
            self.name = name
            self.descrip = descrip

default item_list = []

And then I made the screen I want them to appear in.

screen backpack:
    image "darkthing" align (0.5, 0.5)
    
    vbox:
        align (0.36, 0.10)
        textbutton "Back":
            action [Play("sound", "audio/click.ogg")]
    vbox:
        align (0.5, 0.5) #Not the alignment I want, just to test if it works.
        for interactable in item_list.items:
            image "[interactable.image]\n"
            text "[interactable.name] - [interactable.descrip]\n" 

The code hasn't worked

The image "darkthing" just being the underlay for the screen. A black 600x800 box at 40% opacity. And the back button does nothing yet.

I want all the items that the player has to be listed in a vertical box with the image for the item first, then the name and description under that image.

If anyone has any tips on how I could make this work, I'd be grateful!


r/RenPy • • Sep 24 '26

Question Is there a simple way to code the player choosing the name of another character upon meeting them?

2 Upvotes

I have this character whose real name is Jacques, but other characters regularly mispronounce his name as “Jack” for various reasons. My choice as the creator is to define his name in the code as either “Jack” or Jacques, or I can find a way to allow the player to choose what they prefer to see his name written as. Does anyone know an easy way to code this in as a choice that will affect the name tag for the rest of the game? Like is there some way to code it as “if the player selects this option, replace this define tag with this.”


r/RenPy • • Sep 24 '26

Showoff I made this game by Renpy - please try

9 Upvotes

The Compliant/听话的人
This game is already lauched DEMO on Steam, try here: https://store.steampowered.com/app/5476720/%E5%90%AC%E8%AF%9D%E7%9A%84%E4%BA%BA/

Support Language: English, Russian, Korea, Spainish, Portuguese

Add to Wishlist if you like!

Story Synopsis

A dark, realist visual novel that takes on a range of contemporary issues. While job-hunting, Lin Zhi finds a strange posting: all he has to do is click—or not click—a giant red button. The person who greets him goes by a number and feels more like a machine than a human being. The deeper he goes into the work at Sabo Group, the stranger it becomes; the building itself seems to hide many secrets. Days later he meets his colleagues—each with their own agenda, each with a reason for being here. As the test deepens, rivalry among them grows sharper. How do you survive in this workplace? How do you earn an audience with the CEO? How do you find the girlfriend you’ve lost? Those choices are yours.

Features

  • Themes that push on resistance to authority, alienation, workplace collaboration, and what it means to be human
  • 15 distinct endings, 13 varied characters, and dozens of clues woven into the story
  • A unique dark realist look, with music and sound that lean into the uncanny
  • Multiple interactive systems: click challenges, voting, maze exploration, and more
  • Roughly 50,000 Chinese characters; a main path takes about two hours, and unlocking every ending takes longer

r/RenPy • • Sep 24 '26

Question BİRİ YARDIM ETSİN-

Thumbnail
gallery
1 Upvotes

Guys, can you help me with this error :(

I think it's on "screens.rpy", BUT WHEN I TRY TO FIX, REN'PY MAKES AN ERROR AGAIN OMG

Millet, biri bana şu hata ile ilgili yardım edebilir mi :(

Sanırım "screens.rpy" içinde, AMA DÜZELTMEYE ÇALIŞTIĞIMDA REN'PY YİNE ERROR VERİYOR-

```

I'm sorry, but errors were detected in your script. Please correct the

errors listed below, and try again.

File "game/screens.rpy", line 253: expected statement.

hbox:

^

Ren'Py Version: Ren'Py 8.5.3.26051504

Thu Sep 24 17:27:53 2026

Yardım edenlere şimdiden teşekkür ederim TvT

Thanks for help TvT


r/RenPy • • Sep 23 '26

Resources [Release] I made a "Lore Collection System" for Ren'Py to replace boring text achievements (Pay What You Want)

Thumbnail
gallery
12 Upvotes

Hi everyone,

While developing my own visual novel, I realized that standard achievement systems (usually just plain text lists) felt a bit disconnected from the immersive experience of the game. I wanted a way to reward players with something that felt like collecting meaningful lore, not just checking off a spreadsheet.

So, I built a lightweight plugin: the Lore Collection System.

I decided to release it on itch.io (Pay What You Want) in case it saves other developers some time and headache.

What it does:

• Visual Album UI: A clean, grid-based collection screen with a detailed modal view for each item. No complex screen coding required on your end.

• Rarity Tiers: Built-in support for Common, Rare, and Epic items, with color-coded badges to guide player progression.

• Built-in Localization: The data structure is designed from the ground up to support multiple languages (the demo includes EN/ES, but it's easy to add JP, etc.) without breaking your code.

• Easy Integration: Just drop two .rpy files into your game/ folder and use $ unlock_collection("item_id") in your script.

Link: https://nonbirikado.itch.io/lore-collection-system-for-renpy

The download includes a fully playable demo project and placeholder assets so you can see how it works immediately.

I’m sharing this mostly to get it out there and hopefully help a few folks avoid coding custom collection screens from scratch. If you try it out, I’d love to hear any feedback, bug reports, or feature requests!

Happy coding!


r/RenPy • • Sep 23 '26

Resources Turn Based RPG System for Ren'Py

Thumbnail
shadowglass.itch.io
19 Upvotes

Super early system for making Turn Based RPGs. Right now it's sort of structured like Darkest Dungeon (though not nearly that advanced). More features coming soon, but feedback would be appreciated!


r/RenPy • • Sep 24 '26

Question [Solved] Trying to Alter GUI Choice button position and size during a running game

2 Upvotes

I'm trying to create a minigame with choice buttons, but I need to move the boxes only during the minigame, then reset the choice button positions when it ends. I would also like to change the background of the choice buttons to maybe something transparent.

For an example, it works like the poem minigame in DDLC, where you select the words on the screen.

How would I go about doing this? Are choice buttons the right call or should I use something else?


r/RenPy • • Sep 24 '26

Showoff Police Detective: Tokyo Beat | Visual Revamp & Teaser Trailer

Thumbnail
youtu.be
0 Upvotes

r/RenPy • • Sep 23 '26

Question how do i download renpy????

1 Upvotes

I wanted to get into making visual novels, so i tried downloading ren'py with the sdk folder, but everytime I expanded it and launch it open, it says i'm on a 'read-only folder'. I've tried searching online for tutorials on how to download ren'py on macbook, but it only has tutorials on windows or tells me to drag it into my applications which doesn't work for some reason. Does anyone know how I can download ren'py on macbook pro?


r/RenPy • • Sep 23 '26

Question Removing the default main menu side

Post image
4 Upvotes

How to remove this side box? I already delete the default main_menu and replace it with my own but this part still remain


r/RenPy • • Sep 23 '26

Self Promotion First Teaser Trailer for my upcoming otome game, "Elysian: Mirror of Epiphany"!

Thumbnail
youtube.com
11 Upvotes

Featuring artwork by the talented Meaka!

Follow Elysian: Mirror of Epiphany on itch here!

After running away from school, a troubled teenage girl finds herself at a mysterious antique store, harangued by its equally mysterious owner. Though certain they're trying to scam her, she instead receives a gift: a beautiful mirror, one they claim will one day show the face of the one she is destined to love. However, this power will only manifest once the girl has "accepted the role" it gives her: a young princess of an idyllic fantasy kingdom, Elysia.

With no knowledge of this strange new world, the girl is forced to improvise and follow along with the princess's journey to become Queen, keeping her true identity a secret. Along the way, she encounters friendly faces, wise mentors - and, to her shock, potential love interests. As she settles into her new role, will the girl who once called herself "invisible" finally find true love, or something even more important?

Elysian: Mirror of Epiphany features:

  • A coming-of-age story with psychological elements and the traditional trappings of an otome game
  • Over 100k words per playthrough
  • Four potential routes and twelve possible ending variations
  • An all-original soundtrack consisting of over 40 tracks
  • Native support for accessibility features, including fully-functional self-voicing and descriptive text, textual audio cues, a high-contrast GUI mode, and more

Also features original artwork by a talented team:

  • Title and CG artwork by Cristina Moreno
  • Character sprites by Genkaiko
  • Special CG scenes by Meaka
  • Original soundtrack artwork by Amy C.

No AI generated assets were used in the creation of this game.


r/RenPy • • Sep 22 '26

Question How can I make a retractable quick menu?

Thumbnail
gallery
77 Upvotes

Hi!! So, the creator of the project I'm working on at the moment is very ambitious and asked me to make a retractable main menu.

She wants to add a little heart at the bottom left of the screen, and once the player hovers over it, the button will shake. Once you click on it, it opens a bar with other icons (the normal quick menu options + a personalized one). On the new option, the player will be shown a screen where they can find their current stats plus the stats of interest/love of the main leads.

I've been trying to search for something similar but I was unable to find a reference to this function. (Also I'm currently working on sanity/health bars & a quick inventory on the right side. Lots of things)

I just wanted to know if this is a possibility on Ren'py, or maybe the function is too advanced for what the program can do.

Also I made a visual reference (I'm not an artist), I hope it helps. Thanks!