If a BG exactly fills the screen and is then shaken, the background behind the BG naturally becomes visible for moment. That background is white and this is too strong a contrast for my images.
Is there any way to change it to black?
(Or is my only option adding a black frame around all BGs, so they receive "wiggle-room" without exposing the white?)
default punch-transform's white background
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.
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.
- Donmai
- Eileen-Class Veteran
- Posts: 1919
- Joined: Sun Jun 10, 2012 1:45 am
- Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
- Contact:
Re: default punch-transform's white background
White? Isn't it chequered anymore?
Anyway, that's a very common question here, and I've been giving the same answer since the good old themed GUI days. That chequered background is a feature for aligning purposes, not a problem. It isn't supposed to show on final game distributions. But there is a way to check how your game will look after compiled.
There's a Ren'Py internal variable called 'config.developer' (https://www.renpy.org/doc/html/config.h ... .developer). In ancient times its default value was True and we were advised to set it to False when building a game distribution (so the player won't use the developer tools to cheat). Nowadays, its default value is 'auto' (Ren'Py is supposed to disable developer tools automatically when you create a build).
Try adding this line to your options.rpy:Now run your game and look if there's still a white or chequered background showing while the screen is shaking. If not, then set that variable back to True while you're working on your game and be happy (or remove the line you've added). If you are going to keep that line there, don't forget to set the config.developer to False before building your final distribution. I always do.
Anyway, that's a very common question here, and I've been giving the same answer since the good old themed GUI days. That chequered background is a feature for aligning purposes, not a problem. It isn't supposed to show on final game distributions. But there is a way to check how your game will look after compiled.
There's a Ren'Py internal variable called 'config.developer' (https://www.renpy.org/doc/html/config.h ... .developer). In ancient times its default value was True and we were advised to set it to False when building a game distribution (so the player won't use the developer tools to cheat). Nowadays, its default value is 'auto' (Ren'Py is supposed to disable developer tools automatically when you create a build).
Try adding this line to your options.rpy:
Code: Select all
config.developer = FalseNo, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
- Qlara
- Regular
- Posts: 80
- Joined: Fri Nov 28, 2014 10:22 am
- Completed: Carmilla
- Skype: kantonija
- itch: visualgothic
- Location: Berlin
- Contact:
Re: default punch-transform's white background
White? Isn't it chequered anymore?
That's what I would have expected, too, but it is certainly white, which is why I thought it is perhaps defined as such somewhere.
Your config.developer-advice has just made life so much easier, especially since I always compiled the game to check whether an issue remains, before bothering with it too much. And it seems the white really is gone. I don't know why I had this problem filed under "won't go away, no matter what".
That's what I assumed and I searched extra extra hard, but still came up empty-handed. So thank you very much for helping out, nonetheless.Anyway, that's a very common question here
Who is online
Users browsing this forum: _ticlock_
