1
Window / Problem with keyboard pressed
« on: March 24, 2014, 06:35:25 am »
In the game, the user can add money to his wallet. But when I press the key "C", the key are press many times, I want press only one time.
Can somebody help me with this problem?
Thanks.
Quote
if (sf::Keyboard::isKeyPressed(sf::Keyboard::C))
{
creditos = creditos + 100;
}
Can somebody help me with this problem?
Thanks.