Hi dudes,
I've searched for several days now and did'nt find anything. I'm writing an asteroids-like game (classic and extended version) and I'm stuck at Game Input. My Gameloop follows the instruction from
http://www.koonsolo.com/news/dewitters-gameloop/ .
All is working fine, gameloop,interpolation movement. But if I want to fly my ship away from those nasty asteroids and start shooting another the input stucks at two keys. So I can accelerate and rotate, or accelerate and shoot, or rotate and shoot. But not accelerate,rotate and shoot at the same time.
I'm using SFML 2.1(config.hpp) on Linux Mint 17.1. I query the keys by using
if (sf::Keyboard::isKeyPressed(sf::Keyboard::Left))
{
// rotate
}
Can someone help me to figure out the problem?
regards
CptnRoughnight