I want to write a serious 2D game, and it would be nice if I had a version for Linux and one for Windows (and ultimately OSX). Java is fantastic because it is platform independent. But Java is too slow to write a serious game. So, I decided to write it in C ++. But C ++ is not very cross-platform. I can find game libraries for Windows and libraries for Linux, but I am looking for one that I can use for both by recompiling the source on the Windows platform and on the Linux platform.
Are there any engines for this or does this idea not matter? Isn't it that easy (recompilation)?
Any advice and information on C ++ libraries would be greatly appreciated!
source share