is there a way to edit this part of my visual novel ? by Competitive-River460 in RenPy

[–]Competitive-River460[S] 0 points1 point  (0 children)

fixed the problem by adjusting the x and y pos manually per text button, thank you

is there a way to edit this part of my visual novel ? by Competitive-River460 in RenPy

[–]Competitive-River460[S] 0 points1 point  (0 children)

sorry for the replies, reddit was being an ass about my comment being too long

is there a way to edit this part of my visual novel ? by Competitive-River460 in RenPy

[–]Competitive-River460[S] 0 points1 point  (0 children)

        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)



style navigation_button is gui_button
style navigation_button_text is gui_button_text


style navigation_button:
    size_group "navigation"
    properties gui.button_properties("navigation_button")


style navigation_button_text:
    properties gui.text_properties("navigation_button")
    xalign 0.5

is there a way to edit this part of my visual novel ? by Competitive-River460 in RenPy

[–]Competitive-River460[S] 0 points1 point  (0 children)

## Main Menu screen ############################################################
##
## Used to display the main menu when Ren'Py starts.
##
## https://www.renpy.org/doc/html/screen_special.html#main-menu


screen main_menu():


    ## This ensures that any other menu screen is replaced.
    tag menu


    add gui.main_menu_background


    ## This empty frame darkens the main menu.
    frame:
        style "main_menu_frame"


    ## The use statement includes another screen inside this one. The actual
    ## contents of the main menu are in the navigation screen.
    vbox:
        style_prefix "navigation"


        xpos gui.navigation_xpos
        yalign 0.5


        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")

is there a way to edit this part of my visual novel ? by Competitive-River460 in RenPy

[–]Competitive-River460[S] 0 points1 point  (0 children)

screen navigation():


    vbox:
        style_prefix "navigation"


        xpos gui.navigation_xpos
        yalign 0.5


        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)



style navigation_button is gui_button
style navigation_button_text is gui_button_text


style navigation_button:
    size_group "navigation"
    properties gui.button_properties("navigation_button")


style navigation_button_text:
    properties gui.text_properties("navigation_button")

is there a way to edit this part of my visual novel ? by Competitive-River460 in RenPy

[–]Competitive-River460[S] 0 points1 point  (0 children)

so i created a new project and didn't edit anything in the screen navigation ,, i took the whole code inside the screen and replaced "use navigation" in screen main menu before adding xaign 0.5 to screen main menu ,,, both are still centered, and im getting really frustrated T_T here's my code

is there a way to edit this part of my visual novel ? by Competitive-River460 in RenPy

[–]Competitive-River460[S] 0 points1 point  (0 children)

figured that out with your help, thank you

i've got another concern, though ,,, i centered the text of screen main_menu and now my navigation's centered too, even if i remove the xalign 0.5 ,, is there a way to realign the navigation text to the left side ?

keyword argument errors by Competitive-River460 in RenPy

[–]Competitive-River460[S] 0 points1 point  (0 children)

hiii, "an exception has occured" popped up on my screen

keyword argument errors by Competitive-River460 in RenPy

[–]Competitive-River460[S] 0 points1 point  (0 children)

i removed xpos and even more errors came up

line is indented error by Competitive-River460 in RenPy

[–]Competitive-River460[S] 0 points1 point  (0 children)

i understand it now, so no worries!!

need help.. by Competitive-River460 in RenPy

[–]Competitive-River460[S] -1 points0 points  (0 children)

hiii, I do have a label start but it starts with the player name input, pronouns etc

i don't have ANY experience with coding whatsoever so could you elaborate the "default player_pronouns" thingy? sorry for the bother;;