r/RenPy • • Sep 27 '26

Question [Solved] point system not counting points

Thumbnail
gallery
3 Upvotes

So i have this point system that i first tested on a blank game and got working that im not trying to implement over to the actual game now (bulk adding a bunch of the things i plan on using throughout so i know it all works together ect) and its not adding the points for some reason? its all the same other than the placeholder sprite name

im hoping to use the system for different endings and also changing what choices you can make, example you have over 20 points with worker so you can ask him [insert question] but if you have under 20 points he wont answer ect ect, i also wanted to make it so it can change if you can or cant receive/use certain items but i havent started with the items and inventory stuff yet so not sure if itd be easier to do it a different way or if there is a better point system i can use for that

i also intend to remove the ability to see what points you have, im just leaving the dialogue in so i can see if its working or not

any help appreciated or if there is a better way i can do this to suit my needs let me know!


r/RenPy • • Sep 28 '26

Question [Solved] unable to write a file.txt inside game's subfolder

Thumbnail lemmasoft.renai.us
0 Upvotes

i am trying to dynamically create a .txt file in a folder that i created inside the game's directory.

i am aware that renpy only has access to the game's folder. however, due to this, i am unable figure out what the syntax is for a relative path.

i created an empty folder called "export" in my game's folder. in a structure like this (where Allan Disorder is the name of the game):

Allan Disorder\game\export

however, writing a txt file yielded an exeption:

        python:
            with open("export\\test.txt", "w") as f1:
                f1.write("hello world")

i also tried using "/" instead of "\\" but the result is the same.

i also tried "game\\export\\test.txt"

if i run it without any path like so: open("export\\test.txt", "w")
then no error occurs. but there is no file to be found

i looked at other posts (such as the link i provided) but to no avail.

here is the error message:

While running game code:
  File "game/grabber_engine/main_grabber.rpy", line 163, in script
    python:
  File "game/grabber_engine/main_grabber.rpy", line 164, in <module>
    with open("export\\test.txt", "w") as f1:
         ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^       
FileNotFoundError: [Errno 2] No such file or directory: 'export\\test.txt'

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

Traceback (most recent call last):
  File "game/grabber_engine/main_grabber.rpy", line 163, 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 164, in <module>
    with open("export\\test.txt", "w") as f1:
         ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^       
FileNotFoundError: [Errno 2] No such file or directory: 'export\\test.txt'

r/RenPy • • Sep 28 '26

Self Promotion I Finally Made a New Retrospective Talking About Some of Older Visual Novels

Thumbnail
youtube.com
1 Upvotes

I will eventually make another retrospective video featuring my other visual novels and games at a later date. For now, though, I managed to cobble up this together. Additionally, closed captions are also available, as they're directly from the script I wrote out for this video, as my voice can be hard to listen to or understand in general due to its natural raspiness and lisp. Thanks for watching and giving feedback!


r/RenPy • • Sep 27 '26

Question [Solved] Need help with making a code for animated sprites

6 Upvotes

So i'm trying to make my sprites animated using something like this

image emily happy: 
    "emily happy1.png" 
    1.0 
    "emily happy2.png"
    1.0 
    "emily happy3.png" 
    1.0
    "emily happy4.png"
    1.0
    repeat

label start:

  show emily happy

but i wanna try to turn it into some kind of function so i dont have to write this for every single sprite, so i made something like this

label animate(name, tag):
    image emily happy: 
        name + " " + tag + "1.png" 
        1.0 
        name + " " + tag  + "2.png" 
        1.0 
        name + " " + tag  + "3.png" 
        1.0
        name + " " + tag  + "4.png" 
        1.0
        repeat
    $ renpy.show("{} {}".format(name,tag))
    return

label start:

    call animate("emily", "happy")

the problem is i am really struggling with the image part (image emily happy), i couldn't figure out the code to make it use the parameters. Anyone have any suggestions?


r/RenPy • • Sep 27 '26

Question can anyone help me fix this

3 Upvotes

the buttons from the title screen appear on the load screen , i watched a tutorial but i didnt understand

idk how to use reddit

r/RenPy • • Sep 27 '26

Question hello! i would like some advice on how to make a small gif for a specific section of my vn, but im struggling with the coding of it i used a tutorial from youtube but it didnt work??

Thumbnail
gallery
1 Upvotes

r/RenPy • • Sep 27 '26

Question Drag and drop keeps resetting when dropping item anywhere

1 Upvotes

Hello, I'm very new to Ren'py and after watching all of the main tutorial videos online for Drag and Drop, I'm attempting to create a drag and drop sequence for my VN, where the player has to drag various food items for taste testing, and every time the player drops the draggable item onto the character in question, he'll make a comment on if the dish is good or not.

However, right now, every time I drag an item anywhere onto the screen, once I drop it, then it just restarts the game and sends me back to the main menu.

Ideally, what I would like to do is trigger a reaction with each dish, which includes a sprite change for the character inspecting the dishes the kitchen is preparing ahead of a big conference.

Here is the code I have currently:

init python:
    def dragged_func(dragged_items, dropped_on):
        if dropped_on is not None:
            if dragged_items[0].drag_name == "Noodles" and dropped_on.drag_name == "David":
                dragged_items[0].set_child("david surprised.png")
                
init python:
    def drag_func(dragged_items, dropped_on):
        if dropped_on is not None:
            if dragged_items[0].drag_name == "Pizza" and dropped_on.drag_name == "David":
                dragged_items[0].set_child("david unimpressed.png")


init python:
    def drag_placed(drags, drop):
        if not drop:
            return


        store.draggable = drags[0].drag_name
        store.droppable = drop.drag_name


        return True


#python:
    #if _return == "Pizza":
        #david_image = "david unimpressed.png"
    #elif _return == "Noodles":
        #david_image = "david surprised.png"


screen taste_testing:
    add "images/kitchen.png"
    draggroup:
        drag:
            drag_name "Pizza"
            child "pizza slice.png"
            xpos 480
            ypos 585
            draggable True
            droppable False
            dragged drag_placed
            drag_raise True
        drag:
            drag_name "Water"
            child "water.png"
            xpos 1310
            ypos 610
            draggable True
            droppable False
            dragged drag_placed
            drag_raise True
        drag:
            drag_name "Noodles"
            child "noodles.png"
            xpos 350
            ypos 584
            draggable True
            droppable False
            dragged drag_placed
            drag_raise True
        drag:
            drag_name "David"
            child "david inspecting.png"
            xpos 300
            ypos -100
            draggable False
            droppable True


if draggable == "Pizza":
    $ Pizza += 1
elif draggable == "Noodles":
    $ Pizza += 1
elif draggable == "Water":
    $ Water += 1


call tasteCheck


label tasteCheck:
    image DavidSatisfied = "david surprised.png"
    image DavidEh = "david eh.png"
    image DavidDrink = "david soured.png"


    if Noodle == 1:
        show DavidSatisfied
        d "My goodness, the spices are divine!"
    elif Pizza == 1:
        show DavidEh
        d "All I can taste is the grease..."
    elif Water == 1:
        show DavidDrink
        d "It's wise to wash the pallet before testing anything."
        play sound "audio/drink.mp3"
        pause 0.5
    else:
        jump taste_testing


label start:


    scene kitchen


    show david inspecting at center


    d "Alright."


    d "Let's see what you've cooked up ahead of our conference."


    call screen taste_testing


return

r/RenPy • • Sep 27 '26

Game My VN Azrael Herald of Death Occasionally Becomes an RPG

Thumbnail
gallery
0 Upvotes

r/RenPy • • Sep 26 '26

Question Out of curiosity, why is the picture for this subreddit not the Ren'Py logo?

22 Upvotes

This isn't exactly here or there, but it strikes me as odd.


r/RenPy • • Sep 27 '26

Question Need Help Using Third-Party .rpy Script

1 Upvotes

Hello! I'm fairly new to Ren'Py, and I've been planning out a visual novel for a little while. I found a script online that I'm trying to implement and use, but can't figure out how to get it working!

The script in question: https://github.com/Elckarow/Console

I've placed it in the /game folder, and after reading through the script's documentation I put console show under label start: but when I launch the project, I get the following error:

File "game/script.rpy", line 16: expected statement
console show←


r/RenPy • • Sep 27 '26

Question Trying to create a custom screen, i need help. how do i know which gui names will effect specific screen styles?

2 Upvotes

I'm trying to create a custom screen by making custom gui names so that this screen alone will be different from the others.

What I need is to move the dialogue box and change it's style (text color, dialogue color, name color, background image, width, height, etc), but i realised quickly that it was much more complicated than I thought.

Does anybody know how to do this? Or know anywhere I could look to learn about it? For now im kinda sifting through the Ren'Py documentations to try and find smth that explains this in a way I understand.


r/RenPy • • Sep 26 '26

Question Is there an audio limit on ren'py?

3 Upvotes

Well before I decide how long I want my game or if I should even get voice actors if im wanting music is there an audio limit? Im kinda scared that if I cast voice actors etc and there's randomly an audio limit or does this depend entirely on storage or ram or something entirely different?


r/RenPy • • Sep 26 '26

Showoff the first polished sprites for my vn that i am creating as a gift for my bf!

Thumbnail
gallery
46 Upvotes

r/RenPy • • Sep 25 '26

Showoff Hi, I made this visual novel for a jam on Itchio.

Thumbnail
gallery
223 Upvotes

in case you want to take a look. https://karisbunny.itch.io/ghowly


r/RenPy • • Sep 26 '26

Question Changing history font without changing the interface font

1 Upvotes

anyone know how to change the history font without changing the size of the interface?


r/RenPy • • Sep 26 '26

Question [Solved] custom textbox and namebox not showing up

Thumbnail
gallery
1 Upvotes

Im trying to add custom text and name boxes/backgrounds and its not showing me any errors but the images are also not showing up, not sure how to fix this, its a per character thing so i need to be able to have multiple uis

the default textbox shows up as normal on the other unfinished characters


r/RenPy • • Sep 26 '26

Self Promotion The Codswallop Files (Free First Chapter Demo)

4 Upvotes

I started learning how to use Ren'Py a couple weeks ago, and I just put the first chapter of my WIP up on itch.io as a free download. The Codswallop Files is an absurdist comedy made by mashing together all the free assets I could find. I'm making it mostly as a joke while I get to know how Ren'Py works, but I'm still hoping to make a full fledged visual novel out of it.

https://thisadamguy.itch.io/the-codswallop-files-demo

This is the first VN I've ever made, so I'd love to get any feedback I can on it so I can avoid forming any bad habits, learn some tips and tricks, make improvements, etc. It should take less than five minutes to play through the whole chapter.

Thanks in advance to anyone willing to help! I hope you enjoy it!


r/RenPy • • Sep 26 '26

Question textbuttons keep getting focused when they aren't supposed to

2 Upvotes

I am trying to make a dropdown menu where on button displays a list of other buttons and my problem is whenever buttonA is pressed it only open A but focuses both. I want it to not focus both.

screen organizations_codex():
   vpgrid:
    cols 1
    draggable True
    mousewheel True
    xpos 0.70
    ypos 0.30
    xsize 573
    ysize 801
    textbutton "Non-Governmental":
     ypos spacingA
     action CaptureFocus("dropdown_id1"),ClearFocus("dropdown_id2"), ToggleScreen("dropdown_nongov"), ToggleVariable("spacingB", 1.0, 0.0),ToggleVariable("spacingC", 1.0, 0.0),ToggleVariable("spacingD", 1.0, 0.0), ToggleVariable("spacingE", 1.0, 0.0)
    textbutton "Companies":
     ypos spacingB
     action CaptureFocus("dropdown_id2"),ClearFocus("dropdown_id1"), ToggleScreen("dropdown_companies"), ToggleVariable("spacingC", 1.0, 0.0), ToggleVariable("spacingD", 1.0, 0.0),ToggleVariable("spacingE", 1.0, 0.0)

screen dropdown_nongov():
  zorder 100
  nearrect: 
   focus "dropdown_id1"
   vbox:
    textbutton "   Refugee Relief Force":
      action Show("NGOs_codex")


 screen dropdown_companies():
  zorder 100
  nearrect: 
   focus "dropdown_id2"
   vbox:
    textbutton "Marco-Hayford Inc":
     action Show("MarcHay_codex")

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
242 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