Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Question on Views  (Read 1935 times)

0 Members and 1 Guest are viewing this topic.

dk123

  • Newbie
  • *
  • Posts: 49
    • View Profile
Question on Views
« 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?

zsbzsb

  • Hero Member
  • *****
  • Posts: 1409
  • Active Maintainer of CSFML/SFML.NET
    • View Profile
    • My little corner...
    • Email
Re: Question on Views
« Reply #1 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.
Motion / MotionNET - Complete video / audio playback for SFML / SFML.NET

NetEXT - An SFML.NET Extension Library based on Thor