Original Post
I have the following code for my Tetris game within the Update method. I read that this method gets called 60 times/sec as a default. However, it seems I have to actually hold down the key vs. simply pressing it to get my game block to move. Should I be getting input in some other way?
KeyboardState newState = Keyboard.GetState();
if (newState.IsKeyDown(Keys.Escape))
{
UnloadContent();
this.Exit();
}
if (newState.IsKeyDown(Keys.Down))
Move(0, 1);
if (newState.IsKeyDown(Keys.Up))
RotateBlock();
if (newState.IsKeyDown(Keys.Left))
Move(-1, 0);
if (newState.IsKeyDown(Keys.Right))
Move(1, 0);