Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
SFML Window is transparent
Print
Pages: [
1
]
Author
Topic: SFML Window is transparent (Read 888 times)
0 Members and 1 Guest are viewing this topic.
Super z
Newbie
Posts: 2
SFML Window is transparent
«
on:
July 28, 2023, 02:56:59 am »
Im new to SFML but every tutorial every window have a color on the background but my window don't have that
Logged
Hapax
Hero Member
Posts: 3379
My number of posts is shown in hexadecimal.
Re: SFML Window is transparent
«
Reply #1 on:
July 28, 2023, 09:43:02 pm »
Remember to "display" it.
window.
clear
(
)
;
window.
draw
(
stuff
)
;
// as required
window.
display
(
)
;
Logged
Selba Ward
-SFML drawables
Cheese Map
-Drawable Layered Tile Map
Kairos
-Timing Library
Grambol
*
Hapaxia Links
*
Super z
Newbie
Posts: 2
Re: SFML Window is transparent
«
Reply #2 on:
July 29, 2023, 02:18:55 pm »
It worked thank you =)
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
SFML Window is transparent