PocketMatrix forums

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

What's Up?

Hey Everyone,

Just thought I'd ask what's going on in the PF world. I'm working on a new game at the moment, using PF 0.7.0 and Hekkus, and also working on updating Dr. Pocket to PF 0.7.0 / Hekkus with some new functionality. Additionally, I plan to update Pod, which is still in PF 0.4.5, since that was the last to have its own built-in sound before PFP came along.

I know Conan's working on Space Treker III, but I haven't heard much from anyone else in a while, so I'm just curious if there's any other PF development going on. I'd be surprised if there wasn't.

Thierry, do you have any updates on the new PF/HAL stuff you're working on?

Thanks,
-John
Hi John, you know what I'm up to but there are bound to be 'sleepers' out there who like before just pop up with completed games.

Currently I see no value in moving from PF especially with the HAL developments. I'm more interested in getting a better 3D engine than I currently use when STIII is complete.

STIII update: Deep in the middle of coding the trading part of the game which requires me to tidy up all the 3D models used to show the goods available so all long & boring task. AFter that I still have to implement the alien ships, combat, space stations and a few other bits including sound. There's lots more working already though & my space displays are still as good/better than any game on PPC which has published screens.
I´m still using pocket frog too, this time coding a top-down racing game. I just finished the AI for the computer to run on the tracks ( its cool to see the cars running by themselves ) and now I´m refining the track editor to add ground turbos and things like that.
I´m pretty curious about the new PF too, on my new game I spend a lot of performance just to draw the tracks with 16x16 clipped blocks, but seems that with the new PF the speed will increase in this basic routines.
I am sorry to report (if it wasn't obvious already) that development on PocketHAL is going slowly. But it sure ain't going to stop.

The framework is built and I have a couple of test cases running. The following drivers have been implemented and tested:

- GDI
- GAPI
- StrongARM (SA1110)

The following have been implemented (but not tested yet):

- ATI Imageon 100 (for our E740 friends)
- MediaQ 1132 (Altough I don't expect much from this one)
- XScale (Need to find a device that uses it)

I am currently trying to get my hands on the documentation for the MediaQ 1168 and MediaQ 1178. They are unfortunately not backward compatible with the 1132 (altough they seem quite similar).

When all the above is resolved, I will have to wrap up everything for distribution. PocketHAL will then be released for "beta testing".

During that "beta test", I will work on a PocketHAL enabled version of PocketFrog, probably based on 0.6.1 (as 0.7.0 has a few issues). This should only take a day or two.


Note: synchronized (with VSYNC) blits and true double buffering probably won't make it in the first version of PocketHAL. The main benefits of the first version will thus be mainly: 1) No screen rotation to handle, 2) Faster blits from the backbuffer to the display memory.
Thierry, do you know which functions, if any, from 0.7.0 will make it in your next official release? It's not really for me since I'm using GD at the moment (but I reserve the right to flip-flop in the future :) ) but I think there are some that have moved to 0.7.0 that would like to know that their code will still work with minor (or preferably no) changes later. I'm of course only talking about those functions that I added, so I guess it also covers a couple of 0.6.x versions as well (I don't even remember when I started tinkering).
Basically I would like to keep the "rotate & strech" blit functionality that was added to 0.7.0. But the current implementation is highly inefficient (it's actually doing two blits back to back). I want to fix so that only one blit is used to do both rotation and stretching at the same time.

I also want to keep the fixes done to the framework (loosing/gaining focus without crashing).

Aside from that, I don't remember what was added in 0.7.0, but I will take a look.

The main reason I want to start with 0.6.1 is because all the sample projects are messed up in 0.7.0. With 0.6.1 you could just open the "samples" workspace and compile any sample and it would work. With 0.7.0, all the settings (paths for example) are wrong.
What if you just copy the samples from 0.6.1 to go with the 0.7.0 source?
Presto wrote:
What if you just copy the samples from 0.6.1 to go with the 0.7.0 source?


I could do that I guess.

Another thing I remember now: 0.7.0 has these "tab" characters embedded everywhere the code was changed (puah!).
Code looks ugly on my screen...

=)
Really? I wasn't aware the pathing was wrong in 0.7.0. Then again, why would I if they compiled for me?!? Sorry about that if it's the case, I wasn't aware.

I think some of the things that people requested that I added are the things you complained about a while back... The overloaded methods for various things for example. They are just conveniences, but people liked them.

I understand the stretch-rotate blit thing. That was just a hack, and I think I made that clear to everyone when I added it. Glad to hear you'll be doing it right :)

I'd also like to see the VGA font function stay, just because it's a sentimental favorite of mine.

I don't think there was really much else aside from that stuff.
Yes, but the code looks pretty on my screen :)

That's a relatively minor quip in any case, but I'm certainly not going to argue the point, I generally prefer spaces myself (actually, had you asked me, I would have told you that's what I had my settings as, I usually do have tabs converted to spaces. My bad).
Copying the samples should be fine, I don't believe I changed anything in the samples. Remember that there are I think two new samples that weren't in 0.6.0, they probably should get copied over (after you remove the tabs of course :) )
No problem Frank, you did a great job. I am just stating what I want to change for the next release.

The samples haven't change. It's the workspace that is gone (or not working properly, I don't remember). Basically the samples workspace was set so that all samples had a dependency on PocketFrog. This is now gone and you have to manually compile PocketFrog before compiling the samples. Another side effect is that if you change the target path of the PocketFrog lib, it won't link anymore.

Agreed with the fonts functionality, I want to keep that stuff.
Oh, ok, I know what you mean. I actually broke that on purpose. My thinking was that it was better to have all separate workspaces because I wanted to have as little dependency as possible. You know, all that low coupling, high-atomicity OOP crap :)

I understand your point though, it makes sense on another level.

I look forward to playing with the next release. I don't envision changing my current project to PF, but the next I could come back. I have no real allegiance to either library (I suppose that's good or bad, depending on which side your on :) )