Thin white border at the edge of screen [Solved]

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
User avatar
Hijitoki
Regular
Posts: 35
Joined: Sun Sep 30, 2012 10:35 pm
Projects: Flowers For Me(VN)
Location: USA
Contact:

Thin white border at the edge of screen [Solved]

#1 Post by Hijitoki »

Hello!

For some reason, whenever I set up the GUI, there's a white border on the upper and left walls of the screen. This only affects my Title screen and the Yes/No screen.

Image

Please and thank you!
Hijitoki
Last edited by Hijitoki on Tue Jul 14, 2015 7:43 pm, edited 1 time in total.
Follow me~ Lucent Catty

SundownKid
Lemma-Class Veteran
Posts: 2299
Joined: Mon Feb 06, 2012 9:50 pm
Completed: Icebound, Selenon Rising Ep. 1-2
Projects: Selenon Rising Ep. 3-4
Organization: Fastermind Games
Deviantart: sundownkid
Location: NYC
Contact:

Re: Thin white border at the edge of screen

#2 Post by SundownKid »

Did you try setting xpadding and ypadding to 0?

User avatar
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: Thin white border at the edge of screen

#3 Post by Donmai »

What's your game resolution? I can see some stray pixels on the the top left corner of your image. Check that your picture has the same size of your game screen.
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

User avatar
Hijitoki
Regular
Posts: 35
Joined: Sun Sep 30, 2012 10:35 pm
Projects: Flowers For Me(VN)
Location: USA
Contact:

Re: Thin white border at the edge of screen

#4 Post by Hijitoki »

I checked both resolutions and size and they're set to the same size as the game screen.
Follow me~ Lucent Catty

User avatar
SinnyROM
Regular
Posts: 166
Joined: Mon Jul 08, 2013 12:25 am
Projects: Blue Birth
Organization: Cosmic Static Games
Contact:

Re: Thin white border at the edge of screen

#5 Post by SinnyROM »

Maybe check if you have non-zero margins in addition to padding. Or if you're using a frame to display the image, remove it and try inserting the image by itself.

Code: Select all

background Frame("image.png",0,0) # old
background "image.png" # new
If you could post your code it can help make things easier to troubleshoot.

User avatar
Hijitoki
Regular
Posts: 35
Joined: Sun Sep 30, 2012 10:35 pm
Projects: Flowers For Me(VN)
Location: USA
Contact:

Re: Thin white border at the edge of screen

#6 Post by Hijitoki »

Thank you very much! It was the 'frame' that was the problem.
Follow me~ Lucent Catty

Post Reply

Who is online

Users browsing this forum: Google [Bot], Sugar_and_rice