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

Author Topic: are boolean member exa-mIsMovingUp .. usable in SFML 2.3  (Read 2486 times)

0 Members and 1 Guest are viewing this topic.

Anand

  • Newbie
  • *
  • Posts: 11
    • View Profile
are boolean member exa-mIsMovingUp .. usable in SFML 2.3
« on: March 04, 2016, 09:13:45 pm »
i am using sfml 2.3 along with visual studio 2015 express edition for desktop.
to check which key on the keyboard has been pressed by the user i am using four boolean members IsMovingUp ,IsMovingDown, IsMovingRight, IsMovingLeft. but on building the code it is giving an error that identifier neither declared nor defined.
so i want to know whether these boolean members are compatible with the versions of sfml and VS which i have.
or what is the alternative for this?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
AW: are boolean member exa-mIsMovingUp .. usable in SFML 2.3
« Reply #1 on: March 04, 2016, 10:32:31 pm »
Of course you can use these names, question is if you have ever declared them?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything