Report article RSS Feed v0.2.5 updates and loading times report

v0.2.5 is nearing completion, and will be available here on ModDB for download. While v0.2 Beta RC1 is available, we decided not to upload it here, since that version was extremely bloated, taking a very long time to load.

Posted by FusionTeam on Sep 5th, 2008

v0.2.5 is nearing completion, and will be available here on ModDB for download. While v0.2 Beta RC1 is available, we decided not to upload it here, since that version was extremely bloated, taking a very long time to load.

This problem is due to a major oversight in Game Maker. Even when you delete a resource (sound, graphics, scripts) from the source, the internal resource counter does not change. For example, there is a resource called "sound100". You delete that and create a new sound resource. That new resource is named "sound101".

Imagine that accumulating over six months with the countless mergings we've done, and you'll see the numbers dramatically increase. Before Obreck and I knew about any of this, our source suddenly stopped working. Things behaved strangely, like no music playing and world map movement glitches. Our source was corrupted beyond repair, and it caused us to lose 1 1/2 weeks of work. Looking at the corrupt source, Game Maker thought that there was this many of each resource:

332,113 sprites
130,461 sounds
100,884 backgrounds
617 paths
24,104 scripts
514 fonts
1,534 timelines
291,169 objects
70,078 rooms

...all in a 30,054KB GMK source file.

Thanks to the utility LateralGM, and help from one of its developers (Clam), we were able to defrag and optimize the GMK source immensely. The optimized resource count:

996 sprites
264 sounds
286 backgrounds
3 paths
163 scripts (mostly the FMOD scripts)
1 font
0 timelines
890 objects
240 rooms

Final filesize: 25,672KB

We shaved off almost 5MB of unused, memory-hogging resource data that pointed to nothing. Now this optimized source loads lightning fast: less than 2 minutes for me as compared to 15 to 20 minutes before. Backgrounds (except tilesets) and uncommon sounds will be externalized, bringing down filesize and RAM requirements as well.

Too much of the unused resource data had accumulated over 6 months to a point where it caused Game Maker to choke.

This fix will benefit both developer and gamers alike. The optimized game source allows for much easier and much faster updates for the developers. For the gamer, future versions will load much much faster than v0.2 Beta RC1.

v0.2.5 will be totally optimized, loading much faster than v0.2. Here are some of the new features and fixes to expect in v0.2.5:

*Heavily optimized Game Maker source file makes the game load much faster than before.
*Fully complete Mega Man suits for all characters.
*3HP for the Mega Man suits when in World 3, withstanding three hits before it is lost. Outside of World 3, the suits will be lost on one hit.
*At least ten new levels included, bringing the number of playable levels to about 40 in v0.2.5 Beta.

The chief complaint about the game, slowdown and lag on certain computers, will not be able to be addressed until a utility comes out that allows us to compile the Game Maker GMK source into C++, which, in turn, compiles it into a Windows Executable. The lag is solely due to the interpreted nature of Game Maker games; they are pre-packed with an interpreter along with the source code in one EXE. Interpreted code is much much slower than compiled software. One such utility, ENIGMA, will be able to parse the GMK source into C++. In turn, it will compile the C++ code into a true Windows executable.

Post comment Comments
koto_azure
koto_azure Sep 5 2008, 3:50pm says:

Woot! The loading time was very bad, can't wait to try this one out ^_^

+1 vote     reply to comment
vIiRuS_
vIiRuS_ Sep 5 2008, 5:42pm says:

YAY
Cant wait till 0.2.5 comes out :D
This Game is Great.
and btw. it took only 3 or 4 minutes for me too load (with 0.2 RC1)

+1 vote     reply to comment
ImHorny
ImHorny Sep 5 2008, 5:45pm says:

woohoo!
Hope it doesn't take to long!
And I tried in on Linux with wine: the Loading time there was 4 minutes.

+1 vote     reply to comment
tnathan475
tnathan475 Sep 5 2008, 11:46pm says:

nice can't wait!

+1 vote     reply to comment
creamola
creamola Sep 7 2008, 4:22am says:

I decided to wait with trying this game until this version was going to be out. I hope it'll be here soon!

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

News
Browse
News
Report Abuse
Report article
Related Games
Mushroom Kingdom Fusion
Mushroom Kingdom Fusion Single Player Platformer
Related Engines
GameMaker: Studio
GameMaker: Studio Commercial Released Nov 13, 1999