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

Author Topic: Compiling a SFML 2.0 project  (Read 3260 times)

0 Members and 1 Guest are viewing this topic.

meissner61

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • Email
Compiling a SFML 2.0 project
« on: July 23, 2011, 10:43:12 pm »
Hello guys, trying to compile a SFML 2.0 file since i was told that 1.6 has some bugs with AMD graphics cards :(

All goes well untill i get to your handling events unfortunetly some code gets highlighted red and i get erros saying that sfml/window doesnt support this or that action. Any advice?

Oneiros

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Compiling a SFML 2.0 project
« Reply #1 on: July 23, 2011, 11:49:22 pm »

meissner61

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • Email
Compiling a SFML 2.0 project
« Reply #2 on: July 24, 2011, 12:56:34 am »
Hi oneiros, the poll event did clear up the get event problem;

I have quite a few more though :(

such as input, GetInput, Key, and Joy

I would like to be sure that i got all the nonsense out of the way before i start really digging deep into learning SFML so im thinking if i cant compile a tutorial program no point to go further for now.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Compiling a SFML 2.0 project
« Reply #3 on: July 24, 2011, 12:58:02 am »
See here for a list of changes from SFML 1.6 to 2.0.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

meissner61

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • Email
Compiling a SFML 2.0 project
« Reply #4 on: July 24, 2011, 01:05:25 am »
TY :)

meissner61

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • Email
Compiling a SFML 2.0 project
« Reply #5 on: July 24, 2011, 01:08:09 am »
okay i understand now - so if input has been removed

Input.IsKeyDown(sf::Keyboard::Left);

What should i change this too?

EDIT: Hope you guys update your tutorials soon heh

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Compiling a SFML 2.0 project
« Reply #6 on: July 24, 2011, 01:40:15 am »
sf::Keyboard::IsKeyPressed()

Take also a look at the documentation ;)
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development: