Search found 232 matches
- Wed May 20, 2020 12:47 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Day/Night/Weather-System with im.ColorMatrix-Shaders?
- Replies: 7
- Views: 505
Re: Day/Night/Weather-System with im.ColorMatrix-Shaders?
@gas you are absolutely correct that this approach CAN be avoided by preprocessing the image to create multiple images. No question about it. And that approach almost certainly is more run-time efficient, since images just have to be loaded, not loaded and the processed. Of course, whether the chang...
- Tue May 19, 2020 12:23 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Day/Night/Weather-System with im.ColorMatrix-Shaders?
- Replies: 7
- Views: 505
Re: Day/Night/Weather-System with im.ColorMatrix-Shaders?
I used this technique to create “night” versions of images for a project I worked on. Worked fine, as you show in your example. As to performance, we didn’t notice any issues, but this was mostly done for background images, so it wasn’t like we had dozens of them on a single screen. Obviously, there...
- Sun May 17, 2020 12:50 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to fix this [Errno 0] Error?
- Replies: 1
- Views: 233
Re: How to fix this [Errno 0] Error?
Based on the reference to a parse error, it sounds like you’ve added something to your rpy files that has managed to freak Ren’py out in such a way that it’s having a hard Time reporting it. I’d suggest that you try backing out some of your recent changes until it works again - that might indicate w...
- Fri May 08, 2020 12:41 pm
- Forum: Ren'Py Questions and Announcements
- Topic: I'm doing Ren'py game translation I get error in screens.rpy file please help
- Replies: 6
- Views: 380
Re: I'm doing Ren'py game translation I get error in screens.rpy file please help
The issue is that sometimes the “decompile tools” lag behind the Ren’py language. You’re using a version of unren that predates a change in Ren’py and the decompiler is making a mistake with the newer Ren’py files. Unrpyc had the same problem until it was updated. On github, it appears that unren wa...
- Tue May 05, 2020 12:30 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Unbound method in class
- Replies: 5
- Views: 317
Re: Unbound method in class
There are multiple things wrong with your code. The “using it” part should more like $ current_pos = MAP(1,2) “I’m at [current_pos.pos()]” Although I’m not sure, off the top of my head, whether method calls work inside Ren’py interpolations. But the class definition isn’t functional either. I’d sugg...
- Fri Apr 24, 2020 1:02 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Displaying text in the middle of a movie stops transition
- Replies: 3
- Views: 258
Re: Displaying text in the middle of a movie stops transition
Obviously, when you display a line of text this way, it waits for a user interaction. However, under the hood, this uses the “say” screen. There’s no reason you couldn’t “show” the “say” screen manually, with the text you want shown, and then hide it again after a pause. It’s not the screen itself t...
- Thu Apr 23, 2020 12:30 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Choice won't go away after selecting it like it is supposed to
- Replies: 3
- Views: 247
Re: Choice won't go away after selecting it like it is supposed to
A minor issue with your code. You have
which initializes menu_set to a list, not a set. May still work, because of the fact that many set operations are also supported on lists, but technically it should be
Code: Select all
default menu_set = []
Code: Select all
default menu_set = set()
- Wed Apr 22, 2020 12:23 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Looping a movie until user stops it.
- Replies: 2
- Views: 222
Re: Looping a movie until user stops it.
Instead of using cutscene, define an image as a Movie object, and show it the way you would any other image. Movie objects loop by default.
https://www.renpy.org/doc/html/movie.ht ... ie-sprites
https://www.renpy.org/doc/html/movie.ht ... ie-sprites
- Tue Apr 21, 2020 12:09 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Problems with Android APK packaging
- Replies: 2
- Views: 266
Re: Problems with Android APK packaging
Your problem is that the build process is running out of memory. There have been a number of posts here about this.
Example: viewtopic.php?t=52191
Example: viewtopic.php?t=52191
- Mon Apr 20, 2020 12:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Defining a function that returns an animated image
- Replies: 4
- Views: 340
Re: Defining a function that returns an animated image
At present, there isn’t a programmatic interface for ATL. I’ve done something like this in the past using a Creator Defined Displayable, however. The CDD can build the image names dynamically, convert them to Displayable, and then render the correct one at the correct time using the time base passed...
- Wed Apr 15, 2020 12:24 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Android Build Error
- Replies: 2
- Views: 275
Re: Android Build Error
Did you prepare the android icons as described at
https://www.renpy.org/doc/html/android. ... ash-images
?
https://www.renpy.org/doc/html/android. ... ash-images
?
- Thu Apr 09, 2020 12:19 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Android bottom menu
- Replies: 2
- Views: 212
Re: Android bottom menu
Ah, thank you. Didn’t dawn on me that they were part of the quick menu functionality.
- Tue Apr 07, 2020 9:39 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Android bottom menu
- Replies: 2
- Views: 212
Android bottom menu
When you do an Android build, you get a menu along the bottom that lets the user get to things like the game menu, skip, etc. (Since the user can't use the ESC key to bring up things like that.) Is there a way of changing the style of those items - most particularly, to make the size of the buttons ...
- Sat Mar 14, 2020 12:30 pm
- Forum: Ren'Py Questions and Announcements
- Topic: android build fail
- Replies: 5
- Views: 343
Re: android build fail
Gradle is a program (or, perhaps, a system) that can be used to build other software. It’s used a lot in the Java community. (Android is Java-based, and the default way to build Android programs is to use Gradle and a set of related tools that were installed when you set up the Android SDK). So, to ...
- Fri Mar 13, 2020 12:45 pm
- Forum: Ren'Py Questions and Announcements
- Topic: android build fail
- Replies: 5
- Views: 343
Re: android build fail
Increase the amount of memory you are giving the build process in gradle.settings