Almost all of the games use Keyboard to control the objects i.e. to move, jump, turn, slide etc. Keyboard events is essential part of game programming. All game development libraries support Keyboard Handling. GLUT also has nice and simple functions that provide the facility of Keyboard controlling. GLUT provides different functions to handle NORMAL key events like 1 , 2 , A, B, ESC (having ASCII code) and SPECIAL key events like UP, DOWN, F1 etc.
GLUT Tutorial – Handling Keyboard Events
Read more »
تعليقات: 0
إرسال تعليق