Original Post
Hi guys, I have a problem with this code in order to make a graphic move around the screen. The idea is to keep some of the arrows pressed, and make the graphic move, and when I release the key, the graphic should not move anymore. The thing is that it's not working. the only thing that works is when I press the SDLK_UP, then the graphic starts moving upwards... but it stops moving when I press SDLK_DOWN, not when I release SDLK_UP. See the piece of code at this link ( the ident went all wrong when pasting code here ) http://igoles.servebeer.com/code.c [Edited by - Ngoles on March 16, 2007 2:12:00 PM]