
GameMaker Programming By Example
By :

This section is sort of a "mash-up" of a bunch of important information that we didn't get to tell you before, but that we will now. Some of it is especially helpful to prevent you from writing code that would be flawless in other languages but incorrect in GML.
Before we begin though, a very useful GameMaker community is located at https://www.reddit.com/r/gamemaker (and we've linked another later). The community is very helpful and answers any questions you might have, and they sometimes post projects and code that you can use that might be tedious to make otherwise. The same goes for the community linked later.
So the first bit of information will be on the GameMaker Language. Let's talk about data types. Pretty simple, right? They include, int
, float
, double
, char
, string
, and bool
. Well, GameMaker actually only has float
and string
. Integers are just real numbers, and characters are just strings. There are no Booleans. true...
Change the font size
Change margin width
Change background colour