Search found 44 matches

by LittleRainySeasons
Tue Apr 09, 2024 6:47 am
Forum: Ren'Py Questions and Announcements
Topic: Help on animated counter
Replies: 4
Views: 259

Re: Help on animated counter

philat wrote: Mon Apr 08, 2024 11:48 pm Nope. It works.
I get an error when I tried it.

Edit: I did finally get it to work but the number always drop to "49" when it decreases by 50.
by LittleRainySeasons
Mon Apr 08, 2024 9:13 pm
Forum: Ren'Py Questions and Announcements
Topic: Help on animated counter
Replies: 4
Views: 259

Re: Help on animated counter

Doesn't look like that would run (for instance, there's no screen variable tickets) but I assume it's down to editing for posting. In any case, here's a simple running counter. default tickets = 0 label start: "Start" $ tickets += 50 show screen running_counter(tickets, 50) pause hide scr...
by LittleRainySeasons
Sun Apr 07, 2024 7:39 pm
Forum: Ren'Py Questions and Announcements
Topic: Help on animated counter
Replies: 4
Views: 259

Help on animated counter

This is something that is bugging me for months and I need help on this. So what I'm doing is a score counter. And my plan is that the numbers would roll when points automatically gets deducted or earned in the game. I used this code to do it: label arcadetesuto: $ chances = renpy.random.randint(1, ...
by LittleRainySeasons
Thu Feb 01, 2024 8:32 pm
Forum: Ren'Py Questions and Announcements
Topic: Problem with the caption in the choices
Replies: 2
Views: 496

Re: Problem with config.narrator.menu

I still cannot figure out the problem and I stopped fiddling with the narrator menu. The caption of the blue GUI just doesn't show up and it remains underneath the asset. If I turned it off, it would show up correctly but then the default GUI messes up. Besides the caption is the main problem here I...
by LittleRainySeasons
Tue Jan 30, 2024 6:16 am
Forum: Ren'Py Questions and Announcements
Topic: Problem with the caption in the choices
Replies: 2
Views: 496

Problem with the caption in the choices

So, in my game, there will come to a point where the GUI completely changes when they buy an item to give a feel of playing a different game within the game. Unfortunately, there's a problem: When I set config.narrator.menu as true, this happens. The new GUI (right) doesn't display properly at all h...
by LittleRainySeasons
Tue Dec 26, 2023 3:13 am
Forum: Ren'Py Questions and Announcements
Topic: Having problems creating an achievements page
Replies: 1
Views: 281

Re: Having problems creating an achievements page

Created a workaround. It's not very neat but this is the solution I pretty much came up with temporarily. Although when during a conversation, it would mess up the gameplay. label achievements: hide screen ingame_menu show black stop music with NoiseDissolve2 pause 1.0 play music "audio/checker...
by LittleRainySeasons
Thu Dec 21, 2023 3:30 am
Forum: Ren'Py Questions and Announcements
Topic: Having problems creating an achievements page
Replies: 1
Views: 281

Having problems creating an achievements page

So I was doing an achievements page and I initially made this code. While it was working fine, the only problem is that when it returns, it jumps to the next text instead of returning where the player previously left off. screen trophybutton: imagebutton idle "gui/menuachievements.png" xpo...
by LittleRainySeasons
Thu Dec 14, 2023 8:15 pm
Forum: Ren'Py Questions and Announcements
Topic: Numbers in the screen not animating
Replies: 3
Views: 3479

Re: Numbers in the screen not animating

Okay so in my game, there's a section where the character plays arcade games and I want the numbers on the tickets to roll. I tried to apply what I know but the problem is the numbers aren't animating at all. Do not use timers that are repeatedly called within 0.01 seconds. Renpy won't be able to k...
by LittleRainySeasons
Wed Dec 13, 2023 11:49 pm
Forum: Ren'Py Questions and Announcements
Topic: Numbers in the screen not animating
Replies: 3
Views: 3479

Numbers in the screen not animating

Okay so in my game, there's a section where the character plays arcade games and I want the numbers on the tickets to roll. I tried to apply what I know but the problem is the numbers aren't animating at all. Here's my code: screen ingame_menu: if atarcade: default earnedtickets = 0 add "gui/in...
by LittleRainySeasons
Tue Nov 21, 2023 11:08 pm
Forum: Ren'Py Questions and Announcements
Topic: Problem with input text box on screen [SOLVED]
Replies: 5
Views: 791

Re: Problem with input text box on screen

I tried the password mask thing and it says "invalid syntax" Which Renpy version are you using? Because it's pretty valid and works like a charm on my end. I'm not sure why you are using a complicated way like creating an Input object and then adding it as a Displayable, while Renpy suppo...
by LittleRainySeasons
Tue Nov 21, 2023 3:58 am
Forum: Ren'Py Questions and Announcements
Topic: Problem with input text box on screen [SOLVED]
Replies: 5
Views: 791

Re: Problem with input text box on screen

But then there's another problem, whenever I click the button it still shows wrong password even I input the right text and it won't proceed in the label: You forgot to actually put in a value object for the input field. Without it, it's not changing any variable in the background. At the moment yo...
by LittleRainySeasons
Mon Nov 20, 2023 7:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Problem with input text box on screen [SOLVED]
Replies: 5
Views: 791

Re: Problem with input text box on screen

I have found a way to fix the problem by removing the password.func But then there's another problem, whenever I click the button it still shows wrong password even I input the right text and it won't proceed in the label: default password = "" screen text_input_screen(): default screenvar...
by LittleRainySeasons
Mon Nov 20, 2023 8:14 am
Forum: Ren'Py Questions and Announcements
Topic: Problem with input text box on screen [SOLVED]
Replies: 5
Views: 791

Problem with input text box on screen [SOLVED]

Okay so I'm making a custom screen text box for a portion of my game where the content is password protected. I decided to copy the code from here but the problem is I'm not sure how to hide the password from the text box and putting "else" automatically says wrong password by default. Her...
by LittleRainySeasons
Thu Nov 16, 2023 8:38 pm
Forum: Ren'Py Questions and Announcements
Topic: Doing a fake loading screen? [SOLVED]
Replies: 3
Views: 352

Re: Doing a fake loading screen?

Characters and their texts are for dialogue and the normal game flow. If you want to show information to your player, use screens! Also your character definition is very weird. screen loading(maximum): default progress = 0 text "LOADED ([progress] of [maximum])" size 15 font "gui/Pre...
by LittleRainySeasons
Thu Nov 16, 2023 3:00 am
Forum: Ren'Py Questions and Announcements
Topic: Doing a fake loading screen? [SOLVED]
Replies: 3
Views: 352

Re: Doing a fake loading screen?

This is my code and apparently it's too messy because I don't know how to execute it. init: $ l = Character (size=15, font="gui/PressStart2P-Regular.ttf" xpos 166 ypos 454) label computer: scene startup1 pause 5.0 scene startup2 pause 2.0 scene startup3 pause 4.0 l "LOADED (0 of 19832...