Color-Coding for the GameMaker: Studio Coding Window

By Michael Rohde

Part of GameMaker: Studio For Dummies Cheat Sheet

GameMaker: Studio features a robust coding window in which developers can type code. This coding window color-codes the code, which makes it easier for developers to find functions, variables, and the like. Here’s a guide to the various colors GamerMaker: Studio uses in the code window:

Color Type of Code
Black Background
Dark gray Current line, line number background
Light gray Normal text, selection
Red Error line
Orange Keywords, functions, script names
Green Comments
Pink Values, constants, built-in variables, resource names
Light pink Selected line, changed line
Purple Line number text

You can update this color scheme if you want. Just follow these steps:

  1. From the Main menu, choose FilePreferences.

    The Preferences window appears.

  2. Click the Scripts and Code tab.

  3. In the Colors section on the right, select the code type, and then choose Change.

    A color graph appears from which you can choose a new color for the type of code you selected.

  4. Click OK from the color graph to save and close.

  5. Repeat Steps 3 and 4 with all the types of code you want to change.

  6. When you’re done updating your color scheme, click OK.

    Your updates are saved and the Preferences window closes.