[SDL] SDL event behavior

Anatoly R. emulynx at delfi.lv
Tue Jan 14 02:49:00 PST 2003


Hello Michael,

Tuesday, January 14, 2003, 12:15:40 PM, you wrote:

MA> if (keys & KEY_LEFT)
MA>   /* rotate ship "left" */
MA> if (keys & KEY_RIGHT)
MA>   /* right ship "right" */

MA> ...
MA> Hope that's clear enough.

Thank you for perfect solution, I was trying to make something like
that couple of weeks ago but got stuck and dropped it leaving jerky
controls in my game. That solves one of the last bug ;)

-- 
Lynx,
http://dotNet.lv                          mailto:emulynx at delfi.lv





More information about the SDL mailing list