Search found 127 matches
- Fri Mar 01, 2024 8:11 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Coloring buttons in styles
- Replies: 2
- Views: 190
[SOLVED] Coloring buttons in styles
Hi all, So I'm used to the "old way" of coloring a black button to something else, it used to look something like this: style my_button: idle_background Frame(im.MatrixColor("gui/button/button.webp", im.matrix.colorize(c_lightorange, c_white)), tile=False) hover_background Frame(...
- Fri Mar 01, 2024 7:57 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Fading edges of a portrait
- Replies: 2
- Views: 196
Re: Fading edges of a portrait
Thank you very much, AlphaMask() did the trick!
Looks something like this in the code for the say() screen:
Marking the topic as resolved. Thank you !
Looks something like this in the code for the say() screen:
Code: Select all
add AlphaMask(SideImage(), Frame("GUI/edge_mask.png")) xalign 0.0 yalign 1.0
- Fri Mar 01, 2024 12:59 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Fading edges of a portrait
- Replies: 2
- Views: 196
[SOLVED] Fading edges of a portrait
Hi, is there an easy way to fade the edges of an image in screen language?
Looking to achieve something like this:
https://www.lunapic.com/editor/premade/edge-fade.gif
Thanks!
Looking to achieve something like this:
https://www.lunapic.com/editor/premade/edge-fade.gif
Thanks!
- Fri Mar 01, 2024 12:16 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Crash on reload on versions prior to 8.2
- Replies: 14
- Views: 842
Re: Crash on reload on versions prior to 8.2
Yup, the game generates no traceback and no errors files. When I say it's a silent crash, I mean it's really really silent . The same happens with a command prompt. The only error that I can trace is in Windows event viewer, the one mentioned in the original thread: Faulting application name: python...
- Fri Mar 01, 2024 6:13 am
- Forum: Ren'Py Questions and Announcements
- Topic: Crash on reload on versions prior to 8.2
- Replies: 14
- Views: 842
Crash on reload on versions prior to 8.2
Hi all, so for a long while now I have been stuck with a nasty bug which causes a completely silent crash on auto-reload. The game actually reloads, but then it's just a rotating blue circle cursor followed by CTD. I have tried a lot of things and at this stage the bug is painfully easy to reproduce...
- Thu Jan 18, 2024 8:47 am
- Forum: Ren'Py Questions and Announcements
- Topic: Silent crash on auto-reload
- Replies: 4
- Views: 1055
Re: Silent crash on auto-reload
Yes, it was a typo (edited); it doesn't look like that in actual code. I use define without problems with persistent values for some reason; regardless, it is not the problem here as deleting my project's persistent data and starting only 'The Question' then reloading is enough to reproduce the bug,...
- Thu Jan 18, 2024 6:25 am
- Forum: Ren'Py Questions and Announcements
- Topic: Silent crash on auto-reload
- Replies: 4
- Views: 1055
Re: Silent crash on auto-reload
Sorry to necro this thread, but I once again have this problem. It started with this issue , then was temporarily fixed (for half a dozen reloads or so), then again. It's similar/identical to issue that have propped elsewhere: https://github.com/renpy/renpy/issues/4754 Symptoms : - Loading a saved g...
- Fri Jan 12, 2024 11:05 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] "maximum recursion depth" error when reloading game
- Replies: 6
- Views: 24932
Re: "maximum recursion depth" error when reloading game
Pickling/unpickling accesses object fields. Unpickling does not run an __init__ method, instead setting all attributes manually. In your case you will have an object, without a parent field. When pickle accesses something (maybe even a parent to set it to the proper value!) it triggers __getattr__,...
- Fri Jan 12, 2024 5:46 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] "maximum recursion depth" error when reloading game
- Replies: 6
- Views: 24932
Re: "maximum recursion depth" error when reloading game
Yes I tried different ways of getting to the attributes including using __get_attribute__() or getting to the parent using self.__dict__["parent"], as well as some other common solutions which were recommended on Python forums, but no dice. I'm guessing this is not just a Python problem bu...
- Thu Jan 11, 2024 1:25 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] "maximum recursion depth" error when reloading game
- Replies: 6
- Views: 24932
[SOLVED] "maximum recursion depth" error when reloading game
Hi, so I use a couple of classes to track items in my game (of which there are many): Item() is a template object, there is only one such object for each item type ItemInstance() is a specific instance of a template object, there can be many such items in character and shop inventories, etc. Most of...
- Fri Sep 22, 2023 11:45 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Closed] Graphic glitches since updating to 8.1
- Replies: 8
- Views: 811
Re: Graphic glitches since updating to 8.1
Unfortunately, I don't have other complex games available to compare. For the record, here is the full code for the ProportionalScale class I am using. If anyone knows a fix, I would welcome it. class ProportionalScale(im.ImageBase): '''Resizes a renpy image to fit into the specified width and heigh...
- Tue Sep 19, 2023 4:01 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [Closed] Graphic glitches since updating to 8.1
- Replies: 8
- Views: 811
Re: Graphic glitches since updating to 8.1
Just to report that I have the same glitches with 8.1.2.
I guess I understand ProportionalScale() might be out of order, but unless I'm mistaken that doesn't explain the behavior of plain textbuttons turning black (which do not use the ProportionalScale class).
I guess I understand ProportionalScale() might be out of order, but unless I'm mistaken that doesn't explain the behavior of plain textbuttons turning black (which do not use the ProportionalScale class).
- Fri Sep 15, 2023 5:11 am
- Forum: Ren'Py Questions and Announcements
- Topic: [ANSWERED] Changes to how shortcuts work in 8.1.2
- Replies: 4
- Views: 476
Re: Changes to how shortcuts work in 8.1.2
All the shortcuts in my game stopped working, which is how I found out about it. It's strange that it works in a new game?
- Thu Sep 14, 2023 11:27 am
- Forum: Ren'Py Questions and Announcements
- Topic: [ANSWERED] Changes to how shortcuts work in 8.1.2
- Replies: 4
- Views: 476
[ANSWERED] Changes to how shortcuts work in 8.1.2
Hi! For the longest time, shortcuts like this worked in Ren'Py: key "n" action (Function(cycle_pic)) # Press the 'n' key key "N" action (Function(cycle_pic, reverse=True)) # Press 'Shift+n' As of 8.1.2, this is no longer the case. Instead you have to write it like this (as far as...
- Thu Sep 14, 2023 11:06 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Closed] Graphic glitches since updating to 8.1
- Replies: 8
- Views: 811
Re: Graphic glitches since updating to 8.1
Thank you. For the record, I have updated to 8.1.2 and will report if the glitches are still there.