PocketMatrix forums

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

is PocketFrog easier than GapiDraw?

would you say PocketFrog is easier to use than GapiDraw
I would say that, thats why I used PF to make my Infestation game, the blit example had almost everything I needed to make the game, and the conan tutorials also helped me a lot.
I would say so. I evaluated both when I started programming pocketpc and went with PocketFrog because it was the one I could understand. To be fair to GD it does have a more formal, organised support setup but of course you have to pay to use it if you publish your work.
I like GD's format/syntax more. I'm not sure there's a whole lot of ways to quantifiably back that up; it's just a matter of taste. I don't think it's $100 nicer, but that really depends on your project and projected profit margins.

Still, GD and PF are still just basic 2D graphics libraries -- there's nothing overly complicated about using either one. If you're just using built-in features, I don't think there's a significant difference in difficulty.

PF's documentation is a bit on the sparse side of things, but you do get the source code -- which is clean and has plenty of comments. And there's definatly something to be said for having the source. There's no blackbox ambiguity; if you have any doubt about what something does, look at the code. Truth be told, I don't think webdocs will ever be more useful than the source code for PocketFrog.

However, judging by the frequency of "what is a rasterizer/surface/etc" posts, reading through the code seems to be a problem for a lot of people. That is something to take into consideration.
As someone who has developed a commercial product with both and started out with PF then moved to GD...

I found PF to be just slightly easier than GD, but that can almost entirely be boiled down to the amount of options available in GD. In general you can do more on a per-call basis (i.e., there are more options available in the GD blit than the PF blit), but this flexibility makes the calling syntax just a hair more complex.

I think there is enough example code floating around for both, but PF does have the benefit of Conan's tutorials.

Bottom-line: using difficulty as a factor in determining which to use is not something anyone should do because they are close enough that it can be factored out of the equation in my opinion. Cost, support, documentation, speed and capabilities are probably what you should look at most.