Wow you replied! I was about to PM you regarding the issue
No I have not tested any other extensions but I was wondering the exact same thing. I suppose it would be easier to test another extension rather than you slaving like an animal to fix my problem
, but I will not have to do that for a few more days since I am rarely forced to work on the win2k machine. Honestly, this is the first extension I have ever needed to download.
Short success story: I was loading/unloading resources using background_add_background(file) during run-time, and there were very noticable hang-ups. Installed kbzip and replaced all my background_add_background lines with the kbzipLoadBackground function(Thats it!!!) and boom, hardly even noticable hang-ups. Feels like it is 160% faster.
Anyways, I am sure the issue is with win2k and I will try and get back to you on wether I can run a GEX on win2k at all. Thanks again for this awesome extension, oh and nice website
But it gave me an error when I tried to comment on your tetris clone
...
Well, let me know about the win2k issue. I don't think I could do anything to fix it anyway, but at the least I'd like to know about it.
Success...actually, I'm not sure why that would happen. Since GameMaker doesn't give us access directly to the resources, my script actually extracts the file, loads it in(using GM's background loading functions) and then deletes the file, so it isn't just sitting there for anyone to find it. My only guess would be that somehow the file is cached in the hard drive's cache space once it is extracted, and maybe never actually gets written to the "real" harddrive space. Reading and writing to the cache space is much quicker than the actual hard drive, so maybe that has something to do with it. Any way, I'm glad it worked out.
I can make a suggestion for you, but it could make the game a little more complicated, though it may be better in the long run for you, especially if you have lots of sprites and backgrounds you are loading in. My extension has a separate program for creating "special" archives, which contain groups of sprites and backgrounds. When creating that archive, you also define what variables the sprites and backgrounds get loaded into. Then, at run-time, you can call a single extension function, and it will load all of those sprites and backgrounds into all those variables, all at once. Sure, it theoretically isn't really faster, because the loading functions are still getting called, but it can save code writing. It would also allow you to have different graphics for levels, using the same variable names, though you would make sure you called the deletion function first, in order to free the previously loaded graphics. Then, you could have different archives for different "themes" and easily switch between them. There is a catch to this though...you'd have to exclusively use the game maker sprite/background file formats(*.gmspr/*.gmbck). This is because that format includes all the details of the sprite, including all the animations, the center, the mask settings, everything, and so I didn't have to hassle with all of that, and rather use GM's GUI to load and export the sprites. Anyway, it's a suggestion.
Lastly, thanks for checking my site out. I never actually tested the comment system(I'm using wordpress) but I'll take a looksy.
**
If anyone sees this, maybe they can give me some opinions. How much use would I get out of this extension if I added "streamed" loading. I've seen one other extension that does it, but it is pretty old(TARC or something like that), and if I added it, it would allow things to be loaded little by little, making it easy to create a loading screen. Then, you could easily queue up a few operations(loading and deleting resources), then fire away, and you would also get access to a "percentage" so you could show something like that. What do you guys think? I may create it anyway, if nothing but for my personal usage, but I'm not sure.