问题
I am in the process of designing/building a cross-platform game engine in C++. I would like to use an game API that has 2D/3D graphics, input, networking, audio, etc. One API I found that meets many of these requirements except for Audio is Amaltheia. Can anyone suggest an API that meets all my requirements or one that meets most of the requirements that is better than Amaltheia.
回答1:
You could look at SDL, it's a popular cross-platform multimedia library used in many games.
Also the Game Programming Wiki is a good source for lists of game programming libraries and engines
回答2:
Lots of people are using SFML these days, which is a bit more up to date than SDL.
(Answer edited as SDL finally saw an update since I originally posted this! SFML is still a worthy choice, however.)
回答3:
Allegro is very popular. There is also a big community site for it here.
回答4:
In case you get tired of C++, there's also something simpler: BlitzBasic
http://www.blitzbasic.com/
回答5:
Check out Unity Engine if your authoring is done in OSX
回答6:
Ideaworks 3D has a great API that works on more systems than you could shake a stick at (including windows and linux), does networking, sound and 3d. It's a bit expensive though...
来源:https://stackoverflow.com/questions/470520/what-are-good-cross-platform-game-api