PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Porting a DX game to ppc?

Right now im really getting into building video games and i have a whole team with other programmers and everything to work on a new 3rd person 3d action game. But im trying to some better skills first and im planning on writing a side scroller engine using direct draw and direct sound no d3d or anything like that. Now my question is thatr if i feel this side scroller is good enough to make a ppc game out of will it be very hard to port to a ppc? Does anyone have any tips to keep in mind while im writting the dx version to make i easier to move to the ppc?
You might want to take a look at Gapidraw, which has been designed for compatibility with DirectDraw... I haven't played with it much as i have no use for it with my current project, but it seems extremely similar to DirectDraw, so it shouldn't be too difficult to target both platforms using it.
So are you telling me to write it in Direct Draw first and then use GAPIdraw. The thing is im reading a book based on direct draw so i need to use it for the pc version to learn also i need to learn dx for my other project using the Genesis 3d engine.
RwGast wrote:So are you telling me to write it in Direct Draw first and then use GAPIdraw.
I'm not exactly sure what you meant by that, but i was implying that you should continue using DD for your PC build, and use GapiDraw for the PPC version. GapiDraw is remarkably similar to DD on a PC, so you should be able to apply much of the knowledge gained from your book, without too much hassle. Actually, you could even use GapiDraw right from the off to target both PC & PPC platforms simultaneously, but you might not find that method ideal, especially if the small differences (objects instead of COM interfaces, etc) throw you a little at first, compared with the examples, tuts, etc in the DD book.

Good luck with your other PC Fps project - should be a solid learning experience... :)
The GapiDraw libs can compile for both windows and Pocket Pc's, but if your trying to learn DirectX, Id say do that first. I have a simple game "slippy" I programmed for DirectDraw, and in about 3 days of random free time I easily ported it to the pocket pc. The GapiDraw library is REALLY easy to learn after comming from direct draw, its nearly the exact same thing(syntax) but in some ways I think its smarter :)....

Now if only the pocket pc had some decent hardware 3d acceleration........
You made Slippy? I like that game. You need to update it so that it does not say push spacebar (on a PPC) and stuff like that, though. :)