Ok thank you for your help.hell_oh_world wrote: ↑Thu Aug 27, 2020 1:11 pm Its not possible yet through renpy displayables, I believe once the shader works are done we should be able to apply such filter and others such as sepia, etc. Maybe by 7.4 release but I'm not really updated.
https://youtu.be/449TSkjw-HY
Search found 75 matches
- Fri Aug 28, 2020 4:56 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Error While loading <'MatrixColor' <'Image' u'academy_image'> Couldn't find file 'academy_image'.
- Replies: 4
- Views: 369
Re: Error While loading <'MatrixColor' <'Image' u'academy_image'> Couldn't find file 'academy_image'.
- Thu Aug 27, 2020 9:40 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Error While loading <'MatrixColor' <'Image' u'academy_image'> Couldn't find file 'academy_image'.
- Replies: 4
- Views: 369
Re: Error While loading <'MatrixColor' <'Image' u'academy_image'> Couldn't find file 'academy_image'.
you can't use renpy displayables in image manipulators (im), only raw image (the direct file path of the image.) https://www.renpy.org/doc/html/displayables.html#image-manipulators With the few exceptions listed below, the use of image manipulators is historic. A number of image manipulators that h...
- Thu Aug 27, 2020 7:50 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Error While loading <'MatrixColor' <'Image' u'academy_image'> Couldn't find file 'academy_image'.
- Replies: 4
- Views: 369
[Solved] Error While loading <'MatrixColor' <'Image' u'academy_image'> Couldn't find file 'academy_image'.
Hi, I tried to use the the im.Grayscale() function on my images but I have this error: I'm sorry, but an uncaught exception occurred. While loading <'MatrixColor' <'Image' u'academy_image'> (0.2126, 0.7152, 0.0722, 0, 0, 0.2126, 0.7152, 0.0722, 0, 0, 0.2126, 0.7152, 0.0722, 0, 0, 0, 0, 0, 1, 0, 0, 0...
- Sun Aug 09, 2020 5:11 am
- Forum: Ren'Py Questions and Announcements
- Topic: Is there a way to let the user choose his game resolution?
- Replies: 4
- Views: 438
Re: Is there a way to let the user choose his game resolution?
Use the sensible maximum your assets work at... If you can compile a game at 1920x1280 and the size is acceptable, there is zero reason to include 1280x720 assets as well, just let Ren'Py downscale what you have. There is a minor caveat of downscaling beyond 0.5, just it should not be taken into co...
- Fri Aug 07, 2020 5:18 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Is there a way to let the user choose his game resolution?
- Replies: 4
- Views: 438
Re: Is there a way to let the user choose his game resolution?
I guess you can ask resolution at start, save width/height into persistents and then restart game, replacing gui.init(1920,1080) with gui.init(read width/height from persistents or use sane defaults here). Tho this may break game ui, some saves and generally make game unplayable. I suggest going si...
- Fri Aug 07, 2020 1:54 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Is there a way to let the user choose his game resolution?
- Replies: 4
- Views: 438
Is there a way to let the user choose his game resolution?
Hi everyone, I saw in the screen file the possibility to define the resolution of the game with gui.init(1920, 1080). => https://www.renpy.org/doc/html/gui_advanced.html#gui.init Is it possible to change the number by variables like x and y and let the user choose his resolution in the settings or a...
- Wed Jul 29, 2020 2:18 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Python function: how to add points to a character ?
- Replies: 6
- Views: 398
Re: [SOLVED] Python function: how to add points to a character ?
Oops, yeah... fly-typed it and missed that bit Note: If using getattr(self, field, amount) it will use amount as the default if the field does not exist yet. If you used just getattr(self, field) it would let you know (by erroring) if you tried to adjust_points and misspelled the fieldname... Also ...
- Tue Jul 28, 2020 10:28 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Python function: how to add points to a character ?
- Replies: 6
- Views: 398
Re: [SOLVED] Python function: how to add points to a character ?
finally, I wrote that and it works fine ! Thank you for your help def adjust_points(self, field, amount): old_amount = getattr(self, field, amount) if isinstance(amount, (list, tuple)): amount = renpy.random.randint(*amount) setattr(self, field, min(100, max(0, old_amount + amount)))
- Tue Jul 28, 2020 10:06 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Python function: how to add points to a character ?
- Replies: 6
- Views: 398
Re: Python function: how to add points to a character ?
def adjust_points(self, field, amount): if isinstance(amount, (list, tuple)): amount = renpy.random.randint(*amount) setattr(self, field, min(100, max(0, amount))) Untested... Main points, we pass in the field name and use setattr to set that field. We coerce to the 0 to 100 range using min(max()) ...
- Tue Jul 28, 2020 5:11 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Python function: how to add points to a character ?
- Replies: 6
- Views: 398
[SOLVED] Python function: how to add points to a character ?
Hi, I created a class for my player with different skills and I wrote a function to increase his skills. But I have a lot of different skills and the only one solution I found is to copy/past the same function for each skill and change the name. I search how to write a single function working with a...
- Wed Jul 22, 2020 4:17 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Solved] Why my game doesn't work when I save/load it ?
- Replies: 11
- Views: 1056
Re: Why my game doesn't work when I save/load it ?
Hi,
Finally I discovered why it doesn't save ! I created a default building_list = [] and a default place_list = [] I declared just before the start label. I replace all the Building.building and Places.places by building_list and place_list and it's work perfectly !
Finally I discovered why it doesn't save ! I created a default building_list = [] and a default place_list = [] I declared just before the start label. I replace all the Building.building and Places.places by building_list and place_list and it's work perfectly !
- Mon Jul 13, 2020 12:41 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Display inventory screen - modal overrided by screen "say" when interacted with
- Replies: 8
- Views: 646
Re: [SOLVED] Display inventory screen - modal overrided by screen "say" when interacted with
Thank you for your answer.
Yes I know the both tutorial, but I'm better at art than code XD
I will try
P.s. ça fait quand même bizarre de communiquer en anglais entre français XD. En tout cas ton inventaire est vraiment super !
Yes I know the both tutorial, but I'm better at art than code XD
I will try
P.s. ça fait quand même bizarre de communiquer en anglais entre français XD. En tout cas ton inventaire est vraiment super !
- Sat Jul 11, 2020 6:28 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Display inventory screen - modal overrided by screen "say" when interacted with
- Replies: 8
- Views: 646
Re: [SOLVED] Display inventory screen - modal overrided by screen "say" when interacted with
Hi
I have a question: do you have written all the code by yourself or you found it somewhere ? I would like to make an inventory too.
P.s. ça fait plaisir de voir un peu de français sur le forum
I have a question: do you have written all the code by yourself or you found it somewhere ? I would like to make an inventory too.
P.s. ça fait plaisir de voir un peu de français sur le forum
- Sat Jul 11, 2020 3:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: ANDROID BUG: Black screen or frozen after resuming from sleep or switching apps
- Replies: 12
- Views: 579
Re: ANDROID BUG: Black screen or frozen after resuming from sleep or switching apps
I received an answer from Pytom: the bug should be resolve in the next release 7.4 (cross the fingers)
- Thu Jul 09, 2020 2:16 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Save/load does not load the proper data
- Replies: 6
- Views: 635
Re: Save/load does not load the proper data
Hi
Could you show more code please?
Could you show more code please?