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

Author Topic: How to make a button in SFML?  (Read 52236 times)

0 Members and 2 Guests are viewing this topic.

AlexAUT

  • Sr. Member
  • ****
  • Posts: 396
    • View Profile
Re: How to make a button in SFML?
« Reply #45 on: December 22, 2013, 04:13:18 pm »
Here is the link. https://github.com/SFML/SFML/wiki/Tutorial%3A-Manage-different-Screens

Keep in mind that there are different types of state machines. This one can only have one active screen, but in most cases this is enough.


AlexAUT

Nedim1

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: How to make a button in SFML?
« Reply #46 on: December 25, 2013, 08:12:42 pm »
AlexAUT thank you, and this is in SFML version 1,6 right?

AlexAUT

  • Sr. Member
  • ****
  • Posts: 396
    • View Profile
Re: How to make a button in SFML?
« Reply #47 on: December 25, 2013, 08:52:23 pm »
AlexAUT thank you, and this is in SFML version 1,6 right?

Yes it's for SFML 1.6 but it shouldn't be a problem to change it to the current API.

Edit: I updated the code in the wiki, now it uses SFML2+

AlexAUT
« Last Edit: December 25, 2013, 11:12:43 pm by AlexAUT »

 

anything