This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Crossplatform Idea; what do you think?


Crossplatform Idea; what do you think?

Postby 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.
kaiton
pm Member
 
Posts: 116
Joined: Jan 15, 2002 @ 11:34am


Postby gamefreaks » Aug 9, 2004 @ 11:34am

I think what you are refering to is known as middleware.

A good example of this is Criterion's RenderWare. This allows development of games on the PC, XBox, GameCube and PS2, without having to re-write the rendering code.
What if everything is an illusion and nothing exists? In that case, I definitely overpaid for my carpet. -Woody Allen
User avatar
gamefreaks
pm Insider
 
Posts: 466
Joined: Oct 20, 2001 @ 8:52pm
Location: Leicester, England


Postby kaiton » Aug 9, 2004 @ 12:21pm

Last edited by kaiton on Aug 9, 2004 @ 12:36pm, edited 1 time in total.
kaiton
pm Member
 
Posts: 116
Joined: Jan 15, 2002 @ 11:34am


Postby kaiton » Aug 9, 2004 @ 12:34pm

kaiton
pm Member
 
Posts: 116
Joined: Jan 15, 2002 @ 11:34am


Postby Arisme » Aug 9, 2004 @ 1:29pm

Last edited by Arisme on Aug 9, 2004 @ 1:34pm, edited 1 time in total.
Arisme
pm Insider
 
Posts: 1453
Joined: Jan 27, 2002 @ 1:07am
Location: France


Postby Johan » Aug 9, 2004 @ 1:34pm

Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby kaiton » Aug 9, 2004 @ 2:01pm

Thanks for your insight

I see that there are some game libraries, like gapdraw, pocketfrog, easyCe etc.
Each of them do perform the same task; they all give the developer a Game Framework.

Why isn't there a standard framework? PocketFrog uses
surfaces, so does Gapidraw. Pocketfrog can blit, so can Gapidraw. Why can;t we just have one interface that everyone uses?

Can't we come up with some kind of standard game Header file? So we have one Header file(*.h), but everyone can implement the code the way they want.
Imagine that PocketFrog en Gapidraw would share the same headerFile/functions.
It would be far easier for the developers to swap between both.


THan people could use the same header file, but they could choose between multiple implementations(gapidraw/frog/directx/sdl).


I am sure a talented programmer could code one implementation it in a week or two, especially if he's building it on top of another game library!

So, i am not saying : Let's create a new Gapidraw/PocketFrog/EasyCe.

But i say: Let's create a shared HEaderFile defintion
that translates between all those game libraries
kaiton
pm Member
 
Posts: 116
Joined: Jan 15, 2002 @ 11:34am


Postby hm » Aug 9, 2004 @ 3:46pm

User avatar
hm
pm Member
 
Posts: 201
Joined: Dec 28, 2003 @ 8:47pm
Location: Seattle, WA


Postby kaiton » Aug 9, 2004 @ 3:54pm

kaiton
pm Member
 
Posts: 116
Joined: Jan 15, 2002 @ 11:34am


Postby fast_rx » Aug 9, 2004 @ 4:01pm

User avatar
fast_rx
pm Member
 
Posts: 660
Joined: Jun 10, 2003 @ 4:24pm


Postby angedelamort » Aug 9, 2004 @ 4:03pm

User avatar
angedelamort
pm Member
 
Posts: 304
Joined: Mar 7, 2002 @ 11:16pm
Location: Montreal, Quebec


Postby Dan East » Aug 9, 2004 @ 4:05pm

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby mlepage » Aug 9, 2004 @ 4:07pm

www.scalenesoftware.com
Great games for your Palm and Pocket PC!
User avatar
mlepage
pm Insider
 
Posts: 1050
Joined: Aug 3, 2003 @ 4:47am
Location: Canada


Postby warmi » Aug 9, 2004 @ 4:43pm

warmi
pm Insider
 
Posts: 518
Joined: Aug 24, 2002 @ 8:07am
Location: Chicago USA


Postby rcp » Aug 9, 2004 @ 4:49pm

User avatar
rcp
pm Member
 
Posts: 184
Joined: Jul 18, 2003 @ 2:12am
Location: Duluth, GA. (Southeast US)


Next

Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum