Search found 494 matches
- Mon Jun 03, 2024 2:04 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to rollback day parts (or functions)?
- Replies: 2
- Views: 75
Re: How to rollback day parts (or functions)?
I would like to be able to rollback to before advancing the day, how could I do it? Here is the code: init python: gt_MonthList = ["Spring", "Summer", "Autumn", "Winter"] gt_MonthID = 0 gt_WeekList = ["Sunday", "Monday", "Tuesday"...
- Mon Jun 03, 2024 1:50 am
- Forum: Ren'Py Questions and Announcements
- Topic: Main menu bug?
- Replies: 2
- Views: 69
Re: Main menu bug?
Yes, some time ago a bug with split picture was discussed. Something related to video engine I think. I don't quite recall. Do you use the latest Ren'Py version? Latest video driver? If you update them and the problem remains, perhaps post what hardware / software you are using?
- Sun Jun 02, 2024 9:34 pm
- Forum: Ren'Py Questions and Announcements
- Topic: character with selectable image set and custom attributes
- Replies: 2
- Views: 91
Re: character with selectable image set and custom attributes
User selects a character type (e.g., thief, wizard, warrior) which then determines the image set to use for that character that are used for, e.g., say Character objects support sophisticated attributes (e.g., explicit attributes of 'firstname' and 'lastname' so asking for 'fullname' returns firstn...
- Sun Jun 02, 2024 5:09 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to show texts in a screen
- Replies: 4
- Views: 137
Re: How to show texts in a screen
The problem is that the screen that I want to keep on is a map type of screen and has "modal True" so only the buttons on that screen and the phone work but it won't advance the label/text messages. Do you know how to get around that? You can remove "modal True", if you want to ...
- Sun Jun 02, 2024 3:39 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to show texts in a screen
- Replies: 4
- Views: 137
Re: How to show texts in a screen
I'm using this texting system, It works but there are two issues I have in my implementation. The first and main one is that the way you see messaging/texting events is by jumping to a label. That can be an issue because that closes all prior screens before it and I want the option to be able to go...
- Sun Jun 02, 2024 3:45 am
- Forum: Ren'Py Questions and Announcements
- Topic: Help with Gachapon Mechanic
- Replies: 3
- Views: 129
Re: Help with Gachapon Mechanic
So, the main issue is that I can't get the function to actually call a random item from the arcade pool, which means I'm not able to refer to any name or image for the player either. $ prize = arcadepool.eggPull() "You got a [prize]!" However, this didn't work either. The 'prize' variable...
- Sat Jun 01, 2024 9:06 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Help with Gachapon Mechanic
- Replies: 3
- Views: 129
Re: Help with Gachapon Mechanic
It's easier to - remove "self.no_of_items" and "no_of_items". Use len(self.items) . - remove ", item" from eggPull(self, item) . - Better pass usedToken as an argument, and regardless it doesn't need to be declared global unless you assign it some value in that function...
- Sat Jun 01, 2024 5:32 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Changing screenshots filename
- Replies: 8
- Views: 267
Re: Changing screenshots filename
3) Make an invisible overlay screen with a key for taking screenshots bound to your screenshot taking function. I just re-read this, what do you mean by an invisible overlay screen? If I'm not wrong, I get that the S key will call the screenshot screen that will call my_shot and end with a screensh...
- Sat Jun 01, 2024 1:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Two scenes in one zoom
- Replies: 6
- Views: 211
Re: Two scenes in one zoom
I have tried it and so far it works but it does not switch to the second picture. Are you sure you need 30 seconds for every picture? It's a lot of time. Could that be an error? If you expect it to switch in 3 sec, then of course it wouldn't because it would wait for 30 sec. And somehow the picture...
- Sat Jun 01, 2024 10:20 am
- Forum: Ren'Py Questions and Announcements
- Topic: Two scenes in one zoom
- Replies: 6
- Views: 211
Re: Two scenes in one zoom
Hello. First of all, I am still a beginner when it comes to Renpy and my English skills are not particularly good. But I'll try my best. Now to my question: I would like to put two scenes in one zoom. This is what my code with the zoom looks like at the moment: scene whatever with fade: parallel: l...
- Sat Jun 01, 2024 10:11 am
- Forum: Ren'Py Questions and Announcements
- Topic: NameError despite the name being defined
- Replies: 8
- Views: 158
Re: NameError despite the name being defined
File "game/script.rpy", line 58: end of line expected. $ lineart = 1 [/code] The file names refer to different versions of parts for the dress-up model, which is constructed into a layeredimage! Ah, layeredimage, okay. I thought those lines were from Ren'Py script. Then disregard what I s...
- Sat Jun 01, 2024 10:05 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED]Changing screenshots filename
- Replies: 8
- Views: 267
Re: Changing screenshots filename
1) Don't use default screenshot function, remove it from keymap 2) Create a function which will use current time to generate a filename and call renpy.screenshot with this filename 3) Make an invisible overlay screen with a key for taking screenshots bound to your screenshot taking function. Any gu...
- Sat Jun 01, 2024 9:38 am
- Forum: Ren'Py Questions and Announcements
- Topic: NameError despite the name being defined
- Replies: 8
- Views: 158
Re: NameError despite the name being defined
To assign 1 to lineart, use single "=" lineart = 1 "==" is an operation of checking for equivalence, not assignment. Also lines like "lineart = 1" are not recognized as Ren'Py code. That's why there's that error: it's not a Ren'Py statement. Indicate that it's a Python ...
- Fri May 31, 2024 6:30 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] NameError for a Label Argument Outside of the Label
- Replies: 8
- Views: 267
Re: NameError for a Label Argument Outside of the Label
I certainly need to get acquainted with screens. for a while my eyes simply glossed over "screen" in code examples because it looks so similar to "scene" but it looks like an important feature. I'm gonna study the Screens and Screen Language page, thanks for reminding me on that...
- Fri May 31, 2024 6:14 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Animating text box and name box in say screen
- Replies: 4
- Views: 265
Re: [SOLVED] Animating text box and name box in say screen
Yeah, and many thanks to m_from_space for that really smart trick.