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

Author Topic: About Backgrounds  (Read 1247 times)

0 Members and 1 Guest are viewing this topic.

narita12

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Email
About Backgrounds
« on: November 09, 2016, 09:06:48 am »
hello , I'm new here and I want to know how I set a background image in my window?  :-\

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11033
    • View Profile
    • development blog
    • Email
AW: About Backgrounds
« Reply #1 on: November 09, 2016, 09:45:09 am »
Welcome! :)

You simply load an image and draw it to the window as first element. See the official tutorials on how to do this.

Also next time don't post in general discussion if you have a help question. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything