Broken images after switching the screen mode

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
YedaGa
Newbie
Posts: 9
Joined: Sat Dec 28, 2019 8:51 am
Contact:

Broken images after switching the screen mode

#1 Post by YedaGa » Sat Dec 28, 2019 9:01 am

I have a weird problem with my RenPy game, and I'm not even sure what causes it. When you launch the game normally it just works as intended, whether in fullscreen or windowed mode, but if you try to change fullscreen to windowed or another way around, some of the images disappear and other end up in weird places. What am I supposed to do with it?
Attachments
screenshot0004.png
Save menu after switching the screen mode
screenshot0003.png
Normal save menu
screenshot0002.png
Settings menu after switching the screen mode
screenshot0001.png
Normal settings menu

User avatar
Per K Grok
Miko-Class Veteran
Posts: 882
Joined: Fri May 18, 2018 1:02 am
Completed: the Ghost Pilot, Sea of Lost Ships, Bubbles and the Pterodactyls, Defenders of Adacan Part 1-3, the Phantom Flyer
itch: per-k-grok
Location: Sverige
Contact:

Re: Broken images after switching the screen mode

#2 Post by Per K Grok » Sat Dec 28, 2019 5:45 pm

YedaGa wrote:
Sat Dec 28, 2019 9:01 am
I have a weird problem with my RenPy game, and I'm not even sure what causes it. When you launch the game normally it just works as intended, whether in fullscreen or windowed mode, but if you try to change fullscreen to windowed or another way around, some of the images disappear and other end up in weird places. What am I supposed to do with it?
That was a strange problem. I have no idea what could cause that.

If you provide a bit more information maybe it would be easier for someone to spot what could be the problem.

Ren'py version number can be a useful information sometimes.

You are showing two game menu pages. Is that where the problem shows up? Or could it be in the game itself too?

The game menus look like they are standard set up. It looks like you have not done anything with the code for those pages. Is that correct?

Have you added any code to style the game or change standard functions?

That was some stuff I could think of that might help to identify the problem.

YedaGa
Newbie
Posts: 9
Joined: Sat Dec 28, 2019 8:51 am
Contact:

Re: Broken images after switching the screen mode

#3 Post by YedaGa » Sat Dec 28, 2019 7:02 pm

Thank you, Per K Grok. I'm new to RenPy and this thing puzzles me beyond belief.
Per K Grok wrote:
Sat Dec 28, 2019 5:45 pm
Ren'py version number can be a useful information sometimes.
It's 7.3.3.
Per K Grok wrote:
Sat Dec 28, 2019 5:45 pm
You are showing two game menu pages. Is that where the problem shows up? Or could it be in the game itself too?
Unfortunately, it does appear in-game as well, but in a weird way: some of the images are missing and the others are just fine. The dialogue panels also stop being transparent after the switch and become black.
Per K Grok wrote:
Sat Dec 28, 2019 5:45 pm
The game menus look like they are standard set up. It looks like you have not done anything with the code for those pages. Is that correct?
Yes, the only thing I've changed is font. Other than that, everything is in default settings.
Per K Grok wrote:
Sat Dec 28, 2019 5:45 pm
Have you added any code to style the game or change standard functions?
No, I didn't.

User avatar
Per K Grok
Miko-Class Veteran
Posts: 882
Joined: Fri May 18, 2018 1:02 am
Completed: the Ghost Pilot, Sea of Lost Ships, Bubbles and the Pterodactyls, Defenders of Adacan Part 1-3, the Phantom Flyer
itch: per-k-grok
Location: Sverige
Contact:

Re: Broken images after switching the screen mode

#4 Post by Per K Grok » Sun Dec 29, 2019 4:45 am

YedaGa wrote:
Sat Dec 28, 2019 7:02 pm
Per K Grok wrote:
Sat Dec 28, 2019 5:45 pm
You are showing two game menu pages. Is that where the problem shows up? Or could it be in the game itself too?
The dialogue panels also stop being transparent after the switch and become black.
The default textbox background is depending on color choice when setting up the project either black, going towards transparency in either end of the box or white with the same kind of transparency. The background comes from an image in the gui folder named textbox.png.

So did you some styling to get a transparent background? When you get the black background does it have the going to transparency at the sides of the box?

It seems unlikely this has anything to do with your problem, but it is the only thing I can see in your answers that gives anything to examine.

On a different note. One thing you could test is to reinstall ren'py.

YedaGa
Newbie
Posts: 9
Joined: Sat Dec 28, 2019 8:51 am
Contact:

Re: Broken images after switching the screen mode

#5 Post by YedaGa » Sun Dec 29, 2019 4:10 pm

The problem solved by updating RenPy to a newer version. It would've been nice to know what caused the issue in the first place, but I'll take what I could. Thank you for your time.

User avatar
Per K Grok
Miko-Class Veteran
Posts: 882
Joined: Fri May 18, 2018 1:02 am
Completed: the Ghost Pilot, Sea of Lost Ships, Bubbles and the Pterodactyls, Defenders of Adacan Part 1-3, the Phantom Flyer
itch: per-k-grok
Location: Sverige
Contact:

Re: Broken images after switching the screen mode

#6 Post by Per K Grok » Sun Dec 29, 2019 6:18 pm

YedaGa wrote:
Sun Dec 29, 2019 4:10 pm
The problem solved by updating RenPy to a newer version. It would've been nice to know what caused the issue in the first place, but I'll take what I could. Thank you for your time.
Glad it worked out, for I sure didn't know what to do about it. :D

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot]