does anyone know how to aquire the actual keyboard status. I tried,
but my program crashes everytime I press the right key (SDLK_RIGHT).
A bitmap should be moved by 10 pixels to the right, but it does not
stop moving to the right. It’s very strange I think.
does anyone know how to aquire the actual keyboard status. I tried,
but my program crashes everytime I press the right key (SDLK_RIGHT).
A bitmap should be moved by 10 pixels to the right, but it does not
stop moving to the right. It’s very strange I think.
Sounds like a bug in your code. Make sure that you are not passing
uninitialized pointers to SDL.
-Sam Lantinga (slouken at devolution.com)
Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec