Search found 1022 matches
- Mon May 27, 2024 2:19 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Python statement equivalent for the default statement
- Replies: 2
- Views: 145
Re: Python statement equivalent for the default statement
So, I'm storing most of my game variables in singleton objects. This is a problem as changes in the fields of those objects aren't saved by Ren'Py. Uhm, I'm really interested, why exactly are you doing this? Using singletons I mean. I have a project with a class that only uses a single instance of ...
- Mon May 27, 2024 2:07 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Namebox transform at leave and enter?
- Replies: 1
- Views: 109
Re: Namebox transform at leave and enter?
Forgive me if this is a simple trick I'm failing to pull off. I haven't touched Ren'Py in over half a decade, and even back then I was a newbie, so stuff like this is still a little new to me. This is actually not a simple trick. The problem here in general is that the "say" screen hides ...
- Mon May 27, 2024 1:24 pm
- Forum: Ren'Py Questions and Announcements
- Topic: layered image's group can't be called
- Replies: 2
- Views: 3523
Re: layered image's group can't be called
Hello! I need some help with this layered image, whenever I call this layered image it only shows the default assets, calling the other group face layers never works So how do you show the image in the first place including the attributes you wanna show? So this doesn't work? show svero1 blush1 tea...
- Mon May 27, 2024 1:12 pm
- Forum: Ren'Py Questions and Announcements
- Topic: help with skip cutscene feature
- Replies: 3
- Views: 114
Re: help with skip cutscene feature
Hello fellas! I need help making a skip function for this video, maybe when the player clicks on the video a pop up windows shows up asking them if they want to skip it? or maybe there's a 'skip cutscene' text button in the top right corner of the screen? whatever is easier IMO So, I'm just using y...
- Mon May 27, 2024 1:01 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How can I make hover textbutton stay hovered until another textbutton is hovered over?
- Replies: 6
- Views: 188
Re: How can I make hover textbutton stay hovered until another textbutton is hovered over?
Thanks this seems to work great, is there a way i could make one of the buttons already "active" with the background without having to hover over it, but still hide, when hovered over a different button? Yeah, just set the screen variable to this button's "id" so to speak when i...
- Mon May 27, 2024 5:42 am
- Forum: Ren'Py Questions and Announcements
- Topic: How can I make hover textbutton stay hovered until another textbutton is hovered over?
- Replies: 6
- Views: 188
Re: How can I make hover textbutton stay hovered until another textbutton is hovered over?
I managed to get the background on the textbutton using "style", any ideas how to achieve above mentioned effect? I mean I would just use a screen variable that remembers which button is currently prominent. screen myscreen(): default active = None vbox: textbutton "Play": actio...
- Sat May 25, 2024 1:34 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Rolling back array
- Replies: 4
- Views: 153
Re: Rolling back array
How is the "array" (you probably mean a "list" of lists or some kind of dictionary?) initialized in your project and how do you change variables as part of the menu navigation? Can you give me some example code?
- Sat May 25, 2024 4:49 am
- Forum: Ren'Py Questions and Announcements
- Topic: Creating a slidein transition
- Replies: 1
- Views: 168
Re: Creating a slidein transition
Hello! I'm looking to make a transition for character portraits. A "transition" is something that happens between two states of a scene, so for example if you change the background from one thing to another and you use the keyword "with". This can be a blend effect of some sort ...
- Sat May 25, 2024 4:32 am
- Forum: Ren'Py Questions and Announcements
- Topic: Money and inventory
- Replies: 4
- Views: 865
Re: Money and inventory
This basic implementation should get you started. As you develop your game further, you can expand upon this framework to add more complexity and depth to your item system. Good luck with your game development! Are you a stupid AI response? Please stop pulluting this forum and open threads from yea...
- Fri May 24, 2024 6:36 am
- Forum: Ren'Py Questions and Announcements
- Topic: What's the most efficient way to store variables?
- Replies: 19
- Views: 568
Re: What's the most efficient way to store variables?
If I do this and later I ask if tea or coffee, then "likes_coffee" would be added to the list, right? It wouldn't replace "like_apples", did I get it right? It's just an endless list of strings you add and that you then can check for when you need to. Nothing gets replaced. What...
- Thu May 23, 2024 8:27 am
- Forum: Ren'Py Questions and Announcements
- Topic: What's the most efficient way to store variables?
- Replies: 19
- Views: 568
Re: What's the most efficient way to store variables?
Eventually the game has 100 Yes/No questions, each of them stored individualy, so I'd end with 100 variables, which I guess it isn't smart or efficient, and the worst part is, I'm not even sure if one day I'll need the game to remember those answers. I may want to change the dialogues/events based ...
- Tue May 21, 2024 5:27 am
- Forum: Ren'Py Questions and Announcements
- Topic: Changing fixed list of lists to dynamically generated
- Replies: 3
- Views: 250
Re: Changing fixed list of lists to dynamically generated
The current function just returns the list of cars as a static list to reset the game. Why do you return a global variable? It is already out there, no need to return it. I would like to generate a list dynamically. In my thoughts this seems to be very complex. Cars (and their paths) must be preven...
- Tue May 21, 2024 5:09 am
- Forum: Ren'Py Questions and Announcements
- Topic: Disable and enable Saves [SOLVED]
- Replies: 4
- Views: 259
Re: Disable and enable Saves
There is a variable for this purpose:neometalero wrote: ↑Mon May 20, 2024 11:39 am I need a way to disable and enable the save screen on the game. There is any way I could do this?
Code: Select all
# disable access to the game menu:
$ _game_menu_screen = None
# reset access to the game menu:
$ _game_menu_screen = "save"
- Sat May 18, 2024 2:20 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Using multiple properties with the 'show' statement?
- Replies: 2
- Views: 193
Re: Using multiple properties with the 'show' statement?
I would like to add an animation with the 'at' statement, is there a way to do this? Or is there another way to do this? Hmm? Using an "at" statement IS what you have to do to apply a transform / animation. So what's the actual question? Maybe by "animation" you mean something d...
- Sat May 18, 2024 2:15 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Ren'Py 8.3.0 and audio filters
- Replies: 3
- Views: 283
Re: Ren'Py 8.3.0 and audio filters
I've found some wonderful function in Ren'Py: audio filters! It's exactly what I need for my new project. However... It seems that the function is only included in Ren'Py 8.3.0 – and that's officially not released, as far as I can see. The documentation is already there: https://nightly.renpy.org/d...