Hello, i'm looking for a library that help me manage user input from a keyboard
or joystick but with some special features.
To make it simple i want a set of functions that allow me to make moves like
those we see in figthing games like Street Figther or Tekken, i mean that when
i hit foward twice quickly the player performs a quick dash, and when hitting
back twice quickly it makes a little bakwards jump. Performing a semicircle
move (back, back-down, down, down-foward, foward) and pressing action the player
performs an special attack etc.
There is a lot of more advanced things i need for the game im writing, things
like when dashing foward and pressing jump it performs a high jump instead of a
normal jump.
im using OpenGL and the GLUT Library, it seems that GLUT doesn't support this
features. Another thing is that i don want the keyboard autorepeat feature,
when i press a key i want it pressed until i release it.
If someone havi information o how i can do this with plib , GLUT , SDL or any
library please let me know.
Thanks
|