Search found 74 matches

by Rinzamakani
Wed Aug 25, 2021 9:15 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Making bonus content screen return to gallery screen, not main menu? Not using imagemaps
Replies: 6
Views: 2110

Re: Making bonus content screen return to gallery screen, not main menu? Not using imagemaps

did you change Ocelot code gallery to gallery_navigation? so it would be like this textbutton ("Return to Gallery") action ShowMenu("gallery_navigation") Thank you very much! Turns out the code was: textbutton _("Return to Gallery") action [ShowMenu("gallery_navig...
by Rinzamakani
Wed Aug 25, 2021 7:04 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Making bonus content screen return to gallery screen, not main menu? Not using imagemaps
Replies: 6
Views: 2110

Re: Making bonus content screen return to gallery screen, not main menu? Not using imagemaps

This is completely unrelated and points to error in the gallery screen. I'm not entirely sure what could be wrong then. Here's the code to the gallery: init python: g = Gallery() ## Edit this with your stuff and create the rest according to tutorial. g.button("Button_Name") g.unlock_image...
by Rinzamakani
Wed Aug 25, 2021 3:18 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Making bonus content screen return to gallery screen, not main menu? Not using imagemaps
Replies: 6
Views: 2110

Re: Making bonus content screen return to gallery screen, not main menu? Not using imagemaps

Did you try textbutton ("Return to Gallery") action ShowMenu("gallery") ? That gives me this error: I'm sorry, but an uncaught exception occurred. While running game code: File "game/gallery.rpy", line 42, in execute screen gallery(): File "game/gallery.rpy",...
by Rinzamakani
Wed Aug 25, 2021 11:43 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Making bonus content screen return to gallery screen, not main menu? Not using imagemaps
Replies: 6
Views: 2110

[SOLVED] Making bonus content screen return to gallery screen, not main menu? Not using imagemaps

Hello. I've been trying and searching around for a way to make the bonus screen to my game return to the gallery screen, NOT the main menu. Everything I've looked up and tried gives me different error screens. I don't use imagemaps. What I've tried: $ renpy.game_menu("gallery") This gives ...
by Rinzamakani
Wed Feb 03, 2021 11:24 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Player custom name does not show up in ending replays
Replies: 10
Views: 3390

Re: Player custom name does not show up in ending replays

Okay. That worked. But now the box with the text asking to change the player's name shows up in the upper left corner of the screen. Is there a way to move it to the center of the screen? screen change_name(): modal True add Solid("#000000") alpha 0.8 frame: xalign 0.5 yalign 0.5 has vbox...
by Rinzamakani
Wed Feb 03, 2021 9:37 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Player custom name does not show up in ending replays
Replies: 10
Views: 3390

Re: Player custom name does not show up in ending replays

File "game/namechange.rpy", line 17: expected a keyword argument or end of line. allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" Ren'Py Version: Ren'Py 7.3.5.606 Wed Feb 03 18:59:46 2021 [/code] Just remove = allow "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRS...
by Rinzamakani
Wed Feb 03, 2021 9:02 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Player custom name does not show up in ending replays
Replies: 10
Views: 3390

Re: Player custom name does not show up in ending replays

This piece in specific is what confuses me. I tried placing the "SetVariable("persistent.player_name", player_name)" into the options.rpy section, but that just gave an error. I'm sorry, I don't think I've coded something like this before. I thought you already had it. Anyway, y...
by Rinzamakani
Wed Feb 03, 2021 6:42 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Player custom name does not show up in ending replays
Replies: 10
Views: 3390

Re: Player custom name does not show up in ending replays

Oh wow. Thank you so much! :( Now what about the code to let the player change their name in the options/settings menu? Would that be a different screen? Well, actually you might prefer the other option. Option 1: If you are alright with having unite player name through all the games(all save files...
by Rinzamakani
Wed Feb 03, 2021 4:30 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Player custom name does not show up in ending replays
Replies: 10
Views: 3390

Re: Player custom name does not show up in ending replays

Hi, Rinzamakani , Try this: default persistent.player_name = "Mei" default player_name = persistent.player_name label start: scene black with fade $ player_name = renpy.input("What is your name?", default="Mei", allow="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRS...
by Rinzamakani
Wed Feb 03, 2021 10:57 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Player custom name does not show up in ending replays
Replies: 10
Views: 3390

[Solved] Player custom name does not show up in ending replays

Hello. Yesterday I received some help to code a replay screen for endings, but when I replay the scenes to test them, the player's custom name does not show up. I figured I'd allow the player to set their name when they began a new game, then allow them to change it in the options menu as well. I kn...
by Rinzamakani
Tue Feb 02, 2021 9:31 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to code text-based endings gallery please?
Replies: 10
Views: 2434

Re: [Solved] How to code text-based endings gallery please?

Sounds like you figured it out, but it looks like the reason the first attempt had everything on top of each other is because of improper indentation. Make sure that elements that rely on something else are indented unless something is designed otherwise. (In that case, things inside the vbox neede...
by Rinzamakani
Tue Feb 02, 2021 6:50 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to code text-based endings gallery please?
Replies: 10
Views: 2434

Re: How to code text-based endings gallery please?

Is there a way I can add scrollbar if there are too many endings? I'm also okay with only listing the endings and not making them replayable if it's easier. Hi, Rinzamakani , You can use game_menu to make it in the same design and add scrollbar. For example, if you put the Ending_gallery button in ...
by Rinzamakani
Tue Feb 02, 2021 2:22 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to code text-based endings gallery please?
Replies: 10
Views: 2434

Re: How to code text-based endings gallery please?

That looks pretty close to something that should work. I'd recommend seeing how the code runs in-game and tweaking from there. Now that I'm at a slightly better device, here's a loose idea of how I might code something like this (not exact code, but I'll try to be close): screen endlist(): ## skipp...
by Rinzamakani
Tue Feb 02, 2021 1:24 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to code text-based endings gallery please?
Replies: 10
Views: 2434

Re: How to code text-based endings gallery please?

Not at my main computer so I can't go into details at the moment, but if you want the buttons to lead to replays of the scenes in question, look into the replay functionality. (It might be in the same part of the documentation as the galleries.) In general, you'll want to check persistent variables...
by Rinzamakani
Mon Feb 01, 2021 5:11 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to code text-based endings gallery please?
Replies: 10
Views: 2434

[Solved] How to code text-based endings gallery please?

Hello. :) I remembered today that someone who played a game I made requested that I make an endings list for all the characters in the game. I figured I could place the ending list in the image gallery I have under a tab named "Others" or "Extras". My problem is, I don't know how...