Search found 83 matches

by Adabelitoo
Fri Mar 01, 2024 8:04 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] About choosing names and caps/case sensitive
Replies: 5
Views: 206

Re: About choosing names and caps/case sensitive

Thank you everyone for your answers. Everything works as planned now.

Marked as solved.
by Adabelitoo
Fri Mar 01, 2024 5:41 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] About choosing names and caps/case sensitive
Replies: 5
Views: 206

[Solved] About choosing names and caps/case sensitive

Let's imagine that the player wants to name his character Markus, so I'll do this $ mc = renpy.input(What will be your name (Default name will be MC)) $ mc = mc.strip() Now, let's imagine that the player writes markus or mARKUS instead of Markus. Is it possible to force the name to be Markus? Also, ...
by Adabelitoo
Mon Feb 26, 2024 4:26 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Help making a slider bar to change the Save/Load page
Replies: 14
Views: 646

Re: Help making a slider bar to change the Save/Load page

I used current-page, and especially used - instead of _, to indicate that that was what I wanted to replace but I didn't know what would replace it. I know current-page is wrong, that was the point, maybe I should have written something like xxxxxxxxxx >= 99 to make it easier to tell. I tried with p...
by Adabelitoo
Mon Feb 26, 2024 2:13 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Help making a slider bar to change the Save/Load page
Replies: 14
Views: 646

Re: Help making a slider bar to change the Save/Load page

Thanks! The bar became a slider bar and I managed to make the thumb bigger than the bar itself by mixing the custom image with empty spaces and increasing the area height. Thank you both. Marked as solved, although I'm still curious about how yaling would have worked. Edit: I found an issue. If I pr...
by Adabelitoo
Mon Feb 26, 2024 12:14 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Help making a slider bar to change the Save/Load page
Replies: 14
Views: 646

Re: Help making a slider bar to change the Save/Load page

Sorry I think I'm still missing the point here. I understand how left and right work, but I don't want to use the bar bar (game/gui/bar/), I want to use the slider bar (game/gui/slider/). Copy-pasting your code shows a bar and I'd like to make it a slider bar.
by Adabelitoo
Sun Feb 25, 2024 5:08 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Help making a slider bar to change the Save/Load page
Replies: 14
Views: 646

Re: Help making a slider bar to change the Save/Load page

I'm still confused. I messed up with those thumb values before but I didn't get any results. Now I thought you meant adding thumb_yalign 0.5 below area(780, 98, 800, 25) but that also doesn't work.
by Adabelitoo
Sun Feb 25, 2024 4:51 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Help making a slider bar to change the Save/Load page
Replies: 14
Views: 646

Re: Help making a slider bar to change the Save/Load page

I'm confused. I managed to make the bar smaller than the thing you slide by doing this bar value Preference("music volume"): area (780, 98, 800, 25) Ignoring the fact that is says Preference("music volume") because that's the one I copy pasted to use until I learn how to change t...
by Adabelitoo
Sun Feb 25, 2024 4:28 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Help making a slider bar to change the Save/Load page
Replies: 14
Views: 646

Re: Help making a slider bar to change the Save/Load page

Thank you both for your answers. If you are using f-strings, then f'{FilePageName()]:0>2} / 99' will show you page number padded with leading zeroes to be two wide. You can set bar's released or even changed properties to invoke FilePage action to set page you want. https://www.renpy.org/doc/html/sc...
by Adabelitoo
Sat Feb 24, 2024 7:05 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Help making a slider bar to change the Save/Load page
Replies: 14
Views: 646

[Solved] Help making a slider bar to change the Save/Load page

I never liked the original save/load page system where the higher page you can access with a click is 9 and then you have to click all the way up to, let's say, page 50. What I did in other games was increasing the range from 1 to 30 so the player can reach that many pages with just a click if they ...
by Adabelitoo
Thu Feb 08, 2024 2:22 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Issues while changing the in-game text
Replies: 1
Views: 364

Re: Issues while changing the in-game text

I continued researching after making this post and eventually find someone else's post explaining how to change only the in-game text. That and my method to change the character's name font solved my issue. What solved my issue: https://lemmasoft.renai.us/forums/viewtopic.php?t=38235 Another usefull...
by Adabelitoo
Wed Feb 07, 2024 5:16 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Issues while changing the in-game text
Replies: 1
Views: 364

[Solved] Issues while changing the in-game text

I want to let the player chose among different fonts for the in-game text. So far I have this: ## Fonts and Font Sizes ######################################################## ## The font used for in-game text. define gui.text_font = gui.preference("font_1", "fonts/florida project pha...
by Adabelitoo
Tue Feb 06, 2024 5:21 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to show the MC's name and the slot page-number on file slots?
Replies: 8
Views: 748

Re: How to show the MC's name and the slot page-number on file slots?

Thanks! It all works now. Is it possible to make it not show "None" (or replace it with " ") when there is no saved game in that slot or the key does not exist? Because this way I have "None" in all empty files. Lastly, I have managed to remove everything from my empty ...
by Adabelitoo
Tue Feb 06, 2024 2:31 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to show the MC's name and the slot page-number on file slots?
Replies: 8
Views: 748

Re: How to show the MC's name and the slot page-number on file slots?

Thanks for replaying. Page and slot number are implicit and available, you don't have to save them. How can I show them on the save slots? Any other information you want to save, you just pass via a Json callback described here: https://www.renpy.org/doc/html/config.html#var-config.save_json_callbac...
by Adabelitoo
Tue Feb 06, 2024 2:54 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] How to show the MC's name and the slot page-number on file slots?
Replies: 8
Views: 748

Re: How to show the MC's name and the slot page-number on file slots?

Thanks for replaying. First of all, to save the player's name and display it for each save operation, you can use persistent variables in Ren'Py. For example, you could prompt the player for their name at the beginning of the game and then save it in a persistent variable: How early are we talking a...