Search found 233 matches
- Wed Feb 08, 2023 1:47 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Transforms without starting points
- Replies: 10
- Views: 1593
Re: Transforms without starting points
I’m well aware that you can write transforms using functions, as I stated in the original post. That’s what I want to do. My point is that, to do that, the function has to be able to lerp the values from their starting position to their final position. So, how do I find the starting positions? The f...
- Tue Jan 04, 2022 1:36 pm
- Forum: Ren'Py Questions and Announcements
- Topic: "Patching" a released Ren'Py game [Resolved]
- Replies: 7
- Views: 656
Re: "Patching" a released Ren'Py game
A lot depends on how the game is packaged. I usually package my rpy files into a “scripts.rpa”, images into “images.rpa,” etc. This means that providing updated scripts can be done by distributing a new scripts.rpa, which is usually much smaller than the images, for example. If everything is package...
- Mon Jul 27, 2020 6:04 pm
- Forum: Development of Ren'Py
- Topic: Having RTL enabled causes {w} tag to crash game
- Replies: 3
- Views: 6088
Re: Having RTL enabled causes {w} tag to crash game
I would suggest that you file a bug report over on GitHub describing this - I'm betting PyTom will get it fixed reasonably quickly, and/or perhaps give you a workaround.
- Thu Jul 16, 2020 12:30 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Possible to name screen with variable?
- Replies: 6
- Views: 439
Re: Possible to name screen with variable?
AFAIK, no. But you can have a single screen alter its contents based on the value of variables...
- Thu Jul 02, 2020 12:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Menu buttons have individual styles
- Replies: 3
- Views: 446
Re: Menu buttons have individual styles
It’s also possible to include arguments to menu items. https://www.renpy.org/doc/html/menus.html#menu-arguments https://www.renpy.org/doc/html/screen_special.html#choice In theory, you could modify the choice screen so that it looked for an argument and changed the style of the individual choice acc...
- Thu Jul 02, 2020 12:25 pm
- Forum: Development of Ren'Py
- Topic: Language 'None' dialogue translation
- Replies: 3
- Views: 6228
Re: Language 'None' dialogue translation
I can’t speak to the “None” issue, but you could probably have done what you wanted by adding an “English” translation that modified the critical lines and have your patch set that as the default. Might have required tweaking the language selection code, of course.
- Wed Jul 01, 2020 10:06 am
- Forum: Ren'Py Questions and Announcements
- Topic: Smoother movement transition for custom displayable / UDD
- Replies: 3
- Views: 671
Re: Smoother movement transition for custom displayable / UDD
The renpy.timeout() function is documented at on the page describing UDD's: https://www.renpy.org/doc/html/udd.html (Down at the bottom.) Doing the "where is it now" calculations inside redraw "feels correct" to me - basically, since redrawing can happen at any time, asynchronous...
- Wed Jun 24, 2020 12:25 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Smoother movement transition for custom displayable / UDD
- Replies: 3
- Views: 671
Re: Smoother movement transition for custom displayable / UDD
Well, first I’m not sure why you’re creating the Transform, since all you use from it is it’s position, which you pass into it. Probably not a big deal, bun unnecessary processing. Second, and more important, your “event” and “render” methods are going to get called at irregular intervals, but you’r...
- Fri Jun 12, 2020 12:18 pm
- Forum: Ren'Py Questions and Announcements
- Topic: changing appearance of a choice menu
- Replies: 1
- Views: 267
Re: changing appearance of a choice menu
The choice screen and the styles its components use are located inside the screens.rpy file. You can go in there and edit the screen definition and the styles to your heart’s content. This does require some understanding of screen language and style language, both of which are documented on the Ren’...
- Thu Jun 11, 2020 12:49 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Is there any anti-cheat code
- Replies: 24
- Views: 2361
Re: Is there any anti-cheat code
Essentially, you can make this harder for the casual player by being tricky about how you store your data, having multiple copies, using checksums and the like, but, at the end of the day, you can’t completely prevent it. People can recover your Ren’py code with decompilers that are out there, analy...
- Thu Jun 11, 2020 12:41 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Variable in Speech not Working | Inventory
- Replies: 4
- Views: 569
Re: Variable in Speech not Working | Inventory
If you use a “dollar line” to set a variable that doesn’t have a “default” statement, it WILL put it in the store, but only if that line is executed during game play. Basically, you can think of that as meaning “if it’s inside a label.“ And it doesn’t get set unless the player actually traverses tha...
- Wed Jun 10, 2020 12:12 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Weird inconsistent error when displaying information with square brackets
- Replies: 12
- Views: 646
Re: Weird inconsistent error when displaying information with square brackets
Your best bet is to put together the absolutely minimum script/game you can that demonstrates the problem and give it to PyTom With that, he should be able to debug it. But having a (non) working sample takes lots of guesswork out of that process for him.
- Tue Jun 09, 2020 12:21 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Image Gallery: Disable Click to Advance
- Replies: 4
- Views: 451
Re: Image Gallery: Disable Click to Advance
Well, it’s possible you could take code for the built-in gallery screen and modify it to your needs. (Should be in screens.rpy) You can suppress default key function by adding a “key” statement to a screen.
- Mon Jun 08, 2020 12:35 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Multiple password system.
- Replies: 3
- Views: 436
Re: Multiple password system.
Also, note that the use of parentheses creates a Python “tuple,” which is probably not what you want. You probably want a list (square brackets) or a set (curly braces).
- Mon Jun 08, 2020 12:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Image Gallery: Disable Click to Advance
- Replies: 4
- Views: 451
Re: Image Gallery: Disable Click to Advance
This behavior is be design, so you’re probably going to have to create your own code.
How were you planning on having the player advance to the next image, or leave the gallery?
How were you planning on having the player advance to the next image, or leave the gallery?