by kaiton » Aug 9, 2004 @ 10:03am
Hi,
An interesting idea is crossplatform programming. There are some options on the PocketPC.
There's Gapidraw and PocketFrog.
There are a few drawbacks:
* Gapidraw is expensive
* PocketFrog is not finished(not implemented on all platforms)
* They both share the same drawback:
- Only PDA/smartphones and windows are supported!
What if i wanted to create a game supported on Windows, Mac OS 9/10, Linux, PocketPC, Symbian, Palm, Zodiac, NGage, PlayStation etc?
There's no toolkit that supports all those platforms.
Why dont we come up with some standard Game Interface/framework.
That interface should be implemented on all the platforms. The interface would be a GameClas implemented in Standard c++ and would be a layer between eg DirectX and the gameclass.
The game itself should only use the framework and standard c++ functions.
Maybe better; why don;t we just "borrow" the classes from PocketFrog or Gapidraw?
Implementations should easily be tested. The specs of the framework has a test game with it included. A programmer of a framework should test it with the testgame. If it works the framework is well implemented .
This approach would have many advantages:
* A game could be very easily ported to other platforms
* Support for other platforms can easily be added(one should only create the framework on that platform)
* Programm on your favorite platform and just test it on others when the game is finished
* Developers could ask other developers to compile it for them on platforms they dont have
* etc
I've included a little scheme:
1: The game sourcefile. It used only the GameFramework and standard c++. This file should compile on all supported platforms resulting in a working game.
2: the translation step: It;s the framework/gameclass implemented on various platforms in C++. These are just C++ projects that implement the GameClass.
These should be opensource.
3: Just some examples of platforms that support C++
let me know what you think about it
- Attachments
-
[The extension jpg has been deactivated and can no longer be displayed.]
Last edited by
kaiton on Aug 9, 2004 @ 12:50pm, edited 3 times in total.