Dark Bit Factory & Gravity
PROGRAMMING => C / C++ /C# => Topic started by: Pixel_Outlaw on June 19, 2008
-
OK so I'm slowly learning C++ (still playing with the black box).
Now my question becomes what kind of libraries are people using for
Sound
Keyboard/ Joystick/Game pad interaction
I plan to pursue OpenGL for graphics. What OpenGL add ons are supported by c++?
-
If you're doing Windows programs, mouse and keyboard can easily be read from Windows. Alternatively, if you're using OpenGL, you could use glu/glut to do all the keyboard/mouse stuff. You'll still need the joystick from Windows - search these forums for code, I think I posted to Clyde how to do it in FreeBasic.
For sound, you probably want to use one of the libs here which can play back tracker modules of various kinds. If you want mp3 then that's simpler.
http://dbfinteractive.com/index.php?topic=3042.0 (http://dbfinteractive.com/index.php?topic=3042.0)
Jim
-
For sound you might want to consider fmod (http://www.fmod.org/). I haven't yet gotten around to playing with it myself so I cant give you impressions from my personal experience with it but it certainly looks very proffesional and I've heard nothing but good things about it.
-
Knowing that you love to code games, too. Maybe you can have a look
at SDL and/or HGE, too.
-
Thanks for the help guys. :carrot: