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

Author Topic: splash screen  (Read 4840 times)

0 Members and 1 Guest are viewing this topic.

ravenheart

  • Full Member
  • ***
  • Posts: 148
    • View Profile
splash screen
« on: January 27, 2010, 03:24:00 pm »
is there any possiility to show a splash screen before a render window is created?

Walker

  • Full Member
  • ***
  • Posts: 181
    • View Profile
splash screen
« Reply #1 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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
splash screen
« Reply #2 on: January 27, 2010, 03:38:42 pm »
This is perfectly correct ;)
Laurent Gomila - SFML developer

ravenheart

  • Full Member
  • ***
  • Posts: 148
    • View Profile
splash screen
« Reply #3 on: January 27, 2010, 04:10:33 pm »
ty, sf::Style::None should be enough =)

panithadrum

  • Sr. Member
  • ****
  • Posts: 304
    • View Profile
    • Skyrpex@Github
    • Email
splash screen
« Reply #4 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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
splash screen
« Reply #5 on: January 27, 2010, 07:57:12 pm »
No you can't. At least, not with SFML.
Laurent Gomila - SFML developer