Ren'Py Need Help fixing renpy stuff

vork88

Member
Aug 21, 2017
106
66
I am working on a game and i need help fixing this image_2025-01-16_000642551.png

Here is the script
"screen navigation():
vbox:
style_prefix "navigation"

xalign 0.5
yalign 0.6

spacing gui.navigation_spacing
if main_menu:
textbutton _("Start") action Start()
else:
textbutton _("History") action ShowMenu("history")
textbutton _("Save") action ShowMenu("save")
textbutton _("Load") action ShowMenu("load")
textbutton _("Preferences") action ShowMenu("preferences")
if _in_replay:
textbutton _("End Replay") action EndReplay(confirm=True)
elif not main_menu:
textbutton _("Main Menu") action MainMenu()
textbutton _("About") action ShowMenu("about")
if renpy.variant("pc") or (renpy.variant("web") and not renpy.variant("mobile")):
## Help isn't necessary or relevant to mobile devices.
textbutton _("Help") action ShowMenu("help")
if renpy.variant("pc"):
## The quit button is banned on iOS and unnecessary on Android and
## Web.
textbutton _("Quit") action Quit(confirm=not main_menu)"
 

Penumbral Evanescence

|☽◯☾| Somnium of the Night ✧ Bête Noire
Moderator
GFX Designer
Donor
Jul 16, 2021
3,324
11,743
"screen navigation():
vbox:
style_prefix "navigation"

xalign 0.5
yalign 0.6
I assume it might have something to do with the 'xalign' and 'yalign' parameters. Did you try playing around with the ratios?

Try changing yalign to 1.0 to see if there are any changes there with the positioning
 

Penumbral Evanescence

|☽◯☾| Somnium of the Night ✧ Bête Noire
Moderator
GFX Designer
Donor
Jul 16, 2021
3,324
11,743
Ok someone else from renpy discord help me i had to do this
View attachment 4449292
Ok, I see you changed yalign to be 0.5 same as xalign and added an else statement below. That ultimately helped to make the GUI navigation elements in the save HUD aligned appropriately. Good to hear that your problem is resolved now and that someone from the Ren'PY Discord server was able to help.
 

Penumbral Evanescence

|☽◯☾| Somnium of the Night ✧ Bête Noire
Moderator
GFX Designer
Donor
Jul 16, 2021
3,324
11,743
i wanna leave this open if i have other problems since this is my first time making a renpy game
Yeah np, feel free to report more of your problems under this thread, and I'm sure many others in the community would be happy to help assist you as you are programming your Ren'PY game (y)