Search found 127 matches

by goldo
Tue Sep 05, 2023 5:23 am
Forum: Ren'Py Questions and Announcements
Topic: [Closed] Graphic glitches since updating to 8.1
Replies: 8
Views: 800

[Closed] Graphic glitches since updating to 8.1

Sorry for the double post, I think I put this question in the wrong part of the forum. Anyway, trying my luck in the 'Questions' thread. I have updated Ren'py to 8.1.1 (from 8.0.1 previously) and I have run into graphical glitches that didn't use to happen before in my game, not changing any of the ...
by goldo
Wed Aug 02, 2023 4:47 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Does renpy.copy_images() save memory?
Replies: 2
Views: 194

Re: Does renpy.copy_images() save memory?

Thank you! Marking as solved.
by goldo
Tue Jul 25, 2023 8:57 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Does renpy.copy_images() save memory?
Replies: 2
Views: 194

[SOLVED] Does renpy.copy_images() save memory?

I have a question about renpy.copy_images() . Is it actually more efficient memory-wise to do this: renpy.image("my_image", "image.jpg") renpy.copy_images("my_image", "my_image2") rather than this: renpy.image("my_image", "image.jpg") renpy...
by goldo
Thu Jul 13, 2023 11:56 am
Forum: Development of Ren'Py
Topic: Graphic glitches since updating to 8.1.1
Replies: 0
Views: 5051

Graphic glitches since updating to 8.1.1

Hi guys, I have just updated Ren'py to 8.1.1 (from 8.0.1 previously) and I have run into graphical glitches that didn't use to happen before, not changing any of the code. First , when first opening the game, sometimes all buttons on the first screen shown have a black mark where the text should be....
by goldo
Fri Jun 23, 2023 6:56 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Glitch when rotating a screen
Replies: 2
Views: 152

Re: Glitch when rotating a screen

Thank you very much! :D Disabling gl_depth then hiding the card's back did the trick. Here is the new code: # The script of the game goes in this file. init python: card_size = 200 image card_back = Solid("#F00", xsize=card_size, ysize=int(card_size*1.6)) image card_front = Solid("#A...
by goldo
Fri Jun 23, 2023 8:56 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Glitch when rotating a screen
Replies: 2
Views: 152

[SOLVED] Glitch when rotating a screen

Hi guys, So I have this simple framework which lets you flip a card with text on it. The problem is, during the RotateMatrix matrixtransform, the text flickers, which is ugly. It does the same with an image. Any way to fix that? I think we can all agree a card with nothing on it would be boring... H...
by goldo
Mon Jun 19, 2023 3:54 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Clicking to hide/unhide "say" window within a screen
Replies: 5
Views: 254

Re: Clicking to hide/unhide "say" window within a screen

Thanks. I wish there was a little documentation on these functions...
by goldo
Sun Jun 18, 2023 6:48 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Show expression overwrites previous images
Replies: 2
Views: 208

Re: Show expression overwrites previous images

Thank you very much, that solves my problem! I wish show expression worked here because it would be more readable, but hey, whatever works. :)
by goldo
Sun Jun 18, 2023 6:46 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Clicking to hide/unhide "say" window within a screen
Replies: 5
Views: 254

Re: Clicking to hide/unhide "say" window within a screen

Thanks! But how comes it works in the console?
by goldo
Sat Jun 17, 2023 6:24 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Show expression overwrites previous images
Replies: 2
Views: 208

[SOLVED] Show expression overwrites previous images

Hi guys, I have a question about using 'show expression'. I was assuming that Ren'py would not replace the image shown previously with 'show expression' unless it was pointing to the same image. But apparently, it does. See this code snippet: label start: $ pet_list = ["pet1", "pet2&q...
by goldo
Fri Jun 16, 2023 5:56 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Clicking to hide/unhide "say" window within a screen
Replies: 5
Views: 254

Re: Clicking to hide/unhide "say" window within a screen

So I have solved this issue using a completely different route (layers), and it's a lot easier in hindsight. screen show_img(): layer "master" add Solid("#c00") size(400, 400) label start: show screen show_img() "Native renpy behavior now leaves the background screen alone. ...
by goldo
Fri Jun 16, 2023 5:13 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Clicking to hide/unhide "say" window within a screen
Replies: 5
Views: 254

[SOLVED] Clicking to hide/unhide "say" window within a screen

Hi guys, So I have a problem I just can't figure out. The behavior I'm looking for is similar to the native 'middle-click' button: I want a click to hide the 'say' window (but keep showing a background image that is displayed in a screen), and another click to bring it back. I have tried this first:...
by goldo
Fri Mar 24, 2023 4:45 am
Forum: Ren'Py Questions and Announcements
Topic: Hover and Dissolve incompatibility
Replies: 5
Views: 396

Re: Hover and Dissolve incompatibility

Here is how I do it on a button (doesn't require a custom transform): button action NullAction(): hovered Show("img_tooltip", transition=Dissolve(0.15)) unhovered Hide("img_tooltip", transition=Dissolve(0.15)) Assuming your image is in a separate screen, which might not be the ca...
by goldo
Mon Mar 20, 2023 10:22 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Using 'show ... as' with an expression to show a number of cards then flip them
Replies: 11
Views: 560

Re: Using 'show ... as' with an expression to show a number of cards then flip them

Here is a nice flipping effect using 3D stage I came up with: image cardfront: Solid("#c00") size(100, 150) image cardback: perspective True Solid("#ccc") size(100, 150) A quick question, if I may: why do you set perspective to 'True' only for the card's back? (I see that it doe...
by goldo
Mon Mar 20, 2023 10:04 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Using 'show ... as' with an expression to show a number of cards then flip them
Replies: 11
Views: 560

Re: Using 'show ... as' with an expression to show a number of cards then flip them

Here is a nice flipping effect using 3D stage I came up with: [...] Great, I managed to make it work using your sample code! Here is what I added to your snippet to make it work in a screen as I intended: screen cards(nb=5): hbox spacing 20 align (0.5, 0.5): for i in range(nb): add "redcard&qu...