PocketMatrix forums

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

PocketHAL 0.0.3 has been released.

The third release of PocketHAL, the next generation library for Pocket PC game development has been released.

Get it fresh at: http://pockethal.droneship.com

PocketHAL can currently be seen as an alternative to GAPI and GAPI-based libraries. You though GAPI was the fastest way to do graphics on your Pocket PC? Think again. PocketHAL can often run twice as fast as GAPI and further optimizations are in the work.

What's new in the 0.0.3 build:

* CPU specific Optimizations for StrongARM and XScale.
* Fixed iPAQ 3600 and 3700 issue that would crash the devices.
* There is now only one ARM library for all versions of PocketPC.
* Changed the name of the library files.
thanks for this update. the previous release indeed crashed my ipaq. i had to hard reset. i've been itching to test joostb's demos.
Thierry I just tested the 0.0.3 version for the iPaq3800 and it seems to be faster than the previous version, nice!
I ve been testing it with a particle demo I wrote on pockethal. If someone needs explosions or snow, rain, whatever... you might be interested in using this particle framework. I've uploaded, the project + arm exe + source to :http://users.pandora.be/joost.bruneel/particles.zip
The sample uses max 200 particles for the explosion and max 400 for the snow, press the 'A' button to emit particles and the funny thing is that you can use the arrow keys to move the camera around the explosion. Every particle is blitted as a 16x16 bitmap, and it renders on the iPaq with a minimum of +-30fps. on the left top you'll see an FPS counter and on the right you have the number of active particles in the fire system. Some 'static' screenshots, however you should actually see it in action.
Image
Image
Cool particles!
too bad I get only 12fps when the particles count reach 200
I have a 1910 ( running at 300mhz )

Is the 1910 a bad device for gaming?
As always, it depends on the games you want to play. :)
You know I´m talking about "graphically intensive" games coupled with lots of heavy maths like cos and sins :roll:
That binary is a debug version, right? My programs always seem to run at least 50% faster when not compiling for debug...

Edit... I just compiled it for release and the FPS didn't change as much as I would have expected. They went from 11 FPS to 14 FPS on an e750. Oh, well...
At least it´s not just the 1910 that is having slower frame rates :)
Indeed I also noticed that the axim get's much lower frame rates than the ipaq, of course there are two particle systems active in the demo, which is a bit overkill. try removing the snowsystem (comment the snowsystem::update call in the gameloop), or try decreasing the number of particles in the systems, by specifying a lower number in the template instances (particledemo.cpp)
Code:

typedef ParticleSystem<200,
CompletePolicy<Particle, NullPolicy<Particle>,
NullPolicy<Particle>, NullPolicy<Particle>,
FireLifeInitializer<Particle>, NullPolicy<Particle> >,
CompletePolicy<Particle, NullPolicy&lt;Particle&gt;, NullPolicy&lt;Particle&gt;,
GravityAction&lt;Particle&gt;, LifeAction&lt;Particle&gt;,
MoveAction&lt;Particle&gt; >, FireRenderPolicy<Particle>, Particle > FireSystem;

typedef ParticleSystem<400,
CompletePolicy<Particle, NullPolicy&lt;Particle&gt;,
NullPolicy&lt;Particle&gt;, NullPolicy&lt;Particle&gt;,
SnowLifeInitializer&lt;Particle&gt;, NullPolicy&lt;Particle&gt; >,
CompletePolicy<Particle, NullPolicy&lt;Particle&gt;, NullPolicy&lt;Particle&gt;,
GravityAction&lt;Particle&gt;, LifeAction&lt;Particle&gt;,
MoveAction&lt;Particle&gt; >, SnowRenderPolicy<Particle>, Particle > SnowSystem;