Tag Info

New answers tagged

3

The reason, why the message is printed several times, is, due to the fact, that you read the state of the button every loop. Player->GetState().Gamepad.wButtons gives you the current state of the buttons. That means, as long as a button is pressed, requesting the state and checking for that button will be true. What you can do, is, declare a boolean ...



Top 50 recent answers are included