PocketMatrix forums

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

License and other questions.

Hi.

I'm a new developper, and I want make freeware/shareware games. I was make some test with GD but I disagree the lattest license (v.2.05).

Maybe PF is the solution but I have two questions:

1.- PocketFrog is a true alternative for GD? My fear is to use a library with no future upgrades.

2.- In PocketFrog I will need show a splash screen with PF logo ? (for freeware). I can pay some $ (less than 50) for a professional version (with no logo) or show the logo only in "about menu".

Thanks for your help.
(Please excuseme my very bad english please).

Regards.
1 - Yes. There are quite a few games out there that use the PF engine. (I've made 3 this year.)

2 - You can do whatever you want with the splash screen. You can disable it by setting its timer to 0 in the config struct, or you can override the SplashScreen() function to show whatever you want.

-John
Hi Presto:

Thanks for your replys.

My question is, in a future PF will release new versions?.
Version 0.7.0, which is out now, still comes with the full source, so you can upgrade it to your heart's content.

Thierry's working on a new version too, which will include what's been named "PocketHAL" (HAL = Hardware Accelleration Layer). When this version is released (soon - read the other posts), it'll be available in .lib format.

So yes, upgrades are available.
PocketFrog has always been free and includes full source code. The SplashScreen mentionned above is part of the framework class (Game). You can disable it, change it, or not even use the framework. You do what you want.

The PocketHAL component will be in a .lib format. The license will be the same: it's free. You use it as you want.
Kzinti · 23 Sep 2003, 15:41 UTC — License and other questions.
javiero wrote:
1.- PocketFrog is a true alternative for GD? My fear is to use a library with no future upgrades.


PocketFrog is an alternative to GD. It currently has less features then GapiDraw, but I will be working hard to improve this situation. All the essential functionality is already there: double buffering in any screen orientation, blits, stretching, rotation, lines, alpha blending, ... It even has user-defined pixel shaders.

javiero wrote:
2.- In PocketFrog I will need show a splash screen with PF logo ? (for freeware). I can pay some $ (less than 50) for a professional version (with no logo) or show the logo only in "about menu".


See my previous post. You don't have to show any SplashScreen if you don't want to.

javiero wrote:
Thanks for your help.
(Please excuseme my very bad english please).


Your english is excellent!
What does PocketFrog suck in from Windows? I read somewhere that it derives from ATL stuff? I don't want any heavyweight stuff in my app. Is there a page where I can read about all the dependencies and like stuff?
Presto wrote:
Thierry's working on a new version too, which will include what's been named "PocketHAL" (HAL = Hardware Accelleration Layer).


Doesn't HAL typically stand for Hardware Abstraction Layer?
Hi:

Many thanks to all for your help.

I will make some test for know how hard is code for PF.

Thierry: I read some post of you in the forums, thanks for help PF for free. ;-)

Regards to all. ;-)
LMAO. ATL is heavy weight! Yeah! And the STL is Eviiiiil.

ATL is about as light weight of a library as you're going to get. You're confusing it with MFC.

Deriving from the ATL just ads some interfaces most of the time.
mlepage wrote:
What does PocketFrog suck in from Windows? I read somewhere that it derives from ATL stuff? I don't want any heavyweight stuff in my app. Is there a page where I can read about all the dependencies and like stuff?



ATL is used previsely because it is lightweight, efficient and easy to use. It doesn't get better then this.

The "alternatives"? MFC = Heavyweight and straight Win32 API = You gotta be kidding me.
mlepage wrote:
Doesn't HAL typically stand for Hardware Abstraction Layer?


Doh! I think you're right. Thanks.
Then again, since in this case it IS a layer of code meant to Accelerator the hardware (well, sort of anyway), I guess you could be seen as right Presto.

Ah, (H)ardware (A)bstration/(A)cceleration/(A)rchitecture/(A)mazing/(A)unt Bee (L)ayer.

Whatever.

As long as it works well, who cares! :)
deege · 27 Sep 2003, 06:39 UTC — License and other questions.
Thierry wrote:
PocketFrog is an alternative to GD. It currently has less features then GapiDraw, but I will be working hard to improve this situation.


Is there anything the community can do to help you out? Specifically, are there features that you could hand out to parallelize the work? I'd be willing to help!
Kzinti · 27 Sep 2003, 06:51 UTC — License and other questions.
deege wrote:
Is there anything the community can do to help you out? Specifically, are there features that you could hand out to parallelize the work? I'd be willing to help!


The main thing I would like to have right now is a quick ass demo. Something demo-scene quality that would show off what you can do with PocketFrog.

Asside from that, any feature that you think would be useful and is not in PF is welcome.

Some people are working on a pixel-based collision detection function. This is great. Anything else you can think of is welcome. Sounds, GUI library, 3D rasterizer, math library, ... The sky is the limit! Let's fill it with Frogs =)
STL is the bomb, I use it all the time.

I never liked MFC for obvious reasons. It's just too horrid.

I've never used ATL. I understand it's an STL-like effort. I consider it obsolete since the STL is here.

What I mean about heavyweight, is not necessarily big/bloated/slow, but also introducing extra dependencies in my application.

Normally, I like C++, STL (and the rest of the standard library), and a main function. I include the standard C/C++, and sometimes Unix, headers. I like to know about anything else I use that isn't my code.

Back when I was writing data mining servers, that was pretty much it. They would maybe use a third party library for neural networks and like functionality, but nothing more. The servers were clean. Sure, the GUI wrapped around them was Windows to the core and had a lot of dependencies, but the servers were clean programs with almost no dependencies.

The Windows headers are extra things. MFC is extra. ATL is extra. I like to know what my app is using. And I like it to be as little as possible. I don't use the Windows file functions, I use the C ones.

Right now, my game app is using C++ with STLport. It uses a tiny bit of Windows functionality (timers for profiling, maybe something else). It uses the generic text routines. It uses GapiDraw. I wrote my own parsers, matrix library, etc. I might someday add a fixed point library, either my own or a third party one I can just drop in via source code.

This has the side effect of keeping my app well contained for potential porting. I spent the first couple of years of my professional career porting complicated Windows enterprise applications (using OLE, COM, DLLs, you name it) from Windows to five flavours of Unix for a major software vendor. So reducing dependencies is something I tend to do as second nature now.

It would perhaps be nicer if derivation from ATL was a compile-time option. Those who want/need it can enable it, others such as myself can disable it. Just a suggestion.
mlepage wrote:
I've never used ATL. I understand it's an STL-like effort. I consider it obsolete since the STL is here.


ATL has nothing to do with STL, nor does it replaces it. ATL is only used to create the application window and dispatch window messages. i.e. it is used as a win32 wrapper to your main window.


mlepage wrote:
It would perhaps be nicer if derivation from ATL was a compile-time option. Those who want/need it can enable it, others such as myself can disable it. Just a suggestion.


It can't be a compile time option, otherwise one would have to write extremely boring and tedious Win32 code.

If you don't want it, just don't use the framework (class Game) and voila: no ATL. Be prepared to write a WindowProc and all the problems associated with it. Seriously, do yourself a favor: look at how ATL is used in the samples, it is worth using it.

Considering dependencies: I would argue that it's better to use ATL then a proprietary "GapiApplication" class.
OK if it's just an application-type object that's understandable.

I just don't want to start pulling in COM and OLE and all that jazz.
mlepage wrote:
OK if it's just an application-type object that's understandable.

I just don't want to start pulling in COM and OLE and all that jazz.


Oh I see where you are coming from. PocketFrog only uses ATL to deal with your app's window. You don't need to link with any ATL component. It sure doesn't use COM or anything of that nature.
Just to clearify:

Quote from MSDN: "The Active Template Library (ATL) is a set of template-based C++ classes that let you create small, fast Component Object Model (COM) objects. It has special support for key COM features, including stock implementations, dual interfaces, standard COM enumerator interfaces, connection points, tear-off interfaces, and ActiveX controls."

So, ATL was constructed for COM and ActiveX usage. BUT, it can also be used as a Win32 (or WinSDK) wrapper only. You don't need the COM code. And since it is based on templates, it is VERY light-weight. Only the objects used are included (and not everything else as with a non template based library).

Unfortunately (for you) I couldn't find any good link on google explaining the basics of ATL without clogging it up with horrifying COM code and Windows style coding. All my good links about the subject, including links to a good WTL page, are out of reach on my old computer. (WTL -Window Template Library- is an extension to the ATL library by the same crew. It provides a bunch of usefull widgets).

I guess what you do is look at PF's game framework and then look at MSDN's spec for ATL Window components.

This was the only thing I found worth linking:

http://www.rpi.edu/~pudeyo/articles/wtlstart.html