SFML community forums

Help => Window => Topic started by: dk123 on April 06, 2015, 01:48:28 am

Title: Question on Views
Post by: dk123 on April 06, 2015, 01:48:28 am
Hi,

 I was just wondering if for example I have 2 views, 1 overlapped over the other, then if the up-most view draws a sprite with a transparent background, then will the result come up as the bottom layer + the sprite on a transparent background (hence the lower layer contents showing in the background of the sprite), or will I get the sprite on a black background?
Title: Re: Question on Views
Post by: zsbzsb on April 06, 2015, 01:56:25 am
Of course you would get the background of the first view, there is no reason you should get a black background. But seriously....  why don't you try it yourself? I mean to try yourself would have probably been easier than writing this post.