Search found 882 matches

by Per K Grok
Wed Feb 02, 2022 4:57 am
Forum: Ren'Py Questions and Announcements
Topic: Splitting files? (Answered)
Replies: 2
Views: 332

Re: Splitting files?

My project is essentially a doll creator. I want to let people create their D&D characters from a selection of 32 different races with different genders, hair stylings, clothing, etc. I have my script.rpy file and I have my human.rpy file that it relates to but I'm worried that it's going to be...
by Per K Grok
Fri Jan 28, 2022 8:39 am
Forum: Ren'Py Questions and Announcements
Topic: Hiding JUST ONE image button (not the screen)?
Replies: 5
Views: 376

Re: Hiding JUST ONE image button (not the screen)?

this one way if button_on == False: textbutton _("test") action [SetVariable("button_on", True), Show("test")] else: None or pass Hi there. Thanks for your help. How would I co-opt this for image buttons? I declared my button like so: I'm assuming I can't just have two...
by Per K Grok
Thu Jan 27, 2022 6:43 am
Forum: Ren'Py Questions and Announcements
Topic: Background of save\load screen
Replies: 1
Views: 330

Re: Background of save\load screen

Hi) Please help me. I'm new to renpy. And I'm sorry if my English is a bit lame, it's not my native language. Is it possible to hide everything highlighted in yellow and change the background image of the background on the load and save screen? I have a background of Settings for some reason. 5kOof...
by Per K Grok
Tue Jan 25, 2022 5:21 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Trying to make a clicker timed event you can't win
Replies: 3
Views: 366

Re: [question] Trying to make a clicker timed event you can't win

I've been trying to code an event you can't win that stops when you stop clicking your mouse, similar to button mashing but clicking You could do something like this. In the code 'stoppoint' defines how fast you need to click to stay alive default stopfloat= 0.0 define stoppoint=0.3 screen mbmasher...
by Per K Grok
Sun Jan 23, 2022 5:45 am
Forum: Ren'Py Questions and Announcements
Topic: Overlay effects
Replies: 1
Views: 270

Re: Overlay effects

Hi! How can I use animated overlay effects for my game? So, I need this effect to cover the whole content - text, buttons and the sprites. Ant it should be shown even over the videos. (if its possible) You can put your animation in a screen and make sure the zorder is higher than any other screen a...
by Per K Grok
Sat Jan 15, 2022 7:32 am
Forum: Ren'Py Questions and Announcements
Topic: How Do I Find Errors In My Code?
Replies: 2
Views: 344

Re: How Do I Find Errors In My Code?

Hey! So my game is just a few weeks from being released and my play testers found several tiny errors in my code (misspelled labels, missing assets etc.) My question is "is there an automated way to check for these kinds of errors that I might have missed without having to replay the entire ga...
by Per K Grok
Fri Jan 14, 2022 1:57 pm
Forum: Ren'Py Questions and Announcements
Topic: layeredimage expected statement
Replies: 2
Views: 391

Re: layeredimage expected statement

--- I do not know why, since I specifically isolated 001scriptinit.rpy and 002charspriteinit.rpy to be picked up first as a safety measure, but that's what happens. I've been advised by a family member that this may be a compiling issue? I'd still like to know what specifically caused this, though,...
by Per K Grok
Thu Jan 13, 2022 4:29 am
Forum: Ren'Py Questions and Announcements
Topic: displaying user defined class on a text
Replies: 11
Views: 555

Re: displaying user defined class on a text

Using default = Actor(Character("Hailey"), "Hailey", 0) "Your affection score is: [Hailey.affection]." gives me an error saying "Name 'Hailey' is not defined." Sorry, I miss wrote and then failed to notice that when I posted, It should be default Hailey= Acto...
by Per K Grok
Wed Jan 12, 2022 7:06 am
Forum: Ren'Py Questions and Announcements
Topic: displaying user defined class on a text
Replies: 11
Views: 555

Re: displaying user defined class on a text

------ Oh it returned the totol after I defined Hai inside init python block instead of outside of it. But reloading the the script resets the affection score back to 0. Is there a way to keep it saved but not persistent so it can stil reset when a new game's started? Try default = Actor(Character(...
by Per K Grok
Wed Jan 12, 2022 2:43 am
Forum: Ren'Py Questions and Announcements
Topic: displaying user defined class on a text
Replies: 11
Views: 555

Re: displaying user defined class on a text

Hello, I'm trying to show the output of total affection on a text with this Actor class. But it gives me an error on line 22. Anyone mind teaching me how to fix this? init python: 1 class Actor: 2 def __init__(self, character, name, affection): 3 self.c = character 4 self.name = name 5 self.affecti...
by Per K Grok
Mon Jan 10, 2022 6:45 am
Forum: Ren'Py Questions and Announcements
Topic: Skill upgrades with items?
Replies: 1
Views: 347

Re: Skill upgrades with items?

I'm planning to include an inventory system in my Ren'Py project, and a hidden object system. The question is, I want some of these objects the player finds to increase certain abilities such as strength, speed, etc. So the player can go into the inventory, pick one of the upgrade objects and it wi...
by Per K Grok
Tue Jan 04, 2022 6:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Play video loop to end before advancing
Replies: 8
Views: 467

Re: Play video loop to end before advancing

I've dabbled with screen timers but my knowledge of them isn't great. I wouldn't know how to implement timer2, where it checks and replicates the remaining value of timer1 when the player clicks. Any idea about what the code might look like for that? You could try something like this default textno...
by Per K Grok
Tue Jan 04, 2022 3:29 am
Forum: Ren'Py Questions and Announcements
Topic: Play video loop to end before advancing
Replies: 8
Views: 467

Re: Play video loop to end before advancing

Yeah, that was kinda the closest solution I came to as-well. Unfortunately, as you identified, this is just relying on the player to click through the text at a consistent speed. If they go slow, the loop will end before they finish - if they click through quickly, they'll be sitting and waiting fo...