When I do a vpunch the screen shakes but on lower and upper edges appears a white line with little grey squares, which I think it is the transparent background of renpy.
Is there any way to prevent it from appearing?
^ Wait a second to look at the bottom...
How to avoid transparent edges when vpunch?
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.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: How to avoid transparent edges when vpunch?
Place an image below everything that is larger than your game resolution, anchored and positioned True centre.
It'll still move, but since it's big enough to cover the area, you'll never see the transparency.
It'll still move, but since it's big enough to cover the area, you'll never see the transparency.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Re: How to avoid transparent edges when vpunch?
Or just render the image you’re going to vpunch larger than your viewport.
- Donmai
- Eileen-Class Veteran
- Posts: 1960
- 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: How to avoid transparent edges when vpunch?
Or simply leave you images as they are. To get rid of the transparency squares in your released game go to options.rpy and changeto before building your game distribution.
Code: Select all
define config.developer = "auto"
Code: Select all
define config.developer = False
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
Re: How to avoid transparent edges when vpunch?
Ah, thank you! If the build doesn't have that transparent thing then I'll leave it as it isDonmai wrote: ↑Mon Jan 06, 2020 2:56 pm Or simply leave you images as they are. To get rid of the transparency squares in your released game go to options.rpy and changetoCode: Select all
define config.developer = "auto"
before building your game distribution.Code: Select all
define config.developer = False
Who is online
Users browsing this forum: No registered users