Advertisement

GLUT for games? pros and cons?

Started by June 18, 2003 09:10 PM
11 comments, last by daniDG 21 years, 8 months ago
SDL Looks quite interesting and there is a java version (jsdl) as well.

I look into it, and post my thoughts.


hf,
dani
I use GLUT because I don''t have to worry about handling Windows. On the other hand, DO NOT use GLUT for handling input. Use DirectInput or the Win32 function calls to receive input from the mouse, keyboard, and joystick. I don''t use DirectInput, so here is the list of Win32 commands to get input:
GetAsyncKeyState(); for keyboard
GetJoyPos(); for joysticks
GetMouseMovePoints(); for mouse

I hope that this helped you in deciding!

"Donkey, if it were me, you''d be dead."
I cna ytpe 300 wrods pre mniute.
"Donkey, if it were me, you'd be dead."I cna ytpe 300 wrods pre mniute.
Advertisement
Anonymous Poster: Thanx for the aswer about glut being portable to linux and mac
www.jinx.com www.thebroken.org www.suprnova.org www.mozilla.org

This topic is closed to new replies.

Advertisement