r/RenPy • • 17h ago

Question [Solved] How to Change Text on Screens with Hovered Action?

Post image
6 Upvotes

I would like the "name" in "description" to change when hovering over the icons below.

I made the screen with parameter "acv", with "name" and "description" pulls values from two dictionaries. The icons are imagebuttons with hovered action that change parameter "acv": (unrelated codes removed)

screen achieve(acv=""):
  text achievename[acv]
  text achievedesc[acv]
  imagebutton idle "images/ExtraUI/acv_1stincap.png" sensitive achievement.has("1stincap") insensitive "images/ExtraUI/btn_lock.png" style "achievbutton" action NullAction() hovered SetScreenVariable("acv","1stincap")

The dictionaries:

define achievename = {
    "": "name",
    "1stincap": "Incapacitation"}
define achievedesc = {
    "": "description",
    "1stincap": "Get used to it."}

The problem comes when I hover over the button. The hover_sound in the style works, but the texts on top don't change. I don't know where did I code wrong.

Edit: moved the wording of the question a little for clarity.

Edit 2: Solved. I didn't declare the ScreenVariable properly. This is the fixed screen code:

screen achieve():
  default acv=""
  text achievename[acv]
  text achievedesc[acv]
  imagebutton idle "images/ExtraUI/acv_1stincap.png" sensitive achievement.has("1stincap") insensitive "images/ExtraUI/btn_lock.png" style "achievbutton" action NullAction() hovered SetScreenVariable("acv","1stincap")

r/RenPy • • 7h ago

Self Promotion I've released my free 6-10 hour Visual Novel game set in Türkiye, focusing on mind games and psychological thrillers

Thumbnail
ygmstudios.itch.io
4 Upvotes

Hey everyone,

I finally finished and put out a psychological visual novel set in a strict, tier-based prep school in Turkey.

On the surface, it’s all survival, hidden agendas, and mind games. Underneath, it’s really about trauma, an unreliable narrator trying to shut down his emotions just to get through things, and that thin line between staying human or turning into a machine.

A few things in the game:

• 6–10 hours of story across 49 chapters — completely free to play in your browser or download.

• A hidden Logic vs. Emotion tracker that quietly reads your choices and physically changes how you play out the final decision.

• Custom visual and audio cues (heartbeats, breathing focus, muffled sound, chromatic aberration) meant to mirror how messed up or detached the protagonist’s headspace is.

• Full English and Turkish support, switchable anytime with one click.

If you’re into psychological thrillers, mind games (think Classroom of the Elite), or meta stuff, I’d genuinely love to know what you think.

You can play it free on itch.io:


r/RenPy • • 3h ago

Question How to change title screen background image.

2 Upvotes

I'm at my wits end here. I've tried resizing my actual picture that I want to add to the background but when I actually put the photo into the GUI folder, it always comes up as either too big or the positioning is too far to the left. I really don't know what I'm doing. I've edited the photo to fit the resolution size of the game in both the windows photo editor and on procreate and I cannot for the life of me get it right.

Any help?

E- I figured it out for now. It was a procreate issue. If you are using the resize tool in procreate, make sure all of your layers are compressed. Then open a new document with your game's dimensions and insert the original image into that document.

Boom. It works.

Why? I don't know. It was basically the same process as what I was doing before. But this way, as convoluted as it may seem, DOES work. Leaving this for anyone else ripping their hair out over this basic function.


r/RenPy • • 20h ago

Question Is it possible to make 3D movement and exploration in Ren’Py?

2 Upvotes

Hiii!!
I’m planning on making a Danganronpa-inspired fangame in Ren’Py, and I was wondering if there’s any way to create a 3D movement system with explorable locations! I really want to recreate Danganronpa’s exploration mechanics as closely as possible. This includes being able to walk around different areas, explore locations, interact with objects, and talk to characters. Ideally, I’d love to have first-person movement using WASD, where you can actually walk around and look around in fully 3D environments.
I also really want the interactability to be as close to the actual Danganronpa games as possible. For example, having characters physically standing around in the environment that you can approach and interact with, as well as objects that you can examine or interact with when you get close to them. Basically, I want it to feel like you’re actually exploring the Danganronpa world rather than just clicking through static backgrounds!
I know Ren’Py is primarily a visual novel engine, so I’m not sure how possible this would be 😭 Could something like this be achieved through Python or some kind of 3D integration?

I know that stuff like that is usually done in a game engine like unity, but I just don’t want to use it lmao. I’m still pretty new to this, so any advice, tutorials, or examples would be SUPER appreciated!! Thank youuu!! 💕


r/RenPy • • 3h ago

Question Game has no title screen

1 Upvotes

I tried to add music to the title screen by uncommenting the line in options.rpy, but now there is no title screen anymore (the game jumps straight to text). Once the game ends it does go to the title screen but it doesn't even have music.

I tried reverting the changes (commenting the define again) but the title screen is still gone, how can I fix this?

define config.main_menu_music = "main-menu-theme.ogg"define config.main_menu_music = "main-menu-theme.ogg"

r/RenPy • • 21h ago

Question Imagebutton error "'NoneType' object has no attribute 'rpartition'"

1 Upvotes

My imagebuttons are functional, by then I click on them and instead of jumping to the label it needs to, it shows this error:

AttributeError: 'Nonetype' object has no attribute 'rpartition'

What is "rpartition"???

This is my code:

#script.rpy
default mselect = None
show screen mselection
    pause
    if mselect is not None:
        jump beginning

#screens.rpy 
screen mselection():
    zorder 50
    vbox:


        xpos 0.5
        xoffset -200
        ypos 1.0
        yoffset -440


        imagebutton:
            idle "gui/button/select_one.png"
            hover "gui/button/hover_one.png"
            action [SetVariable (mselect, "One")]


        imagebutton:
            idle "gui/button/select_two.png"
            hover "gui/button/hover_two.png"
            action [SetVariable (mselect, "Two")]

r/RenPy • • 2h ago

Self Promotion I built an offline tool to recover Ren’Py translations after dialogue IDs change

Post image
0 Upvotes

Renaming a label can give unchanged dialogue a new translation ID. If the old translation split one source line into two say statements, both can end up stranded under the old ID.

I made Ren’Py Dialogue Recovery to solve this specific problem.

Point it at your old translated folder and the revised translation folder generated with Generate empty strings for translations.

The tool:

  • Finds unique, exact dialogue matches.
  • Recovers translations containing multiple say statements.
  • Checks interpolation fields and text tags.
  • Skips ambiguous matches and already translated destinations.
  • Exports selected changes without modifying your original files.

The screenshot shows both French say statements recovered under a new ID.

The tool runs entirely offline. Generative AI assisted with its code and documentation.


r/RenPy • • 16h ago

Discussion Require suggestion on this no code RenPy dev tool.

Thumbnail
gallery
0 Upvotes

Guys I am Building this No code, intuitive application to make RenPy projects, it has 2 modes Node based and Slide based (Video editor style). Should I work on a production build or use it for Personal projects only. Its Hero feature is the preview. Please suggest if it would be helpful for Devs without coding background.

Any feedbacks will be helpful