PocketMatrix forums

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

Differences between PocketHAL and PocketFrog?

Hand of Fate · 08 Oct 2004, 00:49 UTC
Difference between PocketHAL and PocketFrog are? One is easier than the other? Is one of them faster?
There is only one stick on the pf&phal forum and its this one:

What's the difference between PF, PH, PF(PH ed)?
PocketHAL is just a framebuffer library.

Think of it as GAPI done well.

It hides different implementation of the framebuffer on different devices and presents programmer with a single view of video memory.
That's pretty much all .

With PocketHAL you still need to write your own code for blitting , event handling etc ...

And that is where PocketFrog comes in. It is a library sitting on top of HAL which encapsulates a lot of lower level Win32 functionality as well as other basic framebuffer related stuff like blitting etc ...

Personally, I prefer to write my own stuff on top of HAL because I find PocketFrog style libraries a bit limiting, but depending on the type of game you are writing, PocketFrog might be all you will ever need.