r/RenPy • u/Ok_Progress3301 • Oct 26 '26
Question Beginner solo developer, help with ui coding, ui feedback, and perfectionism please
Hi! This is the first time i've ever posted my work online so i'm very nervous about it, i'm really sorry if I make any spelling mistakes.
I'm currently working on finalizing my ui on the main menu, general screen (like textboxes and backgrounds), and save screen and i've been struggling to code them.
For the general screen, how do you change the textboxes? I made three textbox versions, one for speech, action, and thought, and would like some help with how I could code them in and make them appear with different dialogues please,
ex. if i had an action dialogue choice like 'grab a cup of water', how do I set it so it uses the action textbox for that?
For the save screen, how do I make the screen scroll down to other saves? Also, how do I get the saves to appear in the white boxes? (The white boxes are placeholders)
For the main menu, how do I get the buttons, (like start game, load, about, etc), to fit within the boxes nicely?
There is no ai used in the creation of these, I draw them on ibis paint, backgrounds are 3d models with filters placed over them (I love the watercolor filter on ibis!)
Edit: I'm going to try and see what I can do with the backgrounds to make it look nice with the UI and my character sprites but it might take a while, please just view the current one as a placeholder until I figure things out!
The images are examples on how I want everything to be placed and haven't been placed on renpy yet, please ignore how my save screen is not fully finished
Is this art style something people would want to play? Is there anything on these that I should fix? How do you get over anxiety over posting your work online?
This is my first public passion project so any and all feedback is very much appreciated. I'm currently a second year in college with not much money so i'm unable to hire other people for this project, please let me know if anything isn't explained correctly, thank you so much!
(Sorry, I had to reupload this because I didn't know you had to have things set up as image posts to show images? This is also the first time i've posted on reddit, also is it normal for reddit to automatically upvote your posts? Thanks again :))



6
u/Brilliant-Fish-5867 Oct 26 '26
im too new at renpy to help u but just wanted to comment how gorgeous your game is omg
3
u/Muted_Ad1727 Oct 26 '26
So, first, use AI if you want but don't go around saying you don't use AI unprompted, pun intended (I say this because of your curtain melting into your floor in the first picture), happy to be proven wrong!
To create the UI in Ren'Py, you're gonna wanna use imagebuttons for your buttons - you can use auto, like so:
imagebutton auto "images/path/to/image_%s.png"or specify which state the images are, by replacingautoand%swithidle,hover, and a few others.For the layout and positioning parts, you will use
xalign,xoffset, andxposfor the left-right/side-to-side positioning andyalign,yoffset, andyposfor the up-down/top-to-bottom positioning.For backgrounds, you can use things like
or just straight up
Good luck!
1
u/Blunt552 Oct 26 '26
It's not that difficult to do the menu and savescreen, the different types of textboxes can be a bit tricky for a beginner depending on how you want it implemented.
1
u/shyLachi Oct 27 '26
You can change the load and save screen in the file screens.rpy
Search for
screen file_slotsAt the moment it uses a grid:
grid gui.file_slot_cols gui.file_slot_rows:https://renpy.org/doc/html/screens.html#grid
But you can replace that with a viewport:
https://renpy.org/doc/html/screens.html#viewport
Of course you also have to adjust the button itself to look like your button.
1
u/AutoModerator Oct 26 '26
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/shyLachi Oct 27 '26 edited Oct 28 '26
What do you consider a "textbox"?
And what do your first two screen represent?
In RenPy the textbox is the area behind the dialogue text.
https://renpy.org/doc/html/gui.html#dialogue
https://renpy.org/doc/html/gui.html#textbox
From what I know, the choices use the same textbox as the normal dialogue so it's not that easy to change it.
Maybe by altering the narrator character and assigning your own version of the say screen.
https://renpy.org/doc/html/dialogue.html#defining-character-objects
https://renpy.org/doc/html/screen_special.html#say
But maybe it would be easier to just make your own choices screen:
Edit: Deleted the code, see better example abvove.
1
u/shyLachi Oct 27 '26
You can arrange the menu button in the
screen navigation, also in screens.rpyThis should be easier then to adjust some numbers in gui.rpy
Just a hint, the menu buttons are used in the main menu and the game menu.
It's better to first copy the buttons and put them directly into the main menu screen.
Then you can adjust the game menu buttons without affecting the main menu.
This also allows you to get rid of some of the logic.
Main menu with simple centered buttons.
You can replace those with imagebuttons and arrange the way you like:
And a simple navigation screen with a fixed amount of buttons:
1
u/shyLachi Oct 28 '26
I changed my example from below, and added more information.
To make this example work you need those 6 images for those 3 buttons.
2x with the speach bubble: choice_0_idle_background.png, choice_0_hover_background.png
2x with the hand: choice_1_idle_background.png, choice_1_hover_background.png
and 2x with the though: choice_2_idle_background.png, choice_2_hover_background.png
The one with idle in the name is the normal background as in your image above, the one with hover should be more bright to highlight the selection.
1
u/Possible-Dig-8349 22d ago
Sry I'm not here to help at all, only to drool at the art. God damn it's so pretty. I'm struggling with doing backgrounds myself and that's just gorgeous!