Hi! I'm planning to write a shoot'em up sidescroller. I have a big problem with the graphics though. I really wan't the game to run smooth, but i can't even get the simpliest sprite to move without lagging. It moves smooth if i make it to move automaticly across the screen. But as soon as i add DirectInput and let the sprite be moved by the arrow keys it starts to lag. If one for example press the right arrow, the sprite would move smooth for less then a second and the start lagging. If one press and hold right and then at the same time press and hold for example space (which is unassigned), the sprite will stop completely. If anyone have a solution to this it would be greatly appreciated.