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

Author Topic: drawing a black screen with 50% alpha  (Read 1263 times)

0 Members and 1 Guest are viewing this topic.

slotdev

  • Sr. Member
  • ****
  • Posts: 385
    • View Profile
drawing a black screen with 50% alpha
« on: July 05, 2011, 10:58:04 am »
Hi

I need to draw a full screen of black, but with 50% alpha. Is there a simple way to do this with SFML with some kind of screen fill, rather than creating a specific sprite for it?

Thanks
SFML 2.1

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
drawing a black screen with 50% alpha
« Reply #1 on: July 05, 2011, 11:08:36 am »
Nop, you need to use a sprite (or a shape).
Laurent Gomila - SFML developer

 

anything