PocketMatrix forums

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

PC game development

I am trying to find out how well PF works for desktop games? I have read some posts that said it uses GDI? How fast it is compared to the PPC version?

Has anyone used PF to create a cross platform game yet (PC and PPC)? If so how did it work out in terms of speed and portability?

Thanks...
It's easy to develop for both PocketPC / PC but most people only use PC for testing & don't release on that platform though sometimes the PPC version is sold & PC is free.

Speed wise obviously it's much faster on PC. You can modify the PF engint to have larger screen sizes to suit PC as well.
Has anyone used PF to create a cross platform game yet (PC and PPC)? If so how did it work out in terms of speed and portability?


I've got the PC version of my freeware slot machine game, written using PocketFrog, available for download on my website if you'd like an example to compare.

http://www.secretwood.com/

I did most of my development on the desktop using Visual Studio and copied to EVC++ for testing on the device. The only difference is in the way the compilers treat strings, so you need handle that in your code.

Rich
I'm always amazed that there are people out there who don't show up on the forum much & just quietly turn out PF games. Very interesting reading your personal info as it's similar to mine though I live in the wet part of the island (Scotland)
There's some advantages to staying quiet. I'm glad at the moment that nobody is asking me if I'm making any progress on Nova Dawn because the weather is too nice to be sitting inside and writing code!

I thought I ought to expand a bit on the difference with handling strings for the benefit of ELSeeker. This is how I do it in my code:
Code:

#if !defined(_WIN32_WCE)
char* m_eggtxt = "Coming Soon - Nova Dawn";
#else
unsigned short* m_eggtxt = L"Coming Soon - Nova Dawn";
#endif

Its all because of Unicode and stuff.

HTH

Rich
Hi Rich, you can do even better by using all the _T macros so you can get one piece of code which works on either PC ASCII or PPC unicode. This just leaves file paths which need ifdef's

eg: _tcsncpy, _itot, TCHAR str1[]=TEXT("something")[/code]
Thats neat, Thanks Conan.
Before adding mulit-codepage support I had no
#if defined(_WIN32_WCE)
in the code at all, as Conan said, just use TCHAR, _T("") _tcscpy,_tcslen and many others and it would be OK. I have a lot of file& string handling, but no macros like _WIN32 (Now I have just because I added support for multiple languages).
Something like:
Code:
typedef unsigned __int8 ui8; //unsigned char
typedef signed __int8 si8; //signed char
could also help.
But there are some little differences in STL...

Hey Ian, did you have enough time to talk in forums in the most coddddding period ? :wink:

I start to write on forum just when I want to ask something, of when I do some non-coding job (drawing,rendering,sound etc), like now :lol:
Because I'm still learning both C++ and games development I always was on the forum even when coding hard (I code mostly on the train). I still owe Dan East a crate of beer for all the help he gave me esp. on 3D.
Oh, I see. Then it's only my style of programming - to plunge into coding without knowing what is going on in an outerworld :)

Later: Oh, fogot you have three kids! It's more than three different developing world's :lol:
I can't code that really hard - I always need alot of breaks or I'll get tired. So, forums are a nice place to look aside from programming stuff.

Too bad there's not much of a talk..