PocketMatrix forums

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

What will suit me?

Hi everyone, I'm looking at moving away from easyce *snif*, and onto another library.

There are basically 2 main items on my agenda:

1. The library will have to primarily support games, i.e generally speaking it will need to be fast, and generally support common practices in game writing. (The ablility to easy import a lot of simple functions I added to easyce would also be nice.)

2. It will have to, and continue to support new devices (somthing easyce was falling behind on)

and if possible be as easy to use as "easy"ce.

The two main librarys seem to be pocketfrog and gapidraw. Anyhow I'd like some feedback from some users of these librarys, and / or any information you care to disclose.

-Thanks
Right now I believe that GapiDraw is the best platform out there. Fast blits, alpha blits, rotation, scaling, input, etc. The creator of pocket frog has since stopped updating it, yet he helps Sbl out with GapiDraw from time to time.

It has a very simple learning curve, I dont know if you've worked with direct draw, but its nearly identical. Even if you havent had any experience creating applications theres a fairly simple framework setup to get your game running on just about any platform(PocketPC, Desktop,SmartPhone).
Conan · 07 May 2003, 06:38 UTC — Which toolkit ???
As I understand it GapiDraw is now much faster than PocketFrog ( I use PF ). Both user communities are strong and both have a good range of functions & cover all the core areas.

As stated Pocket Frog's author has stopped development which though unfortunate it does not stop further work & for instance sound support & font support have been added by 3rd parties as has a combined stretch/rotate blit function.

If you have time you should try out both doing the same basic sample & see what the results are like. I will have a look at GapiDraw when my current project completes but it will have to offer something big to force the learning curve. GapiDraw looks more complicated than PF.

The GapiDraw license issue seems to be clear now. You will not be stopped from publishing a game using GapiDraw at the 11th hour.
Just to note, GapiDraw 2.0 has significantly improved performance, both on PocketPCs and PCs.

The main thing I like about GapiDraw is it's targetted at both platforms so I can write PC and PPC versions of apps without having to merge in different graphics cores.
The one obvious advantage to using PocketFrog is that you have the full source.

I'm starting to work more with GapiDraw and I did not find it difficult to learn at all. I do miss some of the functionality of PocketFrog that isn't available and I can't just add it like I could with the PocketFrog source.

Conan's advice is good. Look at what each offers and do a test or two using each. If GapiDraw supports the features you need then it's continued support and optimization might convince you to use it. However, if you have some specific functions you need and GapiDraw doesn't support, then being able to modify PocketFrog might convince you to use it instead.

Hmmm...I feel the need for a feature comparison chart.

[Edit]
Found the old comparison chart. Needs to be updated though.
http://www.gapitools.com/comparison.htm
[/Edit]

Pam
Conan · 07 May 2003, 14:52 UTC — No GapiDraw source?
Pam, Does this mean ( well obviously ) that GapiDraw uses a dll so programmers don't have access to it's core stuff. The only issue I have with anything like this is that the game programmer is then reliant on a module which he/she cannot build. What then happens if the author's go away.

Is their any thought to an ESCROW set up for GapiDraw's source code? ( ie: source held for people's use should anything bad happen )
Pam, I am confused as to what you would like to add to GapiDraw but couldnt. If need be you are given direct access to the screen buffer to create just about any effect you could want.
DillRye wrote:
Pam, I am confused as to what you would like to add to GapiDraw but couldnt. If need be you are given direct access to the screen buffer to create just about any effect you could want.


Conan: GapiDraw does use a DLL. I can't comment on the potential availability of source in the future. Only sbl can answer that one.

DillRye: It's not a matter of couldn't, it's a matter of ease. The biggest thing I found so far is the custom pixel shaders. Sure, I could add my own blit function that did Additive blending, but there is no way I'd be able to make it as fast and portable as the built-in blit functions. I could if I had the source.

I'm pretty happy with GapiDraw 2.0 so far. Very fast, well supported, easy to use.

[Edit]
I should mention that I've never actually asked for GapiDraw to support custom Pixel shaders or additive blending. For all I know it's available in the next release.
[/Edit]

Pam
In my experience, unless you have a lot of extra cpu cycles to spare, an additional pass through a 320x240 buffer can kill performance. The cache size is so small that you really need to try to apply all the math to the pixels in one pass. That is one of the big tricks to keeping performance up on these devices.

Dan East
I didnt think the direct surface manipulation such as used in the plasma demo cost any overhead.

I can see how it would be fairly easy to add addative blending to the blitting code(if it was availible) then writing a whole new blitter just for the purpose.

I wrote a sort of mode7 (rot/perspective scaling like on super nintendo)test to figure things out, it ran smooth on my Axim.

On the topic of additive alpha blending, that would be pretty nice feature for explosions :).
Looks like I'm going to have to refresh my mem on classes :-)

Does anyone have an exact time when version 2 of GAPIdraw will be out? it was ment to be 9 days ago?

-B
2.0 is out. 2.01 (The release with full online docs) is pending.