• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Asset - Scripts UBG Strings

Binsk

Member
Yoyo Marketplace (coming at some point)
Itch.IO
Upset Baby Games

View the online documentation to explore the available functions.
Would you like to expand upon the available string functions included in GameMaker? This extension does just that.
The added functionality ranges from small to large. Whether it is just expanded string search functions or adding inline bbcode support and formatting, this extension makes working with strings significantly more pleasant.

Initial Setup

As this is merely an expansion of functionality to an existing GameMaker structure, there is no extra setup needed.
All you need to do is import the scripts and use them like you would any other. Every script header contains a rundown of how to use it as well as the occasional example. You can also use the online documentation to quickly find what you need.

Features

The functions are split into 4 main categories:

The Print category handles converting strings from one format to another. For example, converting between Pascal and Snake case. Capitalizing a sentence, padding, trimming, pre-formatting wrap, processing placeholders, and so forth.
The Convert category handles converting between two datatypes where one of them is a string. So functions like explode, implode, hex conversion, and so forth are covered here.
The Search category handles retrieving data from a string. Functions such as pulling values from between nested symbols, simple match searches, and filepath-based searches are included.
The BBCode category handles parsing and printing BBCode. The system handles a subset of BBCode that allows for inline color changing, text formatting, and url links.

Platform / Support

This system is programmed in native GML for maximum compatibility. If you come across any bugs or wish to have a feature implemented then please let us know!
 
Top