PocketMatrix forums

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

PocketHAL flight demo

For who's interested, I've uploaded a small f18 flight demo including source code, written on pockethal. You can control the plane with the button panel (up/down = speed,left/right steering)
Image

the zipfile can be found at http://www.omnytex.com/pf/fileexchange/ ... htdemo.zip

Joost
That's slick... 16 fps on an e750.

Can that landscape be tilted front to back and zoomed? Or is that fixed? ...So you could fly higher or lower.

I know it's just a demo, but the speed control should increase and decrease while holding the button down. I had to repeatedly press down to slow the plane.
This is my original xfighter idea but I cant find a good engine ;-)
Hi Joost, I will see how it compares to your PF original. Good work.
That's slick... 16 fps on an e750


Yep, my first version was in portrait orientation, then you can easily get 20-25fps, however I thought the real challenge was rendering in landscape, a lot more terrain pixels to process ;-)


Can that landscape be tilted front to back and zoomed? Or is that fixed? ...So you could fly higher or lower


Yes that should be possible, you can change the play_z variabele to move the viewpoint up and down, but you have to recalculate the DistInfo[] table, I assume with some minor optimizations this can be done in realtime, I did not yet try this myself. On the other hand tilting left to right would be a lot harder.


This is my original xfighter idea but I cant find a good engine


Yeah, as a matter of fact, XFighter 2 could be in 3D.
Add some enemies comming out of the distance fog and shooting ...
And be sure to play Ride of the Valkyries at full volume.
I will see how it compares to your PF original


Conan, let me know what you get on the axim 400mhz, however compare it with the previous pocketfrog version is difficult, cause it was in portrait orientation and no fog sky (faster)[/quote]
Yeah, as a matter of fact, XFighter 2 could be in 3D.
Add some enemies comming out of the distance fog and shooting ...


Great idea :-) This reminds me of Microsoft Fury and Descent. A great game during the 90's. And these games hooked me on my 486DX pc back then.
The HAL landscape version gets 15 FPS on the Dell Axim X5 pxa255 400Mhz compared to 22 for the PF portrait version. The HAL one scrolls the land faster & looks much better being full screen.

The use I have for this type of landscape requires loads of landscapes which change through time so I will need to write a landscape manager of some sort to use with my landscape generator.

( I will try on my iPaq 3650 shortly & add on here. PF version 9 FPS, HAL version, no support for this iPaq)
Joost,

Thanks a bunch for your posts. I used your Simple framework to get started using PocketHAL. Great work.

BTW, my MIPS E-125 gets 5fps on your flight demo. Looks nice.

Pam
Pam,
if you are using the mini frog port, you might be interested in copying the blitter.cpp and blitter.h file from the demo, this adds blitting functionality to the port. There is one member function for blitting a surface using a mask color. I've used it to blit the FPS counter and the f18 sprite
Thanks Joost, I'll check it out.

Pam
Hand of Fate · 08 Oct 2004, 02:32 UTC
denthorq wrote:
Yeah, as a matter of fact, XFighter 2 could be in 3D.
Add some enemies comming out of the distance fog and shooting ...


Great idea :-) This reminds me of Microsoft Fury and Descent. A great game during the 90's. And these games hooked me on my 486DX pc back then.


Where is the eMobile X-Fighter?
Can someone could repost the demo ?
(the file is not available anymore)

Thanks!
I think I have the latest version of this one at home. Won't be there for a couple of hours. Did not find it on my desktop so will have to wait till tomorrow to look on my old laptop.
Ok, I cannot find the latest version of the demo (the one with the plane that can move over the landscape. Does anyone else have this & can you post?)

ps: I do have the very first release (source & exe) which is a simple portrait Voxel landscape.
i take it all ! ;)

But well, if someone could effectively post again the last src/bin it would be great.

Anyway, thank you Conan
Hello! :D

Here it is, I think:
http://vladtepes.online.fr/temp/flightdemo.zip
Temporary location, so upload it once more :wink: .

@ bientot :P ,
Joshu.
Thanks joshu

#ifdef __FRENCH__
Hmm.. France... kk liens epitek.online.fr... tu serais pas d'Epitech toi ?? ;)

Merci pour l'archive en tout cas.
#endif /* __FRENCH__ */
Yes, that's the one. Many thanks, I don't know what I did with my copy. That's the downside of getting a new PC, you think you copy everything but ....
Hello! :D
argal wrote:#ifdef __FRENCH__ Hmm.. France... kk liens epitek.online.fr... tu serais pas d'Epitech toi ?? #endif /* __FRENCH__ */
[mode french] Tu as tout trouve! Petit curieux Argal... :wink: [/mode french]
Well, I will delete this temporary file tomorrow.
So, think to take it now!

@ bientot :P ,
Joshu.
I grab it when i see your post.
You can delete it.
And thanks a lot Epitech friend (i'm from it too) ;)

#ifdef __FRENCH__
tu es en quelle annee ?
tu as quoi comme PDA ?
tu fais quoi avec ? code ? (a priori oui...)
Dans tous les cas: merci beaucoup et amuses toi bien!
#endif /* __FRENCH__ */
hmm..
I forgot something: login..............

Last msg posted was from me.
Check your private message :wink:
joshu wrote:Check your private message :wink:


Did u ever improve this demo? Can I have the latest version too. Please send to denthorq@yahoo.com

Thanks joshu.
Hand of Fate":4r0m9bh0]

Check out http://www.emobilesoftware.com

Btw joshu, that was me asking for flight demo.

DenthorQ :-)
Hi guys,

I often receive questions about reposting the binaries+source for this demo.
Since I had to suspend all (non professional) development due to being father of 3 children,
I zipped all of my dev stuff and I'v put it on http://users.pandora.be/joost.bruneel/
you will find everything there (38MB file)

regards, Joost
Thanks. I've downloaded your PPC stuff for a look.

I know what you mean about no time, I've got 3 kids too.
allan175 wrote:Thanks. I've downloaded your PPC stuff for a look.

I know what you mean about no time, I've got 3 kids too.


Hey, dont give up guys, I'm a father too LOL.

I usually code between 10pm-2am. Right after my baby sleeps. :P
I have 3 children also. I do most coding on the train to work. Will download your stuff for a look over, thanks.
All right, seems like a non valid argument to stop development ;-)

I will make an effort to resume the work, I still like the idea for an 'Xfighter like game' with the voxel terrain on the background.
JoostB wrote:All right, seems like a non valid argument to stop development ;-)

I will make an effort to resume the work, I still like the idea for an 'Xfighter like game' with the voxel terrain on the background.


it is still on my to do list soon. that's why im asking for your code ;-) maybe you can help when we start with it LOL. btw, drop me a private mesg if you have good ideas so we can go further.

nice that we encourage you not to give up ppc dev :twisted: