MFGG Forums
TGF Extensions - Printable Version

+- MFGG Forums (
+-- Forum: MFGG (
+--- Forum: Developer Discussion (
+--- Thread: TGF Extensions (/showthread.php?tid=2792)

TGF Extensions - Q-Nova - 11-10-2021

I was trying open up a TGF How-To on MFGG, and I got an error message saying it couldn't find a certain .GOX file. So I went to look up that file, and look what I found!

In that page you can download 88 (!) extensions for TGF! I know there's at least one person here who still uses TGF (@Yakibomb, if I'm not mistaken?), so I thought it'd be worth posting about it here! I found a thread about it on Glorious Trainwrecks, and Danni has some good advice regarding the extensions:
Danni Wrote:Klik & Play does not support extensions. You might be thinking of Click & Create. There have actually been some extensions "only" for CNC and not TGF. However, TGF can use those extensions as well: You simply rename .cox to .gox.

Also note that the list has a few extensions that already come bundled with TGF. Functionality from some of the third-party extensions was incorporated into later Click programs, such as Advanced Math and Fast Loops.

Personally, I think the TGF extensions are somewhat of a mixed bag. You have some great ones, some not so great ones, and some that don't even work:

- Please don't use the Mixer Object as this alters the user's Windows settings. If you need to adjust volume in your game, use DMC2 or a later Click program instead.
- The Titlebar Object is prone to crashes. Use the Power App Lite object instead.
- The Palette Object will not work on newer versions of Windows (it's neat on Windows 98 though).
- The Mouse Object can be useful for making custom mouse movements as you can get the mouse velocities and reposition the mouse, but you might have behavioral differences between versions of Windows.
- Because TGF doesn't provide anything in the way of string manipulation, the String Object will be useful to have - for example, you can use it to create typewriter text where the letters of a string appear one at a time.
- While 16 Global Values should be enough for many games, if you run out and don't want to have to deal with squeezing multiple numbers into one Global Value, you can try the 1000 Global Values Object.
- Because TGF does not have Global Strings, the 1000 Global Strings Object might also be useful.
- The Drawline Object is neat but it has some drawing bugs related to scrolling.
- I have not been able to figure out the Chain Object.
- I believe the "Lego" and "Probe Lego" extensions were used for LEGO Mindstorms.

In addition to what that person said, I also see a lot of potential in the Fast Function Object and Fast Loop Object. The former lets you make an event that can be activated anytime, while the latter lets you make a loop, which is really useful if you want to do multiple things just before the screen refreshes. Data Store is the extension I was looking for, and that one seems to create and load encrypted files, which could be useful. Although, the size of the file it uses is 55KB, which might be a bit much (this is just for storing a value). The Advanced Math object looks like it has some useful stuff, such as decimal offset to get around TGF's natural lack of decimals, but I haven't really figured it out yet. Likewise, the Dynamic Array seems really good, but I haven't understood it yet.

We should really upload these extensions to the main site! I think it would be good if we can get a description for each extension, though.

RE: TGF Extensions - Vitiman - 11-14-2021

This is the kind of quality content I expect to see still posted here these days. Bless you for doing the work to dig around for these, along with those that came before you who compiled the downloads and gave the initial warnings.

Long live The Games Factory, baby