SFML community forums

Help => General => Topic started by: ravenheart on January 27, 2010, 03:24:00 pm

Title: splash screen
Post by: ravenheart on January 27, 2010, 03:24:00 pm
is there any possiility to show a splash screen before a render window is created?
Title: splash screen
Post by: Walker on January 27, 2010, 03:31:36 pm
I imagine you would just want to create a splash screen renderwindow first, delete/remove this one and display your main one. Look for sf::Style (i think) to remove the borders.

I apologise if I'm incorrect, but that's what I would try.
Title: splash screen
Post by: Laurent on January 27, 2010, 03:38:42 pm
This is perfectly correct ;)
Title: splash screen
Post by: ravenheart on January 27, 2010, 04:10:33 pm
ty, sf::Style::None should be enough =)
Title: splash screen
Post by: panithadrum on January 27, 2010, 07:35:18 pm
Another question here: Can you make a no-border window with a custom shape? I would like to render a PNG image with transparency (you can see the Desktop) for example.
Title: splash screen
Post by: Laurent on January 27, 2010, 07:57:12 pm
No you can't. At least, not with SFML.