Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
drawing a black screen with 50% alpha
Print
Pages: [
1
]
Author
Topic: drawing a black screen with 50% alpha (Read 1264 times)
0 Members and 1 Guest are viewing this topic.
slotdev
Sr. Member
Posts: 385
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
Logged
SFML 2.1
Laurent
Administrator
Hero Member
Posts: 32498
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).
Logged
Laurent Gomila - SFML developer
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
drawing a black screen with 50% alpha