什么是优秀的跨平台Game API?

时间:2022-06-16 03:05:07

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.

我正在使用C ++设计/构建跨平台游戏引擎。我想使用具有2D / 3D图形,输入,网络,音频等的游戏API。我发现一个API满足许多这些要求,除了Audio是Amaltheia。任何人都可以建议一个满足我所有要求的API,或者满足大多数比Amaltheia更好的要求的API。

6 个解决方案

#1


You could look at SDL, it's a popular cross-platform multimedia library used in many games.

您可以看一下SDL,它是许多游戏中使用的流行的跨平台多媒体库。

Also the Game Programming Wiki is a good source for lists of game programming libraries and engines

游戏编程Wiki也是游戏编程库和引擎列表的良好来源

#2


Lots of people are using SFML these days, which is a bit more up to date than SDL.

现在很多人都在使用SFML,这比SDL更新一些。

(Answer edited as SDL finally saw an update since I originally posted this! SFML is still a worthy choice, however.)

(编辑为SDL的答案终于看到了自我最初发布此内容以来的更新!但SFML仍然是一个值得选择的选择。)

#3


Allegro is very popular. There is also a big community site for it here.

Allegro非常受欢迎。这里还有一个很大的社区网站。

#4


In case you get tired of C++, there's also something simpler: BlitzBasic

如果你厌倦了C ++,那么还有一些更简单的东西:BlitzBasic

http://www.blitzbasic.com/

#5


Check out Unity Engine if your authoring is done in OSX

如果您的创作是在OSX中完成的,请查看Unity Engine

#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...

Ideaworks 3D有一个很棒的API,可以在更多的系统上工作,而不是你可以动摇(包括Windows和Linux),网络,声音和3D。它虽然有点贵......

#1


You could look at SDL, it's a popular cross-platform multimedia library used in many games.

您可以看一下SDL,它是许多游戏中使用的流行的跨平台多媒体库。

Also the Game Programming Wiki is a good source for lists of game programming libraries and engines

游戏编程Wiki也是游戏编程库和引擎列表的良好来源

#2


Lots of people are using SFML these days, which is a bit more up to date than SDL.

现在很多人都在使用SFML,这比SDL更新一些。

(Answer edited as SDL finally saw an update since I originally posted this! SFML is still a worthy choice, however.)

(编辑为SDL的答案终于看到了自我最初发布此内容以来的更新!但SFML仍然是一个值得选择的选择。)

#3


Allegro is very popular. There is also a big community site for it here.

Allegro非常受欢迎。这里还有一个很大的社区网站。

#4


In case you get tired of C++, there's also something simpler: BlitzBasic

如果你厌倦了C ++,那么还有一些更简单的东西:BlitzBasic

http://www.blitzbasic.com/

#5


Check out Unity Engine if your authoring is done in OSX

如果您的创作是在OSX中完成的,请查看Unity Engine

#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...

Ideaworks 3D有一个很棒的API,可以在更多的系统上工作,而不是你可以动摇(包括Windows和Linux),网络,声音和3D。它虽然有点贵......