MarkUp 1/Useful Game Maker Stuff: Scripts

In the “Extending Game Maker” forum, we find lots of good scripts and DLLs for download, all of them could be useful for many games, and we’re going to point out some of the useful scripts, and some of them didn’t get that much attention.

Auto Insert Line Break Script
By DFortun81

This is one of the useful scripts that would have common use everywhere in the GMC. It will insert line-break symbols “#” (i.e. the character chr(13).) in a certain string so that the text would wrap itself within a specific width, both the string and width for the string to be wrapped within are defined by the user.

Here

My Text Typer
By Josh @ Dreamland

This is a very useful script that acts as some sort of “textbox” engine where you can make the script write colored text by simple {color} tags ({c_red} or {$FFFFFF}). It works very well, but should be used carefully; it is not used in the draw event or the step event, but must only be called once. Still, I do think that this is a very useful script for those who want to draw colored text.

Here

GM Windows Textbox
By DeadMeat

With lots of confidence, I say that this is one of the most (if not the most) well done Game Maker Textbox imitators.

It its so good that in fact, the textboxes could be of multiple lines (imitating TMemo components) single line (TEdit), could be editable, or just read only. The cursor could be moved to insert new text in the middle of the text, it could be used (in cooperation with the mouse) to select multiple lines of text or characters and type over them. The selection is done very smoothly, so is the whole process, its only problem that I could find is that textboxes only write as much text as they would fit (in exception of multiple lined textboxes with scrollbars). Still, I see this as one of the best and definitely something that I would recommend to others.

No longer exists.

GWindows System (v3)
By lelo707

During the release of the second version of the GWindows Scripts, there were really cool and considered by most people as “the thing!” I remember how much I was astonished when I saw them for the first time and was so fascinated by the way they work and how good they do. And in late 2005, lelo707 announced that he was going to start working on a new version of GWindows, and by what we can see now, it is excellent!

It now has child windows, excellent menus, and long with its previous features like buttons, lists, textboxes, and so on. Also, this time, lelo707 has decided to add the ability for having the XP Style, and even the possibility of toggling between the 98 (or 2000) style and the XP Style as simple as calling one simple function.

This set of scripts is definitely a must-try, even if you’re working on games were textboxes wouldn’t be useful, I do strongly encourage everyone to try this set of scripts, and you’ll be fascinated by how large anyone can expand with GM alone.

Here, officially discontinued.

Conversion from Decimal to any base and back
By wormhole

Okay, okay, I know! This set of scripts doesn’t *exactly* fit under this article, cause they’re not that useful, but still, you may have a strange game that needs those functions! Anyways, I really think this is a very nicely done set of scripts and showcasing it here is really worth it. It would help those who want to convert decimal to binary, decimal to hexadecimal, or to any other base. It is also good educationally to let you get to know the different numerical bases.

Here