Search found 8 matches

by yasuzama
Sat Nov 27, 2021 10:43 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Change main menu background after completing a route
Replies: 12
Views: 567

Re: Change main menu background after completing a route

A python statement ($) runs the next line of code after being executed. In your case, after it reaches the $ persistent.shal_route = True, the next label (jynn_route) gets executed, and so on. So basically, if you reach the shal_route, the other routes will get triggered as well. A workaround is to...
by yasuzama
Sat Nov 27, 2021 9:42 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Change main menu background after completing a route
Replies: 12
Views: 567

Re: Change main menu background after completing a route

I am not sure where your problem is. I have just tested this, and it works perfectly: screen main_menu(): ## This ensures that any other menu screen is replaced. tag menu style_prefix "main_menu" # add gui.main_menu_background imagemap: ground gui.main_menu_background hotspot (522, 251, 722, 300) a...
by yasuzama
Fri Nov 26, 2021 3:32 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Change main menu background after completing a route
Replies: 12
Views: 567

Re: Change main menu background after completing a route

if persistent.shal_route == True: add "gui/menuimage/main_menu_shal.png" elif persistent.jynn_route == True: add "gui/menuimage/main_menu_jynn.png" elif persistent.alex_route == True: add "gui/menuimage/main_menu_alex.png" elif persistent.shal_route == True and persistent.jynn_route == True: add "g...
by yasuzama
Sat Nov 20, 2021 12:21 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Change main menu background after completing a route
Replies: 12
Views: 567

Re: Change main menu background after completing a route

I don't know if this has anything to do with your problem, but why does the `else: use main_menu_no_end` clause even exist? It looks like it just duplicates the code you already have above. Depending on what your images actually contain, if alex_route is false that might result in drawing a new mai...
by yasuzama
Sat Nov 20, 2021 12:10 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Change main menu background after completing a route
Replies: 12
Views: 567

Re: Change main menu background after completing a route

The parenthesis aren't necessary and should probably be removed too. I can take a better look later. To add additional checks, you'd simply write both variables on one line, with an "and" between them. if persistent.shal_route and persistent.alex_route: add "gui/menuimage/main_menu_shal.png" add "g...
by yasuzama
Thu Nov 18, 2021 11:16 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Change main menu background after completing a route
Replies: 12
Views: 567

Re: Change main menu background after completing a route

Your issue is in this section of code. # The background of the main menu. if (persistent.shal_route == True): add "gui/menuimage/main_menu_shal.png" elif (persistent.jynn_route == True): add "gui/menuimage/main_menu_jynn.png" elif (persistent.alex_route == True): add "gui/menuimage/main_menu_alex.p...
by yasuzama
Thu Nov 18, 2021 2:12 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Change main menu background after completing a route
Replies: 12
Views: 567

[Solved] Change main menu background after completing a route

Good day, I'm current trying to make a visual novel/dating game where when you first start the game, there is a main menu background with only the silhouettes of the dateable characters. Upon completing a route, the game will take the player back to the main menu and they will see that whichever ch...
by yasuzama
Fri Sep 09, 2016 11:45 pm
Forum: We are a Free Project looking for Partners
Topic: TBTR: Crime Romance VN Searching for Permanent Composer!
Replies: 12
Views: 1471

Re: TBTR: Crime Romance VN Searching for Team!

Hello! I'm new on here but I saw that you were looking for a team. I saw that the artist role haven't been filled yet so I would like to apply for that position. I don't know what kind of art you are looking for, but I can match my art with whichever themes you may like. I can mostly do CGs and some...