I often hear new developers discussing the challenges of cross platform development. There are a few obstacles that must be overcome. Some of the main ones are:
- Game Logic
- Presentation (UI)
- Multiple Target (OS) support (Both run-time and build-time)
- Build strategies.
So, I created a project on BitBucket to illustrate how one can approach the problem. Actually my son wanted to see how a game can be written, but then it evolved into a more illustrative project that I keep for reference.
Initially I chose SFML for the multi-media framework, as it promised to be simple, fast and cross platform. From my experience this has been the case.
Anyway, check out the project and try one of the many build strategies I present for Mac/Linux/Windows and let me know how you go,