GML Functions Overview

This page gives an overview of all available GML functions. They are organized in the same way as the Game Maker documentation. Most function names and variables are clickable and lead to a page with detailed information about the function. When the pages do not exist you are encouraged to add them if you have enough knowledge about them. Please follow the same format as the other function pages.

The following conventions are used in the pages below:


 * Variable names marked with a * are read-only (cannot be changed).
 * Variable names with [0..n] after them are arrays. The range of possible indices is included in the description.

Basic Computation

 * GML Functions: Value-Handling Functions
 * GML Functions: String-Handling Functions
 * GML Functions: Random Functions
 * GML Functions: Date and Time Functions

Game Play

 * GML Functions: Moving Around
 * GML Functions: Paths‎
 * GML Functions: Motion Planning
 * GML Functions: Collision Checking‎
 * GML Functions: Instances
 * GML Functions: Deactivating Instances
 * GML Functions: Timing
 * GML Functions: Rooms
 * GML Functions: Score
 * GML Functions: Generating Events
 * GML Functions: Miscellaneous Variables and Functions

User Interaction

 * GML Functions: The Keyboard
 * GML Functions: The Mouse
 * GML Functions: The Joystick

Game Graphics

 * GML Functions: Sprites and Images
 * GML Functions: Backgrounds
 * GML Functions: Drawing Sprites and Backgrounds
 * GML Functions: Drawing Shapes‎
 * GML Functions: Fonts and Text
 * GML Functions: Advanced Drawing Functions
 * GML Functions: Drawing Surfaces
 * GML Functions: Tiles
 * GML Functions: The Display
 * GML Functions: The Window
 * GML Functions: Views
 * GML Functions: Repainting the Screen

Sound and Music

 * GML Functions: Basic Sound Functions
 * GML Functions: Sound Effects
 * GML Functions: 3D Sound‎
 * GML Functions: CD Music

Splash screens, Highscores, and Other Pop-ups

 * GML Functions: Splash Screens
 * GML Functions: Pop-Up Messages and Questions
 * GML Functions: Highscore List

Accessing Resources

 * GML Functions: Accessing Sprites
 * GML Functions: Accessing Sounds
 * GML Functions: Accessing Backgrounds
 * GML Functions: Accessing Fonts
 * GML Functions: Accessing Paths
 * GML Functions: Accessing Scripts
 * GML Functions: Accessing Timelines
 * GML Functions: Accessing Objects
 * GML Functions: Accessing Rooms

Changing Resources

 * GML Functions: Changing Sprites
 * GML Functions: Changing Sounds
 * GML Functions: Changing Backgrounds
 * GML Functions: Changing Fonts
 * GML Functions: Changing Paths
 * GML Functions: Changing Scripts
 * GML Functions: Changing Time Lines
 * GML Functions: Changing Objects
 * GML Functions: Changing Rooms

Files, Registry, and Executing Programs

 * GML Functions: Files
 * GML Functions: Registry
 * GML Functions: INI Files
 * GML Functions: Executing Programs
 * GML Functions: Device specific commands

Data Structures

 * GML Functions: Stacks
 * GML Functions: Queues
 * GML Functions: Lists
 * GML Functions: Maps
 * GML Functions: Priority Queues
 * GML Functions: Grids

Creating Particles

 * GML Functions: Simple Effects
 * GML Functions: Particle Types
 * GML Functions: Particle Systems
 * GML Functions: Particle Emitters
 * GML Functions: Particle Attractors
 * GML Functions: Particle Destroyers
 * GML Functions: Particle Deflectors
 * GML Functions: Particle Changers
 * GML Functions: Firework Example

Multiplayer Games

 * GML Functions: Setting Up a Connection
 * GML Functions: Creating and Joining Sessions
 * GML Functions: Players
 * GML Functions: Shared Data
 * GML Functions: Messages

DLLs

 * GML Functions: Using DLL's

3D Graphics

 * GML Functions: Going to 3D Mode
 * GML Functions: Easy Drawing
 * GML Functions: Drawing Polygons in 3D
 * GML Functions: Drawing Basic Shapes
 * GML Functions: Viewing the World
 * GML Functions: Transformations
 * GML Functions: Fog
 * GML Functions: Lighting
 * GML Functions: Creating Models