List All Pages
2D games are the focus of Game Maker and therefore most games made with it are 2D.
A 2D game is has in two dimensions, so that all positions can be defined using two values - x and y. All the...
Making 3D games with Game Maker 7 isn't easy. Only if you already have experience with GML and 3D math should you even attempt it.
Polygon Limits
write me!
3D Models
3D models in Game Maker are...
3DX is a 3D action library for Game Maker.
Screenshot of 3DX tabs.
Description
3DX is created and maintained by jack1993jack of GMC. It is a Drag-and-Drop Action Library.
“3DX uses very...
DO NOT DELETE THIS PAGE
Actions
Related Pages
Action
An action in Game Maker is a response set off by an event. For example, if an instance of a player object hit an instance of an...
Align to Grid - snap an instance to a position grid
Explanation
The Align to Grid will, essentially, divide the x and y of the current object by the entered snap hor and snap vert, respectively,...
Explanation
Make an object bounce.
Related Pages
Actions
GML
action_bounce()
move_bounce_all()
move_bounce_solid()
Backlinks
Categories: Actions : Movement : Physics
Drag and Drop...
Explanation
Burst from Emitter [pro] is an action used to emit particles from a particle emitter.
Related Pages
Particle System
Actions
Stream from Emitter...
Call Parent Event - call the actions of the same event of a parent object
Explanation
The Call Parent Event action is used to execute an object's parent's actions in an event if the child object...
Explanation
Change Instance is an action used to change the object from which an instance is derived.
Related Pages
GML
instance_change()
Backlinks
These pages link back to this page. You may...
Change Sprite — change the sprite of an instance
Explantion
The Change Sprite is used to change a sprite, the animation speed of a sprite and the subimage of a sprite.
Example
This example shows...
Check CD - check if a CD is in the CD tray
Explanation
The Check CD action checks to see if there is a CD in the CD tray, and if so, it returns true.
GML
GML Equivalent
if ( cd_present() )
{...
Check CD Playing - check if a CD is currently playing
Explanation
The Check CD Playing action checks to see if a CD is currently playing and if so, executes the next action(s).
GML
GML...
Check Collision - check for collision at new position
Explanation
The Check Collision action checks if an object's sprite will collide with another sprite if moved to a new...
Check Empty - check if there is no collision at a position
Explanation
Description needed.
GML
check_empty()
Related Pages
Collision
Backlinks
These pages link back to this one. You may find...
Check Grid - check if an object is aligned to a grid
Explanation
The Check Grid action checks to see if an object is aligned to a grid. If so, it executes the next action(s).
Boxes
snap hor. -...
Check Mouse - check if a mouse button is pressed
Explanation
The Check Mouse action checks to see if a mouse button is pressed.
GML
//gml code equivalent here
Tips
Tips here.
Examples
This...
Check Next - check next if next room exists
Explanation
The Check Next action checks to make sure if there is a next room before executing the next action in the action list.
You will want to check...
Check Previous - check next if a previous room exists
Explanation
The Check Previous action checks to make sure if there is a previous room before executing the next action in the action list.
You...
Create Moving - create a moving instance of an object
Explanation
The Create Moving action creates an instance that is moving at the moment is created.
GML Code Equivalents
object, x, y
When...
Create Part System - create a particle system
Explanation
The Create Part System action creates a new particle system.
GML
//gml code equivalent here
Tips
Examples
This page needs...
Different Room - change the current room
Explanation
Description needed.
GML
room_goto()
Related Pages
room transitions
Backlinks
Categories: Actions : Rooms
Drag and Drop Actions :...
Display Message - display a message to the player
Explanation
The Display Message action displays a message to the user using the text you give it.
GML
show_message() - show a message
Related...
Draw Health - draw a healthbar
Explanation
The Draw Health action draws a healthbar. It can only use the health global variable, of which there is only one. Therefore Draw Health is only good for...
Draw Variable - draw the value of a variable.
Explanation
The Draw Variable Action can be used to draw the value of a variable in a room.
The Draw Variable action needs to be placed in the Draw...
Execute Code - executes a piece of code (GML).
Explanation
The Execute Code action executes a piece of GML code in response to an event. The interface for the Execute Code action is the Execute...
An action in Game Maker is a response set off by an event.
For example, if an instance of a player object hit an instance of an asteroid, it causes all the actions in the Collision event for both...
Jump to Position - change the position of an object
Explanation
Jump to Position changes the position of an object.
Boxes
x - The horizontal position to place the object.
y - The vertical position...
Jump to Random - jump to a random position.
Explanation
Jump to Random will cause an instance to jump to a random position in a room.
Examples
Random Position In a Room
If your game doesn't use...
Jump to Start - send an object back to its starting position
Explanation
Jump to Start sends an object back to where it was created.
GML
x = xstart;
y = ystart;
Tips
[click to add a...
_
List of All Actions ( A to Z )
A
Action Name
Does
Lite / Pro
Align to Grid
B
Action Name
Does
Lite / Pro
Bounce
Burst from Emitter
C
Action Name
Does
Lite /...
Move Fixed - start an object moving in up to 8 directions
Explanation
Move Fixed is an action that will start (or stop) an object moving in any combination of eight directions. Choose which...
Move Free - set the direction and speed of an object
Explanation
Move Free sets the direction and speed of an object.
GML
motion_set(direction,speed);
Tips
[click to add a...
Move Towards - start an object moving towards a point
Explanation
Move Towards starts an object moving towards a point.
It does this the same way move_towards_point() does — by setting the speed...
Play Sound - start a sound playing
Explanation
The Play Sound action starts a sound playing.
Boxes
sound: - description of field and value needed
loop: - description of field and value...
Reverse Horizontal - reverse the horizontal speed of an object
Explanation
The Reverse Horizontal reverses the horizontal speed of an object.
GML
hspeed = hspeed * -1;
Tips
[click to add a...
Reverse Vertical - reverse the vertical speed of an object
Description
The Reverse Vertical reverses the horizontal speed of an object.
GML
vspeed = vspeed * -1;
Tips
[click to add a...
The Set Alarm action sets an alarm to go off in a number of steps.
Description
GML
alarm[]
Examples
Starting an alarm
alarm[0] = 30;
This will cause a one second delay before the alarm 0 event...
Set Friction - set the friction of an object
Description
Set Friction sets the friction of an object.
GML
friction = value;
[click to add a GML code equivalent]
Tips
[click to add a...
Set Gravity - set the gravity of an object
Explanation
The Set Gravity action is an action used to set the gravity and / or gravity_direction variables to create an effect of simulated...
Set Variable - sets the value of a variable
Description
The Set Variable action sets the value of a variable.
If the variable did not exist before it was set the variable will automatically be...
Speed Horizontal - change the horizontal speed
Description
The Speed Horizontal action changes the horizontal speed of an object by changing it's hspeed.
GML
hspeed = 4;
Tips
[click to add a...
Speed Vertical - change the vertical speed
Description
The Speed Vertical action changes the vertical speed of an object by changing it's vspeed.
GML
vspeed = 4;
Tips
[click to add a...
Action Stubs
List of Action Stubs
These pages about Drag and Drop Actions are stubs. You can help Game Maker wiki complete by expanding them.
Mark an Action Page as a Stub
You can flag an example...
%%content%%
Drag and Drop Actions : Action Guide | List of Actions
Help Out : Expand an Action Stub
Test Chance - test a probability
Explanation
Explanation needed.
GML
choose()
random()
related GML functions and / or variables.
Categories: Actions : Random
Drag and Drop Actions :...
Test Variable - test the value of a variable
Description
The Test Variable action tests the value of a variable.
GML
if (variable == value)
Tips
Make sure to create a custom variable before...
So, you want to add music, to your game but you don't know how. Well here a few simple steps to adding muisc to your game.
1. Right click the sound folder and click create sound.
2. Then click Load...
Description
The Challenge here is to make a working analog clock. (no digitals) :)
Requirements
Your clock must:
have minute and hour hands, and display the seconds either with a second hand or...
Description
Create an NPC that can avoid being hit by bullets. This is a follow-up to the shoot bullet in any direction challenge. The NPC should try to stay a fixed distance to the player object,...
Description
Create an avatar that goes where you click the mouse, but avoids small obstacles along the way. I.e. if an obstacle is in the avatar's line of sight to the goal, it should go around the...
Description
Create a pull down menu like the one located a the top of the Game Maker IDE.
Requirements
Your pull-down menu must :
have two top-level options, each with at least three...
A.I. or artificial intelligence is easier than you may think when A.I. is considered in the context of most video games. What passes for A.I. is actually simple scripted behaviors such as walking...
Alarms are useful for when you want to count down, for example, to create a countdown timer, time limit, waiting time, or delay.
An alarm can also useful for putting spaces between shots in a...
Action Name Action
alarm action - The alarm action is pretty much self explanatory, it is a variable the automatically counts down to 0 then stops.
Description
The alarm action can be...
Introduction
This is a FAQ about using alarms (and thus timers) in Game Maker 7. If you are not looking for a FAQ, but rather the specific elements that make up the alarm / timer system in Game...
Ammo is kept track of using a variable. First, you need to create a variable for the ammo. You should probably do this in the Create event of the object that has the ammo by giving the ammo...
An angle is a measurement of rotation around a point.
In Game Maker, all angles are measured as degrees rather than radians, though there are functions to convert between the two.
Trigometric...
Animation can take several forms :
2D Animation
The rapid changing of images to give the appearance of movement.
The transformation of images to give the appearance of movement or change.
Sprite...
The term arcade game can refer to one of two things :
A game that has an arcade version.
The arcade game genre.
In this wiki, most uses of the term will refer to the arcade game genre.
Arcade...
Some functions require arguments. Arguments are pieces of data that a function requires to work. Literals, constants, and variables can be used as function arguments. For example, draw_set_color()...
[[table style="width:98%;margin-left:auto;margin-right:auto;"]]
[[row]]
[[cell style="width:70%;vertical-align:top;padding-right:1em;"]]
argument - stores arguments given to a script
( Game Maker...
There is an easy way to create a simple shield/armor system without using gml.
1. Create an invisible object with no sprite. Name this something like obj_armorcontrol.
2. Create the object and...
An Array is like a variable with multiple "slots." Each slot can be considered a space on a shelf, i.e: if you had a shelf that was ten slots across and two high, then you could put an object (or...
An arrow can be a :
Directional Indicator
An arrow can be an image or dynamically drawn shape that indicates a direction or course of action to the player. An arrow can also be used to point out a...
Attacking in Action Games
In games where collision detection is used, attacking generally falls into two general types, projectile attacks and melee attacks.
Projectile (Missile) Attack
A...
Each room has a layered background that appears behind your game objects.
The background can be a composed of tiles, background images (up to 8), a background color or all three at once.
The...
background_add - adds the image stored in a file to the available backgrounds.
Syntax
background_add ( fname,transparent,smooth,preload );
fname - path of the file to be added in single...
background_exists - checks whether a background with a specified index exists.
Syntax
background_exists ( ind );
ind - background index
Explanation
background_exists() checks if a background...
name - does something
( Game Maker 6.1, 7 )
Syntax
name ( argument, argument2 );
argument - explanationjavascript:;
argument2 - explanation
Explanation
name does something in more...
Awarded to member name for finding a new Game Maker error.
Break Game Maker, get a badge. :)
Display Code
[[include include:break-it-badge member=member name]]
Tag
break-it-badge
Earn It
Find...
The Cool Badge is given to people who make something really cool.
Awarded to member name for doing or making something really cool.
Display Code
[[include include:cool-badge member=member...
The C-Team Badge is given to members who have served on the Community Team.
Awarded to member name for being a member for the Community Team.
Display Code
[[include include:c-team-badge...
The Flux Badge was named after the flux capacitor, which according to movie legend, was an inspiration generated by the scientist hitting his head on the toilet.
The Flux Badge is given to those...
-
Awarded to member name for being helpful and posting on the forum.
Display Code
[[include include:f-madman-badge member=member name]]
Tag
f-madman-badge
Increase Your...
Awarded to member name for demonstrating an ability to use Game Maker Language.
Awarded to member name for being able to use Game Maker Language.
Display Code
[[include include:gml-badge...
The Madman badge is given to people who are active in developing the wiki.
Awarded to member name for helping to build the wiki.
Display Code
[[include include:madman-badge member=member...
The member badge is the first badge that most members earn.
Awarded to member name for creating a member page.
Display Code
[[include include:member-badge member=member...
The Not a Noob, or NAN badge is given to those people who have shown that they are not noobs. :)
Awarded to member name, who is clearly not a noob.
Display Code
[[include include:nan-badge...
Do NOT delete this page.
This page contains all images for all badges.
You can earn badges that reflect your skill with Game Maker and earn respect in our Game Maker community.
You can display your badges on your member page.
The Badges
These are the badges that you...
User Bars
Design 1
350px x 19px
Preview:
Inter-Game Maker Wiki
[[image /member:gmhelper/design2.png link="http://gamemaker.wikicomplete.info" alt="Game Maker Wiki - Powered by...
Description
The challenge is to make an object that can be pushed by another object.
Requirements
Make an object that can be pushed by another object.
Completed By
crouchingtiger22 ( member page...
Description
Create a turret that can shoot bullets at the mouse pointer, i.e. it should be able to fire in any direction.
Requirements
Your turret must:
Fire a bullet in the direction of the...
Game Maker is a game design program used to make games.
Game Maker has it's own game engine built-in that handles such things as game objects, rooms, and other common game elements so you don't...
Rooms in Game Maker are 2D spaces that can be made into game levels.
A game can have one or more rooms. Without at least one room, a Game Maker game will not run.
Creating Rooms
To create a room...
Welcome to our Game Maker Beginner's Guide.
The Game Maker Beginner's guide links to tutorials and other pages in the order you should read them to advance from complete noob to intermediate Game...
Sprites in Game Maker are images that represent game objects.
Game Maker is a game design program used to make games. This Game Maker tutorial will introduce you to the essentials of the Game Maker Engine.
This book / tutorial is highly...
Create and Set a Custom Health Variable
How to have objects with their own health.
Easy bullet time
An easy way to do bullet time using the room_speed.
Easy explosions
An easy way to do explosions...
Admin Panel | moc.liamg|43cavm#smelborP
Introduction
All files on your computer are stored as binary data.
Normally, the file extension ( .txt, .ini ) tells your operating system how to handle the file.
When files are handled at their...
Board Games as computer games
Games such as Monopoly or Chess can be implemented into a computer game.
Using 2D or 3D graphics can create a fun, interesting board game.
Related Pages
A boolean expression is any expression that evaluates to a value of true or false.
Boolean expressions are used for checking things in if statements. If the boolean expression is true, then the...
Status
Description
Okay here is my status I'm working on a school assidnment and we have to make a game.
So i decided to make a breakout game but when all the bricks are gone it won't go to the...
A bullet (or arrow or straight or dumb projectile) is a projectile that travels on a straight, unguided course after being created.
The direction and speed of the bullet can be set just after it is...
Car Physics
Car physics in overhead (top-down) 2D games are very simple.
more information needed
write me!
Car Sprites
A few overhead car sprites can be found on the Spy Car Sprite Battle...
Case sensitivity refers to whether or not a programming language handles identifiers differently1 depending on whether or not they contain upper or lower case letters. GML is case...
Castlevania is a horror-inspired action platform game developed by Konami.
Related Pages
Platform Game
Backlinks
These pages link back to this page. You may find them helpful.
Categories:...
Categories: {$list}
This category that collects pages that relate to 3D.
Subcategories
Pages in category '3D'
Categories: Graphics
This category that collects pages that relate directly to Game Maker.
Subcategories
Pages in category 'Game Maker'
Categories: Game Maker
This category that collects pages that relate directly to A.I.
Subcategories
Pages in category 'A.I.'
Categories: Game Maker
This category that collects pages that relate to arrays.
Subcategories
Pages in category 'Arrays'
Categories: Data : GML
This category that collects pages that relate to backgrounds.
Subcategories
Pages in category 'Backgrounds'
Categories: Game Maker : Graphics : Rooms
This category lists all of our Beginner tutorials
Subcategories
Pages in category 'Beginner Tutorials'
Incomplete Tutorials
These tutorials are works in progress.
Categories: Tutorials
This category that collects pages that relate directly to using CDs.
Subcategories
Pages in category 'CD'
Categories: Sound
This category that collects pages that relate directly to collision.
Subcategories
Pages in category 'Collision'
Categories: Game Maker : Physics
This category that collects pages that relate to the mouse cursor.
Subcategories
Pages in category 'Cursor'
Categories: Mouse
This category that collects pages that relate directly to data.
Subcategories
Pages in category 'Data'
Categories: GML
This category that collects pages that relate directly to drawing.
Subcategories
Pages in category 'Draw'
Categories: Graphics
This category that collects pages that relate directly to errors.
Subcategories
Pages in category 'Errors'
Categories: Game Maker
This category that collects pages that relate directly to events.
Subcategories
Pages in category 'Events'
Categories: Game Maker
This category that collects pages that relate to extensions.
Subcategories
Pages in category 'Extensions'
Categories: Game Maker
This category that collects pages that relate directly to files.
Subcategories
Pages in category 'Files'
Categories: Data : Input : Game Maker
This category that collects pages that relate directly to functions.
Subcategories
Pages in category 'Functions'
Categories: GML
This category that collects pages that relate directly to Game Maker.
Subcategories
Pages in category 'Game Maker'
Categories: Game Maker Wiki
This is the top-level category of Game Maker Wiki Complete.
Subcategories
Pages in category 'Game Maker Wiki'
This category that collects pages that relate to global variables.
Subcategories
Pages in category 'Global Variables'
Categories: Data : GML : Variables
This category that collects pages that relate to GML.
Subcategories
Pages in category 'GML'
Categories: Game Maker
This category that collects pages that are GML tutorials
Subcategories
Pages in category 'GML Tutorials'
Categories: GML : Tutorials
This category that collects pages that relate directly to graphics.
Subcategories
Pages in category 'Graphics'
Categories: Game Maker
This category that collects pages related to gravity.
Subcategories
Pages in category 'Gravity'
Categories: Physics
This category that collects pages that related to health.
Subcategories
Pages in category 'Health'
Categories: Data : Stats : Game Maker
This category that collects our How To pages.
Subcategories
Pages in category 'How To'
Categories: Game Maker : Game Maker Wiki : Tutorials
This category that collects pages that relate directly to input.
Subcategories
Pages in category 'Input'
Categories: Data : Game Maker
This category that collects pages that relate directly to instances.
Subcategories
Pages in category 'Instances'
Categories: Game Maker : Objects
This category that collects our pages about interfaces
Subcategories
Pages in category 'Interfaces'
Categories: Game Maker
This category that collects pages that relate directly to the keyboard.
Subcategories
Pages in category 'Keyboard'
Categories: Input
This category that collects pages that relate directly to local variables.
Subcategories
Pages in category 'Local Variables'
Categories: Data : GML : Instances : Objects : Variables
This category that collects pages that relate directly to math.
Subcategories
Pages in category 'Math'
Categories: Game Maker
This category that contains member pages.
Subcategories
Pages in category 'Members'
Categories: Game Maker Wiki
This category that collects pages that relate directly to the mouse.
Subcategories
Pages in category 'Mouse'
Categories: Input
This category that collects pages that relate directly to movement.
Subcategories
Pages in category 'Movement'
Categories: Game Maker : Physics
This category that collects our pages about making multiplayer games.
Subcategories
Pages in category 'Multiplayer'
Categories: Game Maker
This category that collects pages that relate directly to objects.
Subcategories
Pages in category 'Objects'
Categories: Game Maker
This category that collects pages that relate to the Particle System.
Subcategories
Pages in category 'Particle System'
Categories: Graphics
This category that collects pages that relate to paths.
Subcategories
Pages in category 'Paths'
Categories: Game Maker : Movement : Objects
This category that collects pages that relate directly to physics.
Subcategories
Pages in category 'Physics'
Categories: Game Maker
This category that collects pages about Platform Games.
Subcategories
Pages in category 'Platform Games'
Categories: Video Game Genres
This category that collects pages that relate directly to Position.
Subcategories
Pages in category 'Position'
Categories: Game Maker : Physics
This category that collects pages that relate directly to random-ness.
Subcategories
Pages in category 'Random'
Categories: Game Maker
This category that collects pages that relate directly to rooms.
Subcategories
Pages in category 'Rooms'
Categories: Game Maker
This category that collects pages that relate directly to RPGs.
Subcategories
Pages in category 'RPG'
Categories: Game Maker : Video Game Genres
This category that collects pages that relate to Scripts.
Subcategories
Pages in category 'Scripts'
Categories: Game Maker : GML
This category that collects our pages about sound.
Subcategories
Pages in category 'Sound'
Categories: Game Maker
This category that collects pages that relate to speed.
Subcategories
Pages in category 'Speed'
Categories: Movement : Physics
This category that collects pages that relate directly to sprites.
Subcategories
Pages in category 'Sprites'
Categories: Collision : Game Maker : Graphics
This category that collects pages that relate to Stats.
Subcategories
Pages in category 'Stats'
Categories: Data : RPG
This category that collects pages that relate to strings.
Subcategories
Pages in category 'Strings'
Categories: Data : GML
This category that collects pages that relate to text.
Subcategories
Pages in category 'Text'
Categories: Draw : Graphics
This category that collects pages that relate directly to timing.
Subcategories
Pages in category 'Timing'
Categories: Game Maker
This category lists all of our tutorials
Subcategories
Pages in category 'Tutorials'
Incomplete Tutorials
These tutorials are works in progress.
Categories: Game Maker : Game Maker Wiki
This category is for pages without a category.
Subcategories
Pages in category 'Uncategorized Pages'
Categories: Game Maker Wiki
This category that collects pages that relate directly to variables.
Subcategories
Pages in category 'Variables'
Categories: Data : GML
This category that collects pages about Video Game Genres.
Subcategories
Pages in category 'Video Game Genres'
Categories: Game Maker Wiki
This category that collects our Video Tutorials
Subcategories
Pages in category 'GML Tutorials'
Categories: Tutorials
This category that collects pages that relate to views.
Subcategories
Pages in category 'Views'
Categories: Rooms
cd_open_door - This function opens the door of your CD/DVD player.
( Game Maker 6.1, 7 )
Syntax
cd_open_door();
Explanation
cd_open_door will open the door of a CD/DVD player. It can be used to...
Latest Challenges
Challenges with New Entries
Last Completed Challenges
Challenges: Challenge Overview | List of Challenges
Introduction
A challenge is a way for you to advance your wiki-rank, earn badges, and most importantly, prove your skill using Game Maker.
Challenge Rules
Create a program that fulfills the...
%%content%%
Challenges: Challenge Overview | List of Challenges
Status
Description
How do I make it so the player character can only interact with an object if pressing a button while facing the object? My interaction button is Z.
Submitted by: Anonymous...
You can't ignore people by clicking on their name.
PLEASE DO FEED THE TROLLS.
A circle is a basic simple shape, often known as a primitive.
Drawing Circles
A circle can be drawn dynamically using
draw_circle() (GML function)
Draw Ellipse (action)
Circular Paths, Orbits
A...
A collision happens when the sprites of two instances overlap.
Types of Collision
Sprite to Sprite Collision
Game Maker supports two kinds of collisions between the sprites of two objects :
Square...
Status
This help request is open
Description
How can I better control how objects collide, I am especially thinking about when I rotate my sprite. Does the collision mask rotate as well, if not,...
Collision detection is a process to see if any objects in the game collide.
Game Maker has built in collision detection (available to programmers as the Collision event).
Types of Collision...
Colors in Game Maker, whether they are color constants, a hexadecimal number used as a literal, or created by make_color_hsv() or make_color_rgb() are always hexadecimal numbers that look like...
A combo is a linked series of actions that must be performed quickly and accurately one after another.
Combos in Fighting Games
In fighting games, combos are sometimes known as hit combos and are...
Game Maker uses C syntax-style comments. Comments are not game code and are used to leave notes to yourself or others about how your game's code works. There are two types of Game Maker...
Bulletin Board
I'm working on finishing up the new category system. After that, it's pretty much all tutorials. — hartnell
Community
Game Maker Wiki Complete Community pages :
Community...
This is the Community Portal.
Community Portal
Welcome to the Game Maker Wiki Complete Community Portal. Here you can find out about all that's going on at Game Maker Wiki Complete.
You may...
The Community Team is here to help you with anything you need.
All members of the community team have volunteered to help you.
Administrators
These members have complete control over the wiki.
(...
These tutorials are suitable for the complete novice who has been using Game Maker 7 for less than two weeks and has never programmed or used a game design software package before.
Make a Game
How...
This page is here to help us diagnose the problem with our noob unfriendliness.
Game Maker Doesn't Make Games
Game Maker is a general purpose, scriptable game engine.
Drag and Drop actions hinder...
A console or console window is a text-only interface which uses line input. Game Maker has no console window, however, one can be programmed using keyboard_string to capture the user input.
A...
A constant is a piece of labeled data that never changes. It can be thought of as a variable whose value never changes. Game Maker has several built in constants.
Creating Constants
You can create...
You can contact the current head administrator of Game Maker Wiki Complete by emailing him at moc.liamg|llentrah.nwahs#moc.liamg|llentrah.nwahs
The Content of Game Maker Wiki Complete is not currently under any kind of copyleft license. We're working on it.
This page is a stub. You can help improve Game Maker Wiki Complete by expanding...
These are different contests relating to Game Maker.
Challenges
Specific Challenges
Sprite Battles
Amaze us with your spriting skills
Game Contests
Make the best game
Controller objects are ordinary objects that are used to control various aspects of a the game that you do not want to control with the player object. In other words, controller objects run things...
Conversion is changing one thing into another thing or changing one type of unit to another type of unit.
Converting Units
Degrees and Radians
degtorad() - convert degrees to radians
radtodeg() -...
Introduction
So, you want to create a variable? You probably do, its hard to make any complicated games without variables, and this tutorial will teach you to do just that. This tutorial was made...
Action Name Action
action name - short description
Description
The something action..
Boxes
box1 - description of field and value
GML
// add your gml equivalent here
[click to add a...
Status
Description
In Visual Basic 6 you can create a custom "type" by typing something like the following:
//public type person
dim forname as string
dim surname as string
dim age as integer
end...
Our current research project is health.
Abtract
Health is a very large subject that also encompasses stats and uses of health such as damage, armor, and hit points. The focus of this research is...
The mouse cursor is the image displayed to show you where the mouse is located on the screen.
Position
The mouse position in the current room is contained in the these two variables :
mouse_x -...
This is the member page of DaedricLord
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following badges :
Files
My...
Damage is a numeric amount that a game object can withstand before being destroyed, killed, dying or otherwise being removed from the game.
Damage Names
If the game object represents a living...
Data is information such as a character's name, hit points, or even how much time is left.
Literals
A literal is data in it's most basic form. There are numeric literals and string literals,...
A data structure is something that contains data.
Constant
A constant can hold one value that never changes.
Variable
Variables can hold one value that can change.
Array
An array can hold multiple...
A data type is a kind of data. There are two data types in Game Maker, a string and a real number.
Real Data Types
Strings
A string is a series (or string) of characters, such as a character's...
date_current_datetime() - Returns the number of days that have passed since 12/30/1899 plus the decimal portion returns a fraction of the current 24 hour day that has elapsed.
Syntax
rnum =...
date_current_time() - Returns a fraction of the current 24 hour day that has elapsed.
Syntax
rnum = date_current_time();
rnum = The fraction of the current date that has elapsed as a...
Here is a conversion of the drag and drop options in Game Maker to their Game Maker Language equivalent.
foldunfold
Table of Contents
Move
Move Fixed
Move Free
Move Towards
Speed Horizontal
Speed...
Status
Description
how do i get an enemy to change to a (death) animation when it colides with a bullet and then destroy it's self after the animation has played using drag n drop
im using GM 7...
%%content%%
This is the member page of _Deimos
About Me
Hey, I'm Deimos. I'm a twenty-one-year-old guy, currently serving in the Navy Reserve as a Seabee in Naval Mobile Construction Battalion TWO-FOUR. I just...
Okay so i'm making this new game called heavy fire.
it cool, you have to get to the other side of the screen without being hit by a exspolion/bomb.
Sadly, i don't know how to get an object jump to...
The term direction could mean :
Direction, Local Variable
direction, an object variable which is the direction of movement of an instance. It is also the "direction of fire" of a...
distance_to_object() - returns the distance to the closest instance of a specified object
( Game Maker 6.1, 7 )
Syntax
distance_to_object (obj);
object - The name of the object you are testing...
distance_to_point() - returns the distance from another specified object
( Game Maker 6.1, 7 )
Syntax
distance_to_point (x,y);
x - The specified x location
y - The specified y...
.dll or Dynamic LinkLibrary is a compiled library of functions that can be used by another program.
The .dll itself can be written in any programming language that can compile to be run on a...
Donkey Kong is a arcade/platform game. It is one of the earliest examples of a platform game and the first appearance of Mario1.
In this game you have to rescue princess peach. Also you play as...
This tutorial was written using Game Maker 7. Game Maker 6.1 is still available for download.
This tutorial is also available with images, it can be found here!
Before You Download Game Maker...
This tutorial was written using Game Maker 7. Game Maker 6.1 is still available for download.
Before You Download Game Maker 7
Before you download Game Maker 7, you undoubtedly have questions about...
draw_background() - Draws a background at position (x,y) in the room.
Syntax
draw_background ( back, x, y );
back - background that the programmer has set up in the background resources such as...
draw_background_tiled - draws a background image, tiled to fill the room.
Syntax
draw_background_tiled ( back, x, y );
back - background that the programmer has set up in the background...
draw_button - draws a button
Syntax
draw_button ( x1, y1, x2, y2, up );
x1 - x coordinate of the left side of the button
y1 - y coordinate of the top side of the button
x2 - x coordinate of the...
Drawing is the general term used to refer to various graphics features that you have to program yourself.
All Actions and Functions that draw something always have to be placed in the Draw Event...
draw_sprite_part_ext() - Draws the indicated part of the subimage of the sprite with the top-left corner of the part at the given position but now with scale factors and a color and transparency...
Electronic Arts is an American developer, marketer, publisher, and distributor of computer and video games. It has published/helped in a number of games, including:
The Sims
Medal of Honor
Need...
An enemy is a game object like any other. To create an enemy, you will have to create an object.
Common Types of Enemies
General
Boss
A boss is an enemy usually found at the end of the levels of...
Appears when you use instance_change(object_that_doesn't_exist,false).
Related Pages
Instance
Object
Categories: Errors : Instances : Objects
This error happens when you use a variable name without an assignment operator, better known as the equals sign to you and me : ( = ).
this_var;
// should be
this_var = something;
It can also...
Appears if you try to give a read-only variable a value.
Categories: Errors
Can appear while using the execute_shell() function.
The reasons you could get this error are :
Misspelled object name in a Create Instance Action or instance create() function.
Left off the obj_ prefix, if you named the object with it.
Forgot to...
If you get a DLL error with the DLL's name starting with "d(sound, video…).dll", you most likely do not have Microsoft DirectX installed, or not the latest version. Game Maker needs at least...
Image file not found is an error that appears when you try to show an image that doesn't exist, has been moved, or renamed. To fix this error, you have to update where Game Maker is looking for the...
The Moving to next room after the last room error happens when you use room_goto_next() when the current room is already the last room. This happens because it's the last room and therefore there...
The Moving to previous room before the first room error happens when you use room_goto_previous() when the current room is already the first room. This happens because it's the first room and...
This error happens when an array has a negative index. Example: myvar[-1] = 1;. Notice the -1. That is the array index, but you cannot have negative numbers as the index.
Categories: GML : Errors...
If you start your code with this bracket: { , and end the code with this one: } , and then after the ending bracket write some more code you will get the error "Program ends before end of the...
Appears if you're trying to play a sound that you have not loaded yet.
Related Pages
Sound
Categories: Errors : Sound
This error happens when you forgot a ) in a nested function call, especially in if construction :
if(keyboard_check(ord("Z"))
// the last ) is missing it should be...
%%content%%
Appears when you're trying to show a text file that doesn't exist.
Related Pages
Text File
Categories: Data : Errors : Files
Appears when you're trying to delete an unexisting font.
Related Pages
Font
Graphics
Categories: Errors : Graphics
Appears when you're trying to delete a path that doesn't exist.
Related Pages
Path
Categories: Errors : Paths
Appears when you try to delete a time-line that doesn't exists.
Related Pages
Time Line
Categories: Errors : Timing
Trying to read from undefined INI file.
Related Pages
File
INI File
Categories: Data : Errors : Files
Trying to set a non-existing message background.
Categories: Errors
Description needed.
Related Pages
Graphics
Surface
Categories: Errors : Graphics
Most of the time, this is Windows's fault. Reboot your computer and try again. If this doesn't work, your copy of Game Maker may have become corrupted. Run other .gmX files to make sure. If Game...
Description
The reasons for this are many :
Putting a space inbetween <= or >=.
Related Pages
Expression
Backlinks
These pages link back to this one. You may find them...
This usually happens when you misspell a function or script name. It also happens when you call a function that doesn't exist or a script you haven't written yet.
Related...
This error happens when you try to set or retrieve the value of a variable that has not been initialized yet. You can avoid this error by setting the Treat Uninitialized Variables as 0 in Global...
Unknown variable point or array index out of bounds
This one typically appears when you have given a variable the same name as something else. Could be an object name, thus if it is an object name it can not also be a variable name, so a variable...
Appears when you're trying to play a video that doesn't exist.
Categories: Errors
Description
This error is exactly what it says it is. You have provided the wrong number of arguments in a function or script. For example, if you provide three arguments for a function that...
Description
This error occurs most of the time when you try to use the + sign where it is not expected, such as in arguments that require a single entry. Previously I vaguely remember being able...
( Game Maker 6.1, 7 )
An alarm event happens when an alarm[] reaches 0.
Explanation
Each instance has 12 alarm variable, alarm[0] through alarm[11], and 12 corresponding alarm events. Alarm events...
( Game Maker 6.1, 7 )
An animation end event happens when a sprite reaches the last subimage in it's animation. It is commonly used to stop an animation that is only seen once and destroy the...
( Game Maker 6.1, 7 )
A collision event happens when the bounding box of two instances overlap. When this happens, a collision event happens for both of the instances.
When a collision event...
Create Event — happens after an instance is created.
( Game Maker 6.1, 7 )
Explanation
The create event happens just after an instance
Is first created from an object
When a room creates...
( Game Maker 6.1, 7 )
The destroy event happens just before an instance is destroyed.
Explanation
The destroy event happens :
When an instance is destroyed :
Using instance_destroy() or Destroy...
What is the Draw Event?
The Draw Event happens when an instance draws it's own sprite.
This happens once per frame, or, once per complete step.
Explanation
If a function draws anything to the game...
The Game Start Event happens at the very beginning of a game.
Uses
Often used for setting initial variables or other basic things that are important in the game.
Related Pages
Backlinks
These pages...
A Keyboard Event happens every step that a key is held down.
Explanation
As long as a key is held down, the keyboard event for that key will trigger.
Uses
The Keyboard Event is most often used for...
The No More Health event is triggered when the built-in global variable health reaches 0. This allows you to execute actions related to when a game character dies (or loses a life.)
Related...
The No More Lives event is triggered when the built-in global variable lives reaches 0 or below. This allows you to execute actions related to when a game character has lost all his lives and the...
( Game Maker 6.1, 7 )
The Outside room event happens when an instance is outside of the current room boundaries. It is useful for destroying bullets that are "out of sight and out of mind" of the...
The Outside View event happens when an object leaves the current view.
Related Pages
Event
Position
Room
View
Backlinks
These pages link back to this one. You may find them...
An event in Game Maker is when something happens to an instance. For example if one instance collides with another, both receive Collision events.
Once an instance has received an event, it...
The Step event happens once per frame and can be used to run scripts that need to be executed at this rate.
Related Pages
Alarm
Timing
Backlinks
Categories: Events : Timing
%%content%%
2D Game Space.
This example illustrates 2D Game Space, position, and the x and y variables.
Instructions
Use the arrow keys to move the black pixel.
Notice that :
x increases when the pixel...
draw_circle() in action.
This example allows you to change the arguments of the draw_circle() function as the example is running to illustrate what each argument...
An explosion is what happens when something explodes. :)
Create an Explosion
Usually an explosion in Game Maker is nothing more than an instance of an explosion object. The "exploding object" is...
An expression is a number or anything that evaluates to a number.
Both real numbers and integers are expressions by themselves :
42
42.99
Any basic math is an expression because once the math is...
Extensions are a way to expand the capability of Game Maker 7 Pro.
Extensions can include GML, dlls, or both.
Game Maker 7 Extensions
Extensions were introduced in Game Maker 7 and this version of...
When I start game maker 7.0 on my Vista Home Premioum Computer, GM says:
Failed to set data for "
When you click on the croos of the error message, the error shuts down, and game maker starts as...
On this page you will find various Game Maker FAQs.
Must Read Game Maker FAQs
Game Maker FAQ - The general all-around Game Maker FAQ.
GM7 FAQ - what's new and making the transition to Game Maker...
A fighting game is a game where two opponents fight until one of them are defeated.
Fighting games are in the same class of games as beat-em-ups, however, fighting games were refined as their own...
File Extensions
Here are a list of files used in Game Maker and what they are used for.
gmk
gmk is the game maker 7 file.
gm6
gm6 is the game maker 6 file.
gm5
gm5 is the game maker 5...
Game Maker can create, load, and save external files.
File System
Game Maker has functions specifically for dealing with the Windows file system.
Binary Files
Binary files are files written to be...
Game Maker has functions specifically for dealing with the Windows file system.
File System...
file_text_write_string - write a string to a text file
( Game Maker 6.1, 7 )
Syntax
file_text_write_string(file_name, "Write this text.");
/*Write the text to your file, it doesn't have to be a...
A flag can be represented as a game object with a sprite in many different ways.
Flag Variable
A flag variable is a variable that is used to "flag" a state. For example, a door can be either open...
Floor can have these meanings :
floor() - a function which rounds a number down.
Floor - in a top-down, overhead or above view game, the background.
Floor - in a side scrolling, platform game, a...
Make One Object Follow Another
Making one object follow another is easy in Game Maker, especially if it is the player object. To make any object follow the player, use this code in the Step event...
Fonts are files that contain various letter styles for text.
Related Pages
Errors
Error: Trying to delete non-existing...
Whether starting motion, stopping motion, or increasing or decreasing the speed of movement — if it affects the movement of an object — it is a force.
Gravity
Gravity is the force of...
Recent Forum Posts
Recent Posts
Recent Threads
Recent Talk
All fractions in Game Maker are decimal fractions. These functions handle the decimal fraction of a number in different ways.
ceil() - round a number up
floor() - found a number down
frac() -...
This is the member page of fragmentedvortex
About Me
I have been using game maker for years now, but unfortunately I rarely complete my projects :-(
Luckily I have renewed determination for an old...
Friction is a force of resistance. This resistance wears down the speed of an object until it slows down to a complete stop. Each object has a friction variable that you can use to set the friction...
A function in Game Maker is a built-in routine that accomplishes a specific task.
There are no user-defined functions in Game Maker, all functions are built-in. To make your own functions, you have...
Game Types
Arcade Game
Gyruss
Pong
Fighting Game
Platform Game
Platform Shooter
RPG
MMORPG
RTS
Shooting Game
Game Elements
A.I.
Enemies
Stat
These are different game contests.
Sorry, no contests have been decided on yet.
Game Maker is a game design software package created by Mark Overmars.
You May Be Looking For
Our Game Maker Beginner's Guide that we've written to help you get started.
An easy to understand...
Game Maker 6.1 is an outdated version of Game Maker. It has been replaced by Game Maker 7, whose beta was released on December of 2006.
Game Maker 6.1, as the version number implies, was primarily...
Game Maker 7 is the current version of Game Maker. 99% of all material on Game Maker Wiki Complete (this wiki) is written for Game Maker 7.
Learn to Use Game Maker 7
The best way to get started...
2D Game Space
Understanding position, x, and y
draw_circle() function
Play with the arguments of draw_circle() function in real time to understand how it works.
Noob Video Tutorial
A Tutorial to...
Game Maker 8 has recently been released marked as a beta. It is scheduled for release sometime in 2009.
Beta
A full version of Game Maker 8 is not due out until sometime in late 2009. Windows' GM8...
Introduction
This is a general FAQ for Game Maker. If you are new to Game Maker, see the Noob FAQ.
General
Is Game Maker easy to learn?
Absolutely. It was designed to be easy to learn. Many game...
This tutorial will teach you the basics of Game maker using Game Maker 7.
Welcome to the dummy booklet
Welcome to my little web-booklet! Click around until you find what you want to learn, and...
Game Maker Help Pages
This page links to our Game Maker Help pages.
A.I
Animation
Backgrounds
Bullet
Collision
Controls
Extensions
Files
Font
Forces
Global...
Game Maker Magazine is developed by gmhelper and a couple of other people. We compile the latest in Game Maker'ing' in a magazine and publish it for you to read. This is free to read on the...
Game Maker Wiki
Game Maker Tutorial
Game Maker Beginner
Game Maker Introduction
//
Page tags
Page Tags List
Top 10
Top 100
edit this panel
Welcome to
Game Maker Wiki Complete,
the place where you can learn to make video games using Game Maker 7. Game Maker Wiki Complete currently has more than 1000 tutorials, FAQs, documentation...
Game physics is a body of simulated physics used in video games.
Learning game physics is very easy. In fact, if you have made a simple 2D game that requires anything to move then you already know...
Welcome
Welcome to Game Maker Wiki Complete.
The purpose of Game Maker Wiki Complete is to help you, the complete noob, learn to make games with Game Maker.
Join!
First, join Game Maker Wiki...
G-Java is a software that allows you to embed a Game Maker 6 game using a Java applet.
It is currently unusuable due to the encryption on GM 7.0 and the errors you get when converting.
If you are...
( Game Maker 6.1, 7 )
What is a Global Variable?
A global variable is a variable that can be used by any object in the game.
Global Variable Names
Global variables follow the same rules for naming...
The term "GM" is short for Game Maker.
You May Be Looking For
Game Maker.
Our Game Maker Beginner's Guide that we've written to help you get started.
An easy to understand Introduction to Game...
Game Maker 7 FAQ
This is a small FAQ regarding the changes from Game Maker 6.1 to Game Maker 7. If you want to see our current general FAQ on Game Maker, please see Game Maker FAQ.
Company...
GMBed is a way to put Game Maker games on webpages.
Description
GMBed is a way to embed a Game Maker game in a webpage using Java.
Related Pages
Game Maker FAQ
Backlinks
These pages link back to...
Testimonial
The Game Maker Wiki (which is this wiki) has helped me heaps!!! I feel so happy being in the community!!!
In Google, the GMW is ranked 1st when you type in Game Maker Wiki!1
In Google,...
.gmk is the new format for Game Maker source files in Game Maker 7.
Even though this is the new file format, you cannot embed it in a webpage. The best you can do to put it online is to zip it up...
GML or Game Maker Language is Game Maker's built-in scripting language.
GML is used to program more complex games than would be possible with using drag and drop actions exclusively.
GML can be...
abs - return the absolute value of a number.
( Game Maker 6.1, 7 )
foldunfold
Table of Contents
Syntax
Explanation
Examples
Change a Negative Number into a Positive One
abs() Does Nothing to a...
( Game Maker 6.1, 7 )
alarm is a built in local array that contains the current value of each alarm in an object. Each object has 12 such alarms, alarm[0] to alarm[11].
Examples
Setting an...
background_alpha[] - the alpha transparency of a background.
( Game Maker 6.1, 7 )
Description
background_alpha[] is a built-in array that controls the alpha transparency of backgrounds. A room can...
background_color - current background color of a room
( Game Maker 6.1, 7 )
Syntax
background_color = col ;
col = any color
Description
background_color is a variable that contains the the...
background_height - height of a given background in the room
( Game Maker 6.1, 7 )
Syntax
height = background_height[0];
Explanation
background_height returns the height of a background in the...
background-index - currently used background images
( Game Maker 6.1, 7 )
Description
background_index[] is a room array that controls which background images are displayed.
Game Maker can display...
background_showcolor - show the background_color
( Game Maker 6.1, 7 )
Syntax
background_showcolor = bool ;
bool - true or false
Description
background_showcolor is a variable that acts as a...
background_width - width of a given background in the room
( Game Maker 6.1, 7 )
Syntax
width = background_width[0];
Description
background_width returns the width of a background in the...
caption_health - the caption of the health
(Game Maker 6.1 7)
Syntax
caption_health = str
str - string
Description
caption_health is a built-in global variable that contains the text caption in...
caption_lives - the caption of the lives
(Game Maker 6.1, 7 )
Syntax
caption_lives = str;
str - string
Description
caption_lives is a built-in global variable that contains the text caption in...
caption_score - the caption of the score
(Game Maker 6.1, 7)
Syntax
caption_score = str
str - string
Description
caption_score is a built-in global variable that contains the text caption before...
ceil - return the ceiling of a number.
( Game Maker 6.1, 7 )
Syntax
rnum = ceil ( num )
rnum - returned rounded number
num - number to be rounded up
Explanation
When used, ceil() always rounds...
choose - choose randomly among a set of choices
( Game Maker 6.1, 7 )
Syntax
rtrn = choose ( arg1 , arg2, … )
rtrn = returned value, as a real number or string
arg1, arg2, … = arguments to...
In this section you will find GML Code snippets with an analysis of how they work. All pages in our GML Code section assume you are familiar with GML and it is also a great way to learn GML. These...
This GML Code is the code required for 8-Direction control of the player object.
foldunfold
Table of Contents
Description
The Code
Create Event
Step Event
How 8-Direction Control Works
Related...
collision_line - check if there is a collision on a line
( Game Maker 6.1, 7 )
Syntax
bool = collision_line(x1, y1, x2, y2, obj, prec, notme)
bool - whether a collision is detected : true or...
collision_point - check for a collision at a point
( Game Maker 6.1, 7 )
Syntax
instance id = collision_point( x, y, obj, prec, notme )
id - id of a specific instance of an object
x, y - x/y...
color_get_blue() - Returns the blue value of a color
( Game Maker 6.1, 7 )
Syntax
colorget = color_get_blue(col)
colorget - This variable will store the 'blue' value of a color between...
color_get_green() - Returns the green value of a color
( Game Maker 6.1, 7 )
Syntax
colorget = color_get_green(col)
colorget - This variable will store the 'green' value of a color between...
color_get_red() - Returns the red value of a color
( Game Maker 6.1, 7 )
Syntax
colorget = color_get_red(col)
colorget - This variable will store the 'red' value of a color between 0-255.
col -...
cursor_sprite - set a sprite used for the mouse cursor
( Game Maker 6.1 7 )
Syntax
cursor_sprite = any_sprite ;
any_sprite - the name of any sprite in your .gmk file
Explanation
cursor_sprite...
d3d_start( ) - Turns on 3d mode
( Game Maker 6.1, 7 )
Syntax
d3d_start();
d3d_start() does not have any arguments.
Explanation
d3d_start() starts 3D Mode.
d3d_start();
D3d on
This will start d3d...
date_current_date - Returns the number of days that have passed since 12/30/1899.
( Game Maker 6.1, 7 )
Syntax
rnum = date_current_date();
rnum = returned value of number of days from...
degtorad - convert degrees to radians
( Game Maker 6.1, 7 )
Syntax
radians = degtorad(degrees);
radians - returned number as radians converted to degrees
degrees - the degrees to convert to...
depth - current depth of an instance
( Game Maker 6.1, 7 )
Description
depth is most important for determining the drawing order for the sprite of instances. Depending on an instance's depth, it...
direction - the direction of movement of an object
( Game Maker 6.1, 7 )
Syntax
direction = numb;
numb = real number or integer
Explanation
direction is the direction of movement of an object as...
name - does something
( Game Maker 6.1, 7 )
Syntax
name ( argument, argument2 );
argument - explanation
argument2 - explanation
Description
name does something in more detail.
Examples
GML Code...
draw_circle - draw a circle
( Game Maker 6.1, 7 )
foldunfold
Table of Contents
Syntax
Description
Examples
.gmk Examples
Demo
GML Code Examples
Draw a Circle
Draw a Glass Sphere
Draw an...
draw_get_color - get the current drawing color
( Game Maker 6.1, 7 )
Syntax
col = draw_get_color();
Description
draw_get_color() returns the current drawing color. By default it is...
draw_healthbar - draw a healthbar
( Game Maker 6.1, 7 )
Syntax
draw_healthbar ( x, y, amount, back_col, min_col, max_color, direction, showback, showborder );
Explanation
Examples
Example...
draw_line - draw a line between two points
(Game Maker 6.1, 7)
Syntax
draw_line ( x1, y1, x2, y2 )
x1 - x-position of point one
y1 - y-position of point one
x2 - x-position of point two
y2 -...
draw_rectangle - draw a rectangle in the current drawing color
( Game Maker 6.1, 7 )
foldunfold
Table of Contents
Syntax
Description
Examples
GML Code Examples
Draw a Rectangle
HUD...
draw_roundrect - draw a rectangle with rounded corners
( Game Maker 6.1, 7 )
Syntax
draw_roundrect ( x1, y1, x2, y2, outline );
x1,y1 - x / y position of top/left corner
x2, y2 - x / y position...
draw_set_alpha - set the transparency for drawing functions.
(Game Maker 6.1, 7 Pro)
Syntax
draw_set_alpha ( alpha )
alpha - set the alpha (transparency) of all draw functions used after this is...
draw_set_color - set the current drawing color
(Game Maker 6.1, 7)
Syntax
draw_set_color ( color )
color - color to set the drawing color
Description
draw_set_color() sets the current drawing...
draw_set_font - set the font used to drawing text
(Game Maker 6.1, 7)
Syntax
draw_set_font ( font_name )
font_name - name of the font
Description
draw_set_font() sets the font used for drawing...
draw_set_halign - set the horizontal alignment of text
( Game Maker 6.1, 7 )
Syntax
draw_set_halign ( alignment )
alignment - horizontal alignment: fa_left, fa_center,...
draw_sprite - draw a sprite.
( Game Maker 6.1, 7 )
foldunfold
Table of Contents
Syntax
Description
Examples
GML Code Examples
Draw a Sprite
Drawing Two Sprites
Related...
draw_sprite_ext [pro] - draw a sprite with extra options
( Game Maker 6.1, 7 )
Syntax
draw_sprite_ext (sprite, subimg, x, y, xscale, yscale, rot, color ,alpha);
sprite - sprite name
subimg -...
draw_sprite_stretched - draw a sprite with scaling
( Game Maker 6.1, 7 )
Syntax
draw_sprite_stretched ( sprite_index, subimage, x, y, height, width);
argument - explanation
argument2 -...
draw_sprite_tiled - draw a sprite tiled across the entire room
( Game Maker 6.1, 7 )
Syntax
draw_sprite_tiled ( spr, subimage, x, y );
spr - index of sprite to draw
subimage - subimage of...
draw_text - draw text to the game window
( Game Maker 6.1, 7 )
Syntax
draw_text( x, y, text)
x - x location of the text to be drawn
y - y location of the text to be drawn
text - text to be drawn,...
draw_text_color - draw text to the game screen with sectional color and transparency
( Game Maker 6.1, 7 )
Syntax
draw_text_color( x, y, string, c1, c2, c3, c4, alpha)
x - x location of the text...
effect_clear - Removes all existing effects.
( Game Maker 6.1, 7 Pro )
Syntax
effect_clear ( );
Description
The function removes all effects created by the effect_create_above and...
foldunfold
Table of Contents
Definition
Example
Related Pages
GML
Backlinks
Definition
It is only seen after an if.
if( something is true )
{
//do something
}
else
{
//do another...
event_inherited - call the inherited event of an object
(Game Maker 6.1, 7)
Syntax
event_inherited ( )
Description
event_inherited() calls the inherited event of an object. If you declare any code...
This is our unofficial GML FAQ. If you are an experienced programming using GML for the first time, see our Programmer's FAQ.
General
What is GML?
GML is the scripting language of Game Maker.
What...
file_bin_close - close a binary file
( Game Maker 6.1, 7 )
Syntax
file_bin_close ();
argument - explanation
argument2 - explanation
Description
file_bin_close() closes a currently open binary...
file_bin_open - open a binary file.
( Game Maker 6.1, 7 )
Syntax
file_id = file_bin_open ( filename, mode );
argument - explanation
argument2 - explanation
Description
file_bin_open() opens a...
file_bin_read_byte - read a byte from a binary file.
( Game Maker 6.1, 7 )
Syntax
name ( argument, argument2 );
argument - explanation
argument2 - explanation
Description
name does something in...
file_bin_rewrite - clear a binary file and move the file pointer to the start of the file
( Game Maker 6.1, 7 )
Syntax
name ( argument, argument2 );
argument - explanation
argument2 -...
file_bin_seek - move the file pointer
( Game Maker 6.1, 7 )
Syntax
name ( argument, argument2 );
argument - explanation
argument2 - explanation
Description
name does something in more...
file_bin_size - get the size of a binary file
( Game Maker 6.1, 7 )
Syntax
name ( argument, argument2 );
argument - explanation
argument2 - explanation
Description
name does something in more...
file_bin_write_byte - write a file to a binary file
( Game Maker 6.1, 7 )
Syntax
file_bin_write_byte( file, value );
file - file handle id
value - value to write
Description
file_bin_write_byte()...
file_text_open_read - open a text file for reading.
( Game Maker 6.1, 7 )
Syntax
f_id = file_text_open_read ( fname );
f_id - id of the file opened
fname - name of the file to be opened, as a...
file_text_open_write - open a file for writing
( Game Maker 6.1, 7 )
foldunfold
Table of Contents
Syntax
Description
Examples
GML Code Examples
Open a Text File
Related...
floor - return the floor of a number
(Game Maker 6.1, 7)
Syntax
rnum = floor( num )
rnum - returned floored number
num - number to be floored
Explanation
When used, this will always round a...
font_add - Add a font to GML for use later.
( Game Maker 6.1, 7 )
Syntax
font = font_add(name,size,bold,italic,first,last);
font - name of the font that will be saved and re-usable
name - String...
A for loop will loop a block of code a number of times.
foldunfold
Table of Contents
Syntax
Example
Description
Examples
GML Code Examples
Example Needed
Related Pages
Backlinks
Syntax
for (...
This page deals with the built-in GML variable fps, which stands for frames per second. It does not include any information about first person shooters.
fps - actual number of frames drawn per...
frac - return the decimal fraction of a real number
(Game Maker 6.1, 7)
Syntax
num = frac( num )
rnum - returned fraction
num - number with fraction
Explanation
frac() returns the decimal...
friction - decay the speed of an instance.
( Game Maker 6.1 7 )
Explanation
friction decays the speed of an instance every step, no matter what direction it is going. If the speed is not increased...
game_end - Ends the game
( Game Maker 6.1, 7 )
Syntax
game_end();
This function has no arguments
Explanation
game_end() is a very basic function. This function does what the name implies, it ends...
game_load - Loads a game with the indicated file name. The file msut exist and be saved with game_save.
( Game Maker 6.1, 7 )
Syntax
game_load(filename);
filename - The filename of the game you...
game_restart - Restarts the game
( Game Maker 6.1, 7 )
Syntax
game_restart();
This function has no arguments
Explanation
game_restart() does exactly as the name implies, it restarts the game,...
game_save() - Saves the current game with the indicated file name.
( Game Maker 6.1, 7 )
Syntax
game_save(filename);
filename - The file name. Must be encased in " or '.
Explanation
game_save()...
(Game Maker 6.1, 7)
get_integer - get a number from the user using a pop-up window
Syntax
num get_integer ( str, def )
num = returned integer
str = message displayed, as string
def = default...
get_string - get a string from the user using a pop-up window
(Game Maker 6.1, 7)
Syntax
answer = get_string ( str, def )
answer - returned string
str - message displayed, as string
def - default...
gravity - the force of gravity on an object
( Game Maker 6.1 7 )
Explanation
gravity is a variable that controls the effect of gravity on an object. The higher the gravity the more "pull" it...
gravity_direction - direction of gravity
(Game Maker 6.1, 7)
Explanation
gravity_direction is a local variable that contains the direction of gravity. If gravity is set to 0, gravity_direction...
health - built-in global variable for health or hit points
( Game Maker 6.1, 7 )
Explanation
health is Game Maker's built in global variable for health.
Examples
Example Needed
Explain example...
highscore_set_colors - set the colors of the highscore table
(Game Maker 6.1, 7)
Syntax
highscore_set_colors ( background, new, other )
background - background color
new - new entry color
old -...
highscore_show - show the highscore table
( Game Maker 6.1, 7 )
foldunfold
Table of Contents
Syntax
Description
Examples
GML Code Examples
Display the Highscore Table
Showing without a new...
GML is mostly used in an Execute Script Action in the Step Event of an Object.
How To Use GML
Put this GML code in the Step Event of an Object :
room_caption = "I can use GML";
The code above...
hspeed - horizontal speed of an instance.
( Game Maker 6.1, 7 )
Explanation
hspeed is a local variable that contains the current horizontal speed of a an instance, in pixels per step. A positive...
id - id number of an instance
( Game Maker 6.1, 7 )
Explanation
id is the id number of an instance. The number starts at 100001 (integers only) and is assigned automatically when the instance is...
if - conditionally execute following code if boolean expression is true
Syntax
if ( condition )
{
// code here
}
or
if ( condition ) { //code here }
Description
"If something is true,...
image_alpha - transparency of a sprite
( Game Maker 6.1, 7 pro )
Explanation
image_alpha contains a value between 0 and 1. 0 is completely transparent (invisible), 1 is completely opaque, and...
image_angle - rotation of a sprite.
( Game Maker 6.1, 7 Pro )
Description
image_angle is a local variable that contains the rotation of a sprite in degrees. The value of image_angle corresponds to...
image_blend - blend a color with a sprite
( Game Maker 6.1, 7 Pro)
Description
image_blend is a sprite variable that contains the color blended with the sprite. It does not change the color of the...
image_index - currently displayed subimage of a sprite
( Game Maker 6.1, 7 )
Explanation
image_index is an object variable that contains the currently displayed subimage of a sprite. The first...
image_number - the number of subimages of a sprite
( Game Maker 6.1, 7 )
Description
image_number is the number of subimages a sprite has.
Examples
GML Code Examples
Set a Random Subimage
The below...
image_speed - animation speed of a sprite.
( Game Maker 6.1, 7 )
Description
image_speed is the animation speed of a sprite.
The value of image_speed is added to the image_index of the instance...
( Game Maker 6.1, 7 )
image_xscale - horizontal scaling of a sprite.
foldunfold
Table of Contents
Description
Examples
GML Code Examples
Double the Size of A Sprite
Keeping Aspect Ratio
Related...
image_yscale - vertical scaling of a sprite.
( Game Maker 6.1, 7 )
Description
image_yscale is a local variable that contains the vertical scaling of a sprite. It is by default 1, which means the...
ini_open - open an INI file.
( Game Maker 6.1, 7 )
foldunfold
Table of Contents
Syntax
Description
Examples
GML Code Examples
Example
Related...
instance_activate_region - activate all instances inside or outside of a region
( Game Maker 6.1, 7 )
Syntax
instance_activate_region ( left, top, width, height, inside )
left - left corner of...
Instance Change - transforms one object to another
( Game Maker 6.1, 7 )
Syntax
instance_change( newobject , performevents );
newobject - Name of the object you are transforming...
instance_count - total number of instances
( Game Maker 6.1, 7 )
Description
instance_count is the total number of all instances currently existing in the current room, no matter what object they...
instance_create - create an instance of an object
( Game Maker 6.1, 7 )
Syntax
id = instance_create( x, y, obj );
id = returned instance id
x = x location to create object
y = y location to create...
instance_deactivate_all - deactivate all instances in a room.
( Game Maker 6.1, 7 )
Syntax
instance_deactivate_all ( notme )
notme = true or false
Description
instance_deactivate_all()...
instance_destroy - destroy the current instance.
( Game Maker 6.1, 7 )
Syntax
instance_destroy()
Description
instance_destroy() destroys the current instance after calling its "Destroy" event. It...
instance_number - count the current number of instances of an object
( Game Maker 6.1, 7 )
Syntax
num = instance_number ( obj ) ;
num - the number of instances in the room of the object type as a...
GML or Game Maker Language is used to make good games with Game Maker.
Categories: GML
io_clear - clear keyboard, mouse, and joystick events.
( Game Maker 6.1, 7 )
Syntax
io_clear ( );
Description
io_clear() is a function used to clear all mouse, keyboard, and joystick events. This...
is_real - returns true if its argument is a real number.
( Game Maker 6.1, 7 )
Explanation
bool = is_real ( test )
bool - returned true/false value
test - the value to...
is_string - returns true if its argument is a string.
( Game Maker 6.1, 7 )
Description
bool = is_string ( test )
bool- returned true/false value
test - the value to test.
Examples
GML Code...
joystick_check_button - check to see if a button is pressed on a joystick, gamepad or controller
( Game Maker 6.1, 7 )
Syntax
bool = joystick_check_button ( joystick, button )
bool - 0 or...
joystick_direction - check the direction of joystick, gamepad, or controller
( Game Maker 6.1, 7 )
Syntax
keycode joystick_direction ( joynum )
keycode - keycode of direction, as a number
joynum...
keyboard_check - check to see if a key is held down
( Game Maker 6.1, 7 )
Syntax
bool = keyboard_check ( keycode )
bool - 0 or 1
keycode - keycode constant of key to...
keyboard_check_direct - check a key directly
( Game Maker 6.1, 7 )
Syntax
bool = keyboard_check_direct ( key );
bool - whether a key is down or not, true or false
key - key to check...
keyboard_check_pressed - When you press a button…
( Game Maker 6.1, 7 )
Syntax
keyboard_check_pressed(argument1);
argument1 - In argument one you need to put which key Game Maker should check....
keyboard_check_released - When you release a keyboard button…
( Game Maker 6.1, 7 )
Syntax
keyboard_check_released(argument1);
argument1 - The keycode of the key you wish to check, like vk_enter...
keyboard_clear - clear the state of any key
( Game Maker 6.1, 7 )
Syntax
keyboard_clear ( key );
key - key to be cleared
Explanation
keyboard_clear() clears the states of one key.
Examples
GML...
keyboard_key - Keycode of current key pressed
( Game Maker 6.1, 7 )
Explanation
keyboard_key The keycode is expressed as a number, where 0 is no key pressed
Examples
Display the Keycode of the...
keyboard_lastchar - last key pressed on the keyboard
( Game Maker 6.1, 7 )
Explanation
keyboard_lastchar contains the last key pressed on the keyboard, as a string. It will change when a new key...
keyboard_lastkey - keycode of the last key pressed
( Game Maker 6.1, 7 )
Explanation
keyboard_lastkey contains the keycode of the last key pressed.
Examples
Example of Use
if(keyboard_lastkey =...
keyboard_string - last 1024 characters typed by the player.
( Game Maker 6.1, 7 )
Explanation
keyboard_string contains the last 1024 characters typed by the player. It should be noted that...
lengthdir_x(len,dir) - the sine and cosine functions compiled into one.
( Game Maker 6.1, 7 )
Syntax
lengthdir_x(length,direction)
length - the length of the hypotenuse in the triangle.
direction...
Lengthdir_y(len,dir) - the sine and cosine functions compiled into one.
( Game Maker 6.1, 7 )
Syntax
Lengthdir_y(length,direction)
length - the length of the hypotenuse in the triangle.
direction...
lives - number of lives the player has
( Game Maker 6.1, 7 )
Explanation
lives is a built-in global variable used to keep track of how many lives the player of your game has. You do not need to use...
make_color_hsv - create a color using HSV
( Game Maker 6.1, 7 )
Syntax
color = make_color_hsv ( hue, saturation, value ) ;
color - color created
hue - hue component of color (0 to 255)
saturation...
make_color_rgb - create a color using RGB
( Game Maker 6.1, 7 )
Syntax
color = make_color_rgb ( red, green, blue ) ;
color - color created
red - red component of color (0 to 255)
green - green...
max()
( Game Maker 6.1, 7 )
Syntax
max ( number1, number2, num… );
numbers - some numbers
Explanation
Function max() choose the highest number.
Example
x = max(x,100)
//if x < 100 then...
min()
( Game Maker 6.1, 7 )
Syntax
min ( number1, number2, num… );
numbers - some numbers
Explanation
Function min() choose the lowest number.
Example
x = min(x,100)
//if x > 100 then x...
motion_set - set or change the speed and direction of an object
( Game Maker 6.1, 7 )
Syntax
motion_set ( dir, speed );
dir - new value of direction
speed - new value of...
mouse_check_button - check if a mouse button is down
( Game Maker 6.1, 7 )
Syntax
bool = mouse_check_button(const)
bool = true or false
const - mouse button constant (mb_left, mb_middle, mb_right,...
mouse_x - horizontal position of the mouse cursor in the game window.
( Game Maker 6.1, 7 )
Explanation
mouse_x is a variable that contains the horizontal position of the mouse.
Examples
Object...
mouse_y - vertical position of the mouse cursor in the game window.
( Game Maker 6.1, 7 )
Explanation
mouse_y is a variable that contains the vertical position of the mouse cursor in the game...
move_snap(hsnap,vsnap - Aligns an instance to the grid of hsnap,vsnap.
( Game Maker 6.1, 7 )
Syntax
move_snap ( hsnap, vsnap );
hsnap - The entered value is what the x will be divided by.
vsnap -...
move_towards_point - set an instance moving towards a point.
( Game Maker 6.1, 7 )
Syntax
move_towards_point ( point_x, point_y, speed );
point_x - the x position of the point
point_y - the y...
mplay_init_ipx() - Starts an IPX connection beetween computers.
( Game Maker 6.1, 7 )
Syntax
mplay_init_ipx();
Explanation
mplay_init_ipx() will start an IPX connection, IPX is good for LAN, but...
mplay_init_modem() - Sets up a connection beetween computers through a modem.
( Game Maker 6.1, 7 )
Syntax
mplay_init_modem(initstr,phonenumb);
initstr - The initilization string for the modem,...
mplay_init_tcpip - starts a TCPIP connection
( Game Maker 6.1, 7 )
Syntax
bool = mplay_init_tcpip(addr)
bool - connection successful? : true or false
addr - the IP address of the server, as a...
mplay_ipaddress - return the player's current IP (internet) address
( Game Maker 6.1, 7 )
Syntax
ipaddress = mplay_ipaddress();
Description
mplay_ipaddress() returns the player's IP address. The IP...
object_delete - delete an object resource from the resource tree during runtime
( Game Maker 6.1, 7 )
Syntax
object_delete( ind );
ind - name or index number of object to...
object_index - id of the object an instance was created from.
( Game Maker 6.1, 7 )
Explanation
object_index is the type of object an instance is. The object_index will be the same as the name of...
Operations perform various operations on data. You will need them to subtract from life or add to the score as well as to check things.
Operators in Game Maker
Categories: GML
part_system_create() - Creates a particle system.
( Game Maker 6.1, 7 Pro)
Syntax
id = part_system_create ( );
id - the id of the particle system used with other...
part_system_destroy(id) - Destroys a particle system with the indicated id.
( Game Maker 6.1, 7 )
Syntax
part_system_destroy(id);
id - Destroys the indicated particle...
place_free - check if there is no collision at a position
( Game Maker 6.1, 7 )
Syntax
bool = place_free(x,y)
bool - true or false
x - x position to check
y - y position to...
point_direction() - get the direction from one point to another
( Game Maker 6.1, 7 )
Syntax
dir = point_direction ( x1, y1, x2, y2 );
dir - the direction between two objects in degrees
x1, y1 -...
point_distance - get the distance between two points
( Game Maker 6.1, 7 )
Syntax
dist = point_distance ( x1, y1, x2, y2 );
dist - the distance between the two points
x1, y1 - the x/y co-ordinates...
radtodeg - convert radians to degrees
( Game Maker 6.1, 7 )
Syntax
degrees = radtodeg(radians);
degrees - returned number as degrees
radians - the radians to convert to...
random - generate a random number
( Game Maker, 6.1, 7 )
Syntax
rnum = random(x)
rnum = returned random real number
x = upper limit of random number.
Explanation
random() generates a random real...
random_get_seed - get the random seed
( Game Maker 6.1, 7 )
Syntax
seed = random_get_seed();
seed - random seed currently being used by Game Maker
Explanation
random_get_seed() gets the random...
randomize - set the random seed to a random number
( Game Maker 6.1, 7 )
Syntax
randomize();
Explanation
randomize() sets the random seed of Game Maker's random number generator to a random...
random_set_seed - seed the random number generator
( Game Maker 6.1, 7 )
Syntax
random_set_seed ( int );
int - random seed, as an integer
Description
random_set_seed() seeds Game Maker's random...
real - convert a string to a real number
( Game Maker 6.1, 7 )
Syntax
rnumb = real ( str )
rnumb - the returned real number
str - the string to convert
Description
real() converts a string into a...
room - index / name of the current room
( Game Maker 6.1, 7 )
Description
room is a variable that contains the index of the current room. It is useful for checking which room is the current...
room_caption - set the window title
( Game Maker 6.1, 7 )
Explanation
room_caption is a built-in variable that contains the window title (the text at the top of the window of your game). Each room...
room_first [read only] - index / name of the first room
( Game Maker 6.1, 7 )
Description
room_first is the name / index of the first room in your game. room_first is read-only and cannot be set....
room_goto - change the current room
( Game Maker 6.1, 7 )
Syntax
room_goto ( room_name )
room_name the room to change to.
Explanation
room_goto() changes the current room to one you...
room_goto_next - change the current room to the next room
( Game Maker 6.1, 7 )
Syntax
room_goto_next ( );
Description
room_goto_next() changes the current room to the next room. If the current...
room_goto_previous - change the current room to the next room
( Game Maker 6.1, 7 )
Syntax
room_goto_previous ( )
Description
room_goto_previous() changes the current room to the next...
room_height - height of the current room in pixels.
( Game Maker 6.1, 7 )
Description
room_height is the height of the current room. You should note that this is not the height of the view....
room_last - index / name of the last room
( Game Maker 6.1, 7 )
Description
room_last is a variable that contains the index of the last room. It is useful for checking if the current room is the...
room_next - Returns index of the next room
( Game Maker 6.1, 7 )
Syntax
variable_name = room_next(argument1);
This function returns the index of the rom after the integer entered in...
room_persistent - Indicates whether or not the room is persistent.
Syntax
room_persistent = bool
bool = true or false
Explanation
This will indicate to Game Maker whether the current room is...
room_previous - Returns the next room's index
( Game Maker 6.1, 7 )
Syntax
room_previous(argument1)
argument1 - This argument is the index of which room Game Maker should check...
persistence seems to affect room_restart()'s behavior… when I call room_restart before setting persistence true, then the room restarts as expected, but after persistence is set to true, then...
room_restart() - Restart the current room.
Syntax
room_restart()
Explanation
The room that is currently running will be restarted to its original state.
This is often used after losing a 'life'...
room_speed - intended steps per second of the current room.
( Game Maker 6.1, 7 )
Description
room_speed is the target steps per second of the current room. It is not the actual steps per second as...
room_width - width of the current room in pixels.
( Game Maker 6.1, 7 )
Description
room_width is the width of the current room. You should note that this is not the width of the view. room_width...
round - round a number
( Game Maker 6.1, 7 )
Syntax
int = round ( real )
int - returned integer (rounded number)
real - number to be rounded, as a real number
Explanation
round() rounds a number...
score - score of the game
( Game Maker 6.1, 7 )
Explanation
score is a built-in global variable used to keep track of the score of a game in Game Maker. You are not required to use it if you don't...
screen_redraw() - Redraws the screen, calling the draw event for all objects
Syntax
screen_redraw ( );
Explanation
GM normally will redraw the screen after every step. If you find the need to...
screen_refresh() - Used to redraw the screen after you draw on it manually.
Syntax
screen_refresh ( );
Explanation
This function redraws the screen without calling the draw events for the...
screen_save [pro] - save a .bmp screenshot
( Game Maker 6.1, 7 )
Syntax
screen_save( filename ) ;
filename - the filename of the screenshot, as a string
Description
screen_save() saves a .bmp...
screen_save_part - save part of the game screen as a screenshot
( Game Maker 6.1, 7 )
Syntax
screen_save_part ( filename, x , y, w, h ) ;
filename - filename to use when saving the screenshot
x -...
set_automatic_draw() -Sets if GM draws the screen automatically or not. By default it does.
Syntax
set_automatic_draw ( bool );
bool - True or False
Explanation
This function can be used to...
show_health - show the health in window caption
( Game Maker 6.1, 7 )
Explanation
show_health is a variable that sets whether or not to show the health in the window title. If show_health is set to...
show_lives - show the lives in window caption
(Game Maker 6.1, 7)
Explanation
show_lives is a variable that sets whether or not to show the lives in the window title. If show_lives is set to true...
show_message - show a message to the player
( Game Maker 6.1, 7 )
Syntax
show_message(msg);
msg - message to show player, as a string
Description
show_message() shows a string message to the...
show_score - show the score in window caption
( Game Maker 6.1, 7 )
Explanation
show_score is a global variable that sets whether or not to show the score in the window title. If show_score is set...
sign() - Function that returns the sign of a numeric expression (integer or float).
( Game Maker 6.1, 7 )
Syntax
sign(<expr_N>)
<expr_N> is the numeric expression (either evaluating to...
sin - get the sine of a number
( Game Maker 6.1, 7 )
Syntax
sine = sin(numb)
sine - returned sine of a number
numb - number of which to get the sine
Explanation
sin calculates the sine of a...
solid - treat sprite collision as solid in collision detection
( Game Maker 6.1, 7 )
Description
solid is a local variable (contains true or false) that flags whether or not sprite collision is...
sound_fade() - Changes the volume level of a sound over time.
Syntax
sound_fade(sound_name,volume,time_in_milliseconds)
sound_name - name of the sound
volume - ending volume number between 0 and...
sound_loop() - Functions like sound_play, but on a loop.
Syntax
sound_loop(sound_name)
Explanation
This functions like 'sound_play' but will loop the sound infinitely until it is told to stop.
This...
sound_play - start a sound playing
( Game Maker 6.1, 7 )
Syntax
sound_play ( snd_id );
snd_id - name of sound
Explanation
sound_play( ) starts a sound playing.
Examples
Play a Sound
The below...
sound_stop() - Stops the indicated sound.
Syntax
sound_stop(sound_name)
Explanation
Stops the indicated sound.
It is important to differentiate between this and sound_volume(), as sound_stop() will...
sound_volume() - set the volume of a sound
Syntax
sound_volume(sound_name,volume)
sound_name - name of sound
volume - volume to set the sound to (0 to 1)
Explanation
This will instantly change...
speed - an object's speed
( Game Maker 6.1, 7 )
Explanation
speed is an object variable that represents and object's speed. It is used in combination with direction, which determines the object's...
sprite_height - height of the current sprite
( Game Maker 6.1, 7 )
Description
sprite_height contains the height of the current sprite of an instance in pixels.
Examples
Example of...
sprite_index - currently displayed sprite.
( Game Maker 6.1, 7 )
Explanation
sprite_index is a local object variable that contains the name of the currently displayed sprite of that object. It can...
sprite_width - width of the current sprite
( Game Maker 6.1, 7 )
Description
sprite_width contains the width of the current sprite of an instance in pixels.
Examples
Example of...
sqrt - are used to calculate the square root.
( Game Maker 6.1, 7 )
Syntax
sqrt(x);
x - The number you want to calculate the square root of.
Explanation
sqrt calculates the square root of a given...
string - convert a real number to a string
( Game Maker 6.1, 7 )
Syntax
rstr = string ( numb )
rstr - the returned string
numb - the real number to convert
Explanation
string() converts a real...
string_format - convert a real number into a formatted string
( Game Maker 6.1, 7 )
Syntax
string_format ( numb, total, decimal )
numb - number to convert and format
total - total number of...
This is the most basic GML syntax you will need to know to proceed with this GML tutorial.
BASIC GML Syntax
GML Statements
GML statements are one complete command to Game Maker. They are like...
%%content%%
GML or Game Maker Language is the scripting language used to make advanced games with Game Maker. You will need to learn GML to make good games.
This tutorial / book is highly...
var - create a variable
( Game Maker 6.1, 7 )
Syntax
var variable_name;
Description
var is used to explicitly declare (or, create) a variable without giving it a value first.
Code Examples
Example...
variable_local_exists - check if a local variable exists
( Game Maker 6.1, 7 )
Syntax
variable_local_exists(str);
str - string that is a name of a local...
Variables are used to store information such as character names, hit points, score, number of lives and other things about your game while your it is running.
Variables in Game Maker
Variables are...
view_angle[] [lite] - rotation of a view
( Game Maker 6.1, 7 )
Description
view_angle[] contains how many degrees a view is rotated. By default it is 0.
Examples
GML Code Examples
Turn a View...
view_xview - the x-position of a view in a room
( Game Maker 6.1, 7 )
Explanation
view_xview[] is the x-position of the current view in a room. It is similar to the x variable for objects. If you...
view_yview - the y-position of a view in a room
( Game Maker 6.1, 7 )
Explanation
view_yview[] is the y-position of the current view in a room. It is similar to the y variable for objects. If you...
visible - set an object's sprite visibility
( Game Maker 6.1, 7 )
Syntax
visible = bool;
bool = true or false
Description
visible sets an object sprite's visibility. If visible is set to true...
vspeed - verticle speed of an instance.
( Game Maker 6.1, 7 )
foldunfold
Table of Contents
Description
Examples
GML Code Examples
Set the vspseed
Limiting vspeed
Jumping
Detecting Up/Down...
while - loop a block of code while a condition is true
( Game Maker 6.1, 7 )
Syntax
while (condition)
{
// do something
}
Description
while is a loop that will loop a block of code as long...
x - the x-location of an object in a room.
( Game Maker 6.1, 7 )
Explanation
horizontal location
- <-- X --> +
x is an object's x-location or horizontal location. In 2D, the x-location is...
xprevious - indicates the previous x position of an instance
( Game Maker 6.1, 7 )
Explanation
xprevious is a local variable. It deals with the previous value of x, i.e. in the last step or time...
xstart - the starting x-position of an instance.
( Game Maker 6.1, 7 )
Explanation
xstart is set when an instance is created as the starting x location of the instance. This happens anytime an...
y - the y-position of an instance in a room.
( Game Maker 6.1, 7 )
foldunfold
Table of Contents
Explanation
Examples
.gmk Example
GML Code Examples
Setting the y-position
Random y-position In a...
yprevious - indicates the previous y position of an instance
( Game Maker 6.1, 7 )
Explanation
yprevious is a local variable. It deals with the previous value of y, i.e. in the last step or time...
ystart - the starting y-position of an instance.
( Game Maker 6.1, 7 )
Explanation
ystart is set when an instance is created as the starting y location of the instance. This happens anytime an...
GM Printing is a Game Maker extension that allows you to use your computer printer. Why the developers of GM thought this was important boggles the mind.
Functions
???
Related...
GM Room Transitions is an extension that replaces the old method of room transitions in Game Maker 7. It can only be used by Pro...
News
We found a huge bug! It show blank pages once it reaches the site. I don't know whats wrong!
We are totaly redesigning and we are NOT using UploadScript.net anymore. We also found a more...
Sorry, no match for the embedded content.
The GM Windows Dialogs extension was designed to make games or programs made with Game Maker 7.0 look more OS friendly.
The Message Functions
Code
Description
wd_message_simple(str)
Works like...
GMX is a way to embed your Game Maker 7 game in a webpage.
Description
GMX embeds the game in a webpage, but currently produces many error messages (these don't actually have any effect on the game...
Graphics in Game Maker fall into two general categories, graphics that are drawn automatically by Game Maker and graphics features that require programming.
Drawing
"Drawing" is the general term...
Gravity is the force of attraction between one object and another.
foldunfold
Table of Contents
Game Maker's Built-In Gravity
GML
Action
Simple Gravity
Tutorials & How To
Related...
A grid [pro] is like a 2d array with added functions.
The array index starts at 0 for X and Y
Grid...
Gyruss is a classic arcade game developed by Konami.
Game Play
Gryruss is a slide shooter, like Space Invaders, except it takes place in a "tube" in space.
Gyruss Like Movement
Gyruss is all about...
Im from Oman .
Im in middle school my school is pretty different than the other schools in my country because its an electronic school .
We study using lap tops .
I like many from those games...
Health is a general term used to describe how much damage something can take before either the effects of damage take effect or the object is outright destroyed.
Game Maker has a built-in health...
A healthbar (or lifebar or health bar) is a graph that displays a stat in bar form.
More appropriately, it should be called a statbar, being that it is used to display any stat to the player...
General
How do I display more than one healthbar for the same object?
Just call draw_healthbar() twice.
Categories: Health
Status
Description
I already know how to make a healthbar but I do have one problem…
Allow me to explain.
When my character gets hurt by a enemie the health goes down a little.
After that my...
Game Maker has a Health System already built in. The variable name is health which is a reserved global variable. Since it is already global you do not need global. in front of it. Also, because it...
The following describes how to make a 2d top-down helicopter with player control using WASD.
The Helicopter
This isn't perfect as the control feels too "tight". It should work for the majority...
Help for Using Game Maker
Search Game Maker Wiki Complete
If you need help using Game Maker you can try to find your answer by searching the wiki using the box below :
While on another page, you...
Help Contents
Getting Started
Editing Cheatsheet
Create a New Page
Introduction
FAQ
Karma
Links
Tags
How to Upload
Categories: Game Maker Wiki
Welcome to the HelpDesk
Welcome to the Game Maker Wiki Complete HelpDesk.
This section is designed to help you get the answers you need quickly as possible.
Step 1 : Search The Wiki
The first...
Introduction
Karma shows your activity level at Game Maker Wiki Complete.
Karma generally shows whether a person is a noob or an established member.
It is used when choosing new moderators and admins, who must...
Status
Description
how do you make an enemy move from one end of a platform to the other, and only shoot you when you get near it
also how do you make like, enemy music play when an enemy has...
Status
Description
%%content%%
Submitted by: %%author%%
Rate This Help Request
If you would like to see this question answered, click the +
Submit an Answer or Solution
Tags are words or phrases that help group pages together.
To add (or apply) a tag to a page
Click on tags at the bottom of a page.
Type the tag(s) in the box that appears.
Click on save tags
This guide teaches you how to upload your files (gmk, gmd, gm6) to the GM Wiki.
Uploading a File
Go to your member page or create one
1. Scroll down to the bottom of the page
2. Click on files
3....
hi, I really need help with my AI for a tds game I am making. I have got the enemies following me and shooting if there is no object in the collision line, but I have got some problems.
1. using...
Game Maker has built-in functions to create, update, and display a list of highscores in a table. You do not have to use these functions, you can create your own highscore list / table using...
A Hit Point is a point of health. This is usually affected by a stat like 'Health' or 'Endurance'. When an enemy hits you, you usually lose Hit Points. These can sometimes be healed. Use the health...
Status
Description
For some reason when sounds are played in my platform game such as power up sounds or attack sounds,
the background music stops completely and doesnt come back!
someone help me...
Status
This help request is open
Description
I want to change the playback speed of my vehicle to represent it going faster, kinda like reving an engine, the faster it spins the higher the pitch...
Status
Description
I keep getting sprites where the legs are moving , am i supposed to do that? I mean , in some games I play they both stand and walk , when Im mon walking around how do I get the...
Status
Description
I'm making a smash bros-ish game and I'm have problems understanding how to make it drift around randomly.
If you're going to tell me in script, then you're going to need to give...
Status
Description
i need an object stay for 3 seconds then dissaper
Submitted by: Anonymous user
Rate This Help Request
If you would like to see this question answered, click the +
Submit an...
Status
Description
I'm making a game where the enemies will need to look towards your character wand then move towards it when they are disturbed. I know how to make them go towards you, but how do...
Status
Description
HOW DO YOU MAKE ENEMIES APPEAR RANDOMLY ON GAME SCREEN ANYWHERE?
Hi, i'm making this game call Heavy Fire, where you and your squad have to make a run to the other end of the...
Hi! I need some help making ragdoll like characters. You know, like ones that you can throw around with your mouse, where there arms and legs flail around. I can't seem to figure out how, and since...
Status
This help request has been answered and the answer not yet added to the wiki
Description
Hi. My problem is I want to make a game where you shoot stuff, but the catch is i want the mouse to...
This How To will show you how to add an instance to a room before runtime using the Room Properties window. This step is essential part of building levels for your game. This How To was written for...
This will change the cursor:
window_set_cursor(curs)
Here's the different cursor...
How to Change the Window Caption in Game Maker
The window caption (the title of the window) isn't called the 'window caption' in Game Maker. Instead each room has it's own room_caption. Therefore...
Status
Description
I have a room in gamemaker ,no scrolling or anything.
but i want to create an instance at a -random- position in a -specific- area in this room.
a little funny example to explain...
Game Maker objects are used to create walls, enemies, bullets, etc — just about anything in your game that needs to be interactive. The first step in using objects is to create a blank object...
Introduction
This How To will teach you how to disable keyboard input. It uses GML only and was written for Game Maker 7. You may want to stop keyboard input for a time for such things as a...
If you are allowed to edit pages in this Site, simply click on edit button at the bottom of the page. This will open an editor with a toolbar pallette with options.
To create a link to a new page,...
Status
Description
ATM, I am making side-scrolling shooter, and I am trying to get enemy turrets and tanks working. The idea was that there is separate hull and cannon parts, so that cannon can aim...
This How To will teach you how to make a menu. This tutorial was written using Game Maker 7.
How to Make a menu.
Menus can be very helpful in games as they let the player interact with the game...
This tutorial will teach you how to make an animated platformer. This tutorial was written using Game Maker 7.
This tutorial was made by spacechase0.
There may be an easier way to do this, but...
This tutorial will explain how to make a object shoot in the direction he's facing. A example of needing this script is when your player has a weapon.
Put this in the space event of your...
Status
Description
I would like to read string values from the specified .txt file which is placed Online (there is URL location). How to do it? - how to open that file for reading?
for example:...
Status
This help request has been answered and added to the wiki and needs to be deleted.
Description
How can i play a sound in game maker?
Submitted by: kake_fisk
Rate This Help Request
If you...
need a break, be back soon.
Categories: Graphics : How To : Objects : Sprites
Use a Script
Make a Menu
Set the Mouse Position
Introduction
There are two ways to set the gravity in Game Maker - one is using GML, the other is using a drag and drop action. This tutorial assumes you want to set the gravity for a 2D game where...
Status
Description
I need to make the enemy only shoot at me when i am in view of him. When i am behind walls or barriers he dosent shoot. I have the free version.
please help
Flarestrike
Submitted...
Status
Description
Submitted by: Anonymous user
Rate This Help Request
If you would like to see this question answered, click the +
Submit an Answer or Solution
Status
Description
I'm starting to make a game, it's a scifi game, so far I only have a single ship, but the gun on the side of the ship can only fire toward the right, even though I have the arrow...
HUD stands for Heads Up Display. HUDs are used to give your player everything he needs to know about his situation in the game at a glance.
Common HUD Elements
Common HUD elements are :
Number of...
This section details the Game Maker IDE.
Wanted IDE Pages
IDE: Sprite Editor
Related Pages
Event
Categories: Events
An identifier is the name of a variable (function, script, etc) that you use to refer to something.
Be careful when naming variables things.
Make sure that there are no spaces (because they won't...
Related Pages
Object
IDE
Room Properties window
Sprite Properties window
Sound Properties window
Categories: Objects
The Room Properties Window is a visual interface to change some of the properties a room. Some of these room properties can be changed while the room is in used, other's cannot.
foldunfold
Table...
Related Pages
Sound
IDE
Object Properties window
Room Properties window
Sprite Properties window
Categories: Sound
Related Pages
Sprite
IDE
Object Properties window
Room Properties window
Sound Properties window
Categories: Graphics : Sprites
%%content%%
File Menu
Edit
Resources
Scripts
Run
Window
Help
The File Menu
The File Menu is found by clicking on File in the Top Menu. Using the File Menu you can : Open, Save and Load .gmk...
Status
Description
i have this code:
if(mouse_x > obj_MAINMASK.x && mouse_x < obj_MAINMASK.x+obj_MAINMASK.sprite_width && y > obj_MAINMASK.y && y <...
Status
Description
I'm making a tower defense game but I can't get the bullets to work. I'm using a mask for range on my tower. I put check for object enemy at relative and to then create instance...
Challenge Goals
Change the value of room_first during runtime.
Notes
This is most likely impossible simply because room_first is a read-only variable.
Challenges: Challenge Overview | List of...
This challenge has been completed in by Kenochi.
Challenge Goals
Convert object an object's name (id) to a string during runtime.
It must be the object name used in the source file (ex....
{$action-name} Action
This Action needs an example. You can help us improve Game Maker wiki complete by adding one.
This page is an drag and drop action stub. You can help improve Game Maker Wiki Complete by expanding it.
{$text}
Awarded to {$member} for finding a new Game Maker error.
Sorry, comments are temporarily disabled. Try our Game Maker Forum
A
A.I.
AB
abs( )
AC
Action
Action: Align to Grid
Action: Bounce
Action: Burst from Emitter
Action: Call Parent Event
Action: Change Instance
Action: Change Sprite
Action: Check CD
Action:...
C-Team Badge
Call Parent Event Action
Car
Case Sensitive
cd_close_door()
cd_init()
cd_length( )
cd_number( )
cd_open_door( )
cd_pause( )
cd_paused( )
cd_play( )
cd_playing( )
cd_position(...
d3d_draw_block( )
d3d_draw_cone( )
d3d_draw_cylinder( )
d3d_draw_ellipsoid( )
d3d_draw_floor( )
d3d_draw_wall( )
d3d_end( )
d3d_light_define_direction( )
d3d_light_define_point(...
GA
Games
Game Physics
Game Start Event
Gamepad
GL
Global Variable
GM
GML
GML: abs( )
GML: action_another_room( )
GML: action_bounce( )
GML: action_cd_pause( )
GML: action_cd_play( )
GML:...
Madman Badge
Mario
Math
Math Function
Matrix
Member Badge
Member: CrouchingTiger22
Member: Game Freaks
Member: gmhelper
Member: Hartnell
Member: Jryvn
Member: Kake Fisk
Member:...
Particle System
Particle Color Action
Particle Life Action
Particle Secondary Action
Particle Speed Action
Particle Position Action
Player
Point
point_direction( )
point_distance(...
Awarded to {$member} for doing or making something really cool.
Awarded to {$member} for being a member for the Community Team.
This page is an event stub. You can help improve Game Maker Wiki Complete by expanding it.
Awarded to {$member} for having an ingenious insight or idea.
Awarded to {$member} for being helpful and posting on the forum.
Game Maker Elements: Backgrounds | Fonts | Objects | Paths | Rooms | Scripts | Sounds | Sprites | Time Lines
Awarded to {$member} for being able to use Game Maker Language.
This page is an GML stub. You can help improve Game Maker Wiki Complete by expanding it.
GML | GML FAQ | Data
{$name} Guide
This page is a IDE stub. You can help improve Game Maker Wiki Complete by expanding it.
[[/cell]][[/row]][[/table]]
[[/cell]]
[[cell style="width:28%;vertical-align:top;padding-left:1em;padding-right:1em;border:1px solid #eee;font-size:0.9em;background:#fcfcfc;"]]
[[table style="width:98%;margin-left:auto;margin-right:auto;"]]
[[row]]
[[cell style="width:70%;vertical-align:top;padding-right:1em;"]]
Awarded to {$member} for helping to build the wiki.
(Main article: {$page})
Awarded to {$member} for creating a member page.
Awarded to {$member}, who is clearly not a noob.
Contents | A-Z Index
Edited Pages
New Pages
sprite-battles - used on the start page.
stub - used for almost any page that isn't complete
to-do - used for any page with a to-do list.
no-parent - used on any page with no...
{$title}
{$content}
{$title}
{$content}
Current Sprite Battles
Welcome to
Game Maker Wiki Complete,
the free Game Maker Guide that
anyone can edit.
GMWC has over 1,000 pages.
Game Maker Wiki Complete is the place where you can learn to make video games...
This page is a stub. You can help improve Game Maker Wiki Complete by expanding it.
write me!
INI files (.ini) are a type of text file that are formatted in an easy to use section / key / value format.
foldunfold
Table of Contents
INI File Format
INI File Functions
Log in System using INI...
name - does something
( Game Maker 6.1, 7 )
Syntax
instance_find(Obj,num)
obj - object name ex. object0
num - number of object which instance of the object is it…
Explanation
displays...
What is an Instance?
An instance is a copy of a Game Maker object that is created during runtime.
Objects vs Instances
Instances are not the objects themselves. In comparison, an object is a...
An interface is any system that allows your player to interact with, or get information, from your game. (Please note that information about player control can be found on that page. This...
RPG Interfaces are vital to any RPG. Any good RPG needs talking characters (message boxes), a place to keep the countless items you will undoubtedly collect (inventory), and multiple menus (save...
An interval is the time between one moment and another.
The term interval usually implies a repeating interval accomplished by looping an alarm by having it reset itself. Intervals can be regular...
The inventory is something that anyone who has ever played an RPG (which i would recommend if you are gonna try to make on :D) knows very few RPGs can be consider playable without inventories....
Status
Description
Help! My breakout-themed game called AtomSplitter isn't working. I'm using GM7 Lite. Plz help! This is my first game! It was working fine before, but now, once it loads, there's...
This tutorial will teach you how to Create a simple RTS. This tutorial was written using Game Maker 7.
Things you should know
Making an RTS is incredibly complicated, especially without code....
A joystick, according to Game Maker, can be a joystick, gamepad or controller.
Using a joystick control / input in a Game Maker Game is not recommended — not everyone has a joystick. However, if...
Jump and Jumping are generally used in two different contexts in Game Maker. Both of them involve moving, in some way or another, from one point to another.
Jump To Position
Jumping from one...
First you need to create a player sprite.
I will be using a black spot.
Then create a sprite for a wall, and now for objects.
The term key has several meanings. You could be looking for :
Information on how to use keyboard input for player control.
A key as a game object that unlocks another, such as a door or treasure...
The keyboard is the most common method of player control in games made with Game Maker.
Checking Keys
You can check if a key has been pressed, is down, or has been released. Normally, you would...
A fighting game for the SNES(Super Nintendo Entertainment System), N64 (Nintendo 64), Gameboy, and in the Arcade. It was developed by Rare and published by Midway. There is a Wikipedia page on it,...
Level could pertain to :
A stage or area of a game. See rooms.
A level or rank of a player character in an RPG. See : Level system.
Game Maker Pages
The official Game Maker website
Game Maker Community
The official Game Maker forum
YoYo Games
The official YoYo Games Website
YoYo Games Glog
The official blog of YoYo Games
Game...
This is a list of common misspellings of words used by people who use Game Maker. It is here to help you find what you need.
cases
alerm - alarm
extention - extension
colour - color (this is...
This is a list of errors
Create New Error Page
Break It Badge
If you find a new error not listed here, you will earn the Break It Badge.
Awarded to you for finding a new Game Maker...
This is a list of built-in arrays in Game Maker, listed in alphabetical order.
A
Array Name
Does
Lite / Pro
alarm[]
Counts down to -1 when set to a value higher than -1
Lite
B
Array...
This is a list of Game Maker file extensions.
.gb1
When you save your Game Maker source file, Game Maker automatically makes a backup of the previous version of the file. .gb1 is this...
A
A
Function Name
Does
Pro / Lite
abs()
Return the absolute value of a number.
arccos()
arcsin()
arctan()
arctan2()
B
B
Function Name
Does
Pro /...
This is a list of common naming conventions used by Game Maker users.
List of Game Maker naming conventions
Naming conventions are important. They help you tell the difference between the sprite...
This page is a list of Game Maker tutorials not hosted here on Game Maker Wiki Complete. You can find our tutorials on our tutorials page.
Inventory Tutorial - GM 5 and 6
Making an inventory...
This is a list of built-in Game Maker global variables. For a list of all variables, see list of variables.
Global Variable Name
Contains / Does
Read Only?
Pro /...
Sometimes you swear that a Game Maker function exists because of the (somewhat) consistent naming convention used in GM function names or perhaps because you are used to using a similar function in...
Sometimes you swear that a Game Maker variable exists because of the (somewhat) consistent naming convention used in GM variable names or perhaps because you are used to using a similar variable in...
This is a list of terms that Game Maker users like to throw around as if everyone understands them. If you are confused by a bit of jargon said by a Game Maker users, check this page...
This is a list of all built-in Game Maker variables that are not also global variables or arrays.
For a list of global variables, see list of global variables and for a list of arrays, see list of...
A list [pro] is a data structure like 1-D arrays with extra features for manipulating and changing them.
List Functions
ds_list_add()
ds_list_create() - create a list, must be used...
A literal is a piece of data that you put directly into your game code. It does not have to be input from disk or read from the keyboard — its there in the game code from the time that your game...
What is a Local Variable?
A local variable is a variable that belongs to an instance.
Each instance of an object can have it's own, independent set of local variables.
Creating Local...
A loop is a programming construct that repeats a block of code based on specific conditions.
Types of Loops
for
A for loop will loop a block of code a number of times.
while
The while loop will...
Mario1 is a widely known Nintendo character.
As Nintendo's flagship character, Mario and related characters have appeared in many games.
Mario Games
Donkey Kong
Mario Bros.
Super Mario Bros.
Super...
Mario Bros. first appeared as an arcade game and was the first appearance of Luigi.
Genre
Mario Bros. is a simple platform game.
Mario and Luigi
Mario and Luigi are essentially the same object, but...
A mask is a secondary sprite used to determine the collision area of an object rather than it's displayed sprite.
Related Pages
Collision
GML
mask_index
Categories: Collision
Math is easy in Game Maker, however, you must remember that you have to do something with the result of the math. You either need to display it or store it in a variable.
Arithmetic
Addition
var...
This FAQ describes answers many questions about how math is handled in Game Maker.
General
What does var1 += var2 mean?
It is shorthand for :
var1 = var1 + var2;
What does var1 -= var2 mean?
It...
The term Matrix could refer to :
A 2d or 3d matrix of data, such as a multiplication table or tile map.
A data structure capable of holding such a matrix ; array, grid.
The movie series The Matrix...
Medal of Honor is a first person shooter from EA. It's set in the midst of WW2 in many areas.
Mega Man, known as Rockman (Rokkuman?) in Japan, is a video game developed and published by Capcom in 1987 for the NES/Famicom.
Related Pages
Backlinks
These pages link back to this page. You may...
This is the member page of Adrian monk
About Me
I like Monk. And sharpies.
My favorite website: www.instructables.com
My Badges
I have earned the following Badges :
Awarded to Adrian monk for...
Yay!
This is the member page of aliasdas
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following badges :
Awarded to Aliasdas...
This is the member page of Altranaen
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following badges :
Awarded to...
This is the member page of Anonymo
About Me
I'm 19 and I currently live in Texas.
Hey I've been using Game Maker since 5.3a was the popular release, and as such have had a lot of practice....
Upcoming Projects
Perilous Journey: The Quest For Fire
A group of cavemen have left their home in search of a firemaker who will teach them to make fire come from their hands. The brightest of...
This is the member page of askrobert1234
About Me
I am currently working with Game Maker and gradually getting better. I created 5 games so far (or more) that I will attempt to upload when I remake...
Welcome to my page!
About Me
Where I have my username from
I've often played the N64 when I was younger. One of the games was a fighting game called "Mace the Dark Age". The final boss of that game...
This is the member page of Atizoa
About Me
well i love making games :) and i always think about what a game will be like , other then that i like to draw and play soccer.
My Badges
I have earned...
This is the member page of Austineze
About Me
Working with Game Maker for years, but still D&D. Trying my best to learn some GM …
My Badges
I have earned the following badges :
Awarded to...
This is the member page of Bad2Grim
About Me
My Badges
I have earned the following badges :
Awarded to "Bad2Grimm" for creating a member page.
Files
My files.
My Scratchpad
You can keep notes...
This is the member page of Ben
About Me
I am 13 years old and I live in Malta. I am very eager to learn gml and learn how to sprite better. This site has helped me lots.
Yeah i made my avatar...
This is the member page of Berthenk
My Scratchpad
Need movement for platformer? Add this code to the step event of you character :
//Gravity
if place_free (x,y+1) {gravity = 0.5}
else {gravity =...
This is the member page of Billywhizz635
About Me
I'm a spriter and game designer, basically. Lol.
My Badges
I have earned the following badge :
Awarded to Billywhizz635 for creating a member...
This is the member page of Bit2Late
About Me
I'm just a guy with zero programming skill, and I really want to try my hand at making a game or two (or who knows, maybe a hundred).
My Badges
I have...
This is the member page of Bouserthedog.
About Me
I’ve been playing video games since I was 4 years of age, and since then I have been accumulating ideas about what I would make in a game....
This is the member page of Bouserthedog
About Me
I’ve been playing video games since I was 4 years of age, and since then I have been accumulating ideas about what I would make in a game. Thought...
This is the member page of Brendon.
About Me
I am 16 years old, I am still in school, i live on the central coast in NSW australia, the suberb is lisarow, i take a software design and development...
This is the member page of CaptainLepidus
About Me
My Badges
I have earned the following badges :
Awarded to CaptainLepidus for creating a member page.
Files
My files.
My Scratchpad
No notes...
This is the member page of Chainsawkitten
About Me
I'm 16 years old and have worked with Game Maker for quite some time now. My best projects so far is probably The Ant and Ectoblood, which both...
This is the member page of chubbyboy
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following badges :
Awarded to...
This is the member page of commander of games
About Me
I like making games with GM7. I like helping so much, that I sometimes just watch the front page waiting for a new question to pop up. I like...
This is the member page of cretaal
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following badges :
Awarded to Cretaal...
This is the member page of CrouchingTiger22
About Me
crouchingtiger22 says "Hi"
Hi all, as you can see; my name is CrouchingTiger22, Crouch, or just Ed. I'm Irish, have Guru karma, and I'm making...
This is the member page of crowstone
About Me
I am Crowstone. I like playing and making games. Also, I like: Science Fiction, Fantasy, Stories, Funny Jokes, Adventure Games, RPG games, Platform...
This is the member page of DaemonPower
About Me
I've been using gamemaker for about a year. I'm a little new with GML but I can use drag and drop very easily.
My Badges
I have earned the following...
This is the member page of DalyTek
About Me
My Badges
I have earned the following badges :
Awarded to DalyTek for creating a member page.
Files
My files.
My Scratchpad
You can keep notes here.
This is the member page of D-BoyWheeler
About Me
I'm a long time game player, but first time game designer. So… hi?
My Badges
I have earned the following badges :
Awarded to D-BoyWheeler for...
This is the member page of Fltchr
About Me
I like cookies.
My Badges
I have earned the following Badges :
Awarded to Fltchr for creating a member page.
Files
My files.
My Scratchpad
You can...
This is the member page of Game Freaks.
About Me
*Will fill in later*
Badges
Awarded to Game Freaks for creating a member page.
This is the member page of GameMaker888
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following badges :
Awarded to...
This is the member page of gbatheo
About Me
Hi, I don't really have a lot to say that i want to post on the net. Oh well.
My Badges
I have earned the following badges :
Awarded to Gbatheo for...
Please don't restore to the January Backup.
Thanks, gmhelper
About Me!
>>Show About Me!<<
>>Hide About Me!>>
I became a member of the Game Maker Wiki before the...
This is the member page of GunnerIl
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following badges :
[[include...
I am the original found of Game Maker Wiki Complete and the founder of the entire Wiki Complete network.
My badges :
Awarded to hartnell for creating a member page.
Awarded to...
This is the member page of Hippopotamus
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following Badges :
Awarded to...
This is the member page of iPH360
About Me
Hi! My name is John and im 12 years old. I live in Athens,Greece and my hobby are gaming and yoyoing.
I wanna be a game developer when I grow up.I already...
This is the member page of ItsMeDag
About Me
'Sup. I'm Dag. New here. And dreaming to make 3 or more games…
My Badges
I have earned the following badges :
Awarded to ItsMeDag for creating a...
This is my page. I am Jaknife
About Me
I am a 36 year old male from the United Kingdom.
I am a Microsoft Certified Solution Developer, which encompasses many exams and qualifications, most notably...
This is the member page of jesusconverse
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following badges :
Awarded to...
About Me
Awarded to Jewntansoath for creating a member page.
Hi there! I'm JewntansOath, and I am a new user here to Wiki Complete. I have had a lot of experience with wikis myself, my latest...
This is the member page of joedavis
About Me
I have studied game maker 7 for about a month as of 10/20/2009. I have never participated in a wiki before. I guess that means I am a noob at doing...
This is the member page of Josh
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following Badges :
Awarded to Josh for...
This is the member page of Jryvn
About Me
Not much here at the moment, give me a little time.
My Badges
I have earned the following Badges :
Awarded to Jryvn for creating a member...
Hi. My name's Jason Love. I'm online as 'jsnlxndrlv'.
About Me
I used to think I was a programmer because I'd made a barebones version of that toy, "Lights Out", in QBASIC in 7th grade. As a...
Kake Fisk's Member Page.
My Badges
I have earned the following Badges :
Awarded to Kake Fisk for creating a member page.
Awarded to Kake Fisk for being helpful and posting on the...
This is the member page of karikitty82
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following badges :
Awarded to...
To upload your .gm6, click on "files" at the bottom. You can link to that file from anywhere on the forum / wiki using this syntax :
[[file member:kenichisan/file_name.gm6]]
Awarded to...
This is the member page of Kirika
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following Badges :
Awarded to Kirika for...
This is the member page of Kurohi
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following Badges :
Awarded to Kurohi for...
This is the member page of Lcao
About Me
Hi I am new here. I am trying to create games.
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the...
This is the member page of louiskepler
About Me
I was introduced to gamemaker by a teacher in tech class.
My Badges
I have earned the following badges :
Awarded to Louiskepler for creating a...
Hi All, Just starting out trying to make games. I have no coding experience whatsoever, so I thought gamermaker would be a good way to start learning the concepts involved.
My Scratchpad
You can...
This is the member page of luster123
About Me
Hello! My name is Dexter. I like programming! I use GM 6.1 to make my games! I like Facebook! That is all the info I have at the moment!
My Badges
I...
This is the member page of user Mad Lucied
About Me
I am a gamer, reader of novels, both sci-fi and fantasy, a lover of RPG's FPS, and strategy games. (More later)
Should anyone be able to edit...
This is the member page of Maker9
About Me
Mesa wanna learn GM
My Badges
I have earned the following badges :
Awarded to Maker9 for creating a member page.
Files
My files.
My Scratchpad
You...
This is the member page of Masterlight
About Me
//Hey… //
My Badges
I have earned the following badges :
Awarded to The Great MASTERLIGHT! for creating a member page.
Files
My files.
Current...
This is the member page of Meerkat
About Me
Owner of Clamcake Games.
My Badges
I have earned the following badges :
Awarded to Meerkat for creating a member page.
Files
My files.
My...
This is the member page of Metatextra
About Me
I am one of those people who love technology but are not experts. I love cryptology and my favorite part of trying to make a game is trying to figure...
This is the member page of mike.
About Me
My name's mike and i'm crazy. I like game maker.
My Badges
I have earned the following badges :
Awarded to mike for creating a member page.
My...
Attention : This member page was created by a an anonymous user. Please join this wiki to keep this page. Please use "create account" at the top of the page. Thank you. —hartnell
Welcome To the...
This is the member page of moffD
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following badges :
Awarded to MoffD for...
This is the member page of monocledsardine
About Me
Monocledsardine… ever wondered about the name? For those who don't already know, a "monocle" is a single eyeglass generally worn by snotty,...
This is the member page of mr glasses
About Me
I've been using GM for a a few months over a year now. I've only used GM 7 but I have quite a bit of expeariance with GML…I just need to learn what...
Begginning…
Main Purpose. Emphasize on the non-gaming creative aspects of this software.
Awarded to NestorB for creating a member page.
This is the member page of network-admin
About Me
My Badges
I have earned the following Badges :
Awarded to network-admin for creating a member page.
Files
My files.
This is the member page of newguy
About Me
I'm a new member and I just use GM 6.1 Pro so please help my with GM 6.1
My Badges
I have earned the following badges :
Awarded to Newguy for creating...
This is the member page of NicAdi
About Me
Hi there! My name is Adrian and I'm a Civil/Structural Engineer (more Structural than Civil, I'd say). Wow! That sounds so complicated, but it actually...
NinjaWilko's Member HomePage
Intro
Badges!
Tabs!
Hi, I'm NinjaWilko & this is my HomeSpace…
I like to create games with GameMaker although I use all sorts of programs such as Flash...
This is the member page of Nkiller
My Badges
I have earned the following Badges :
Awarded to Nkiller for creating a member page.
Files
My files.
My Scratchpad
*Note*
This is the member page of Ontrox
About Me
My Badges
I have earned the following badges :
Awarded to Ontrox for creating a member page.
Files
My files.
My Scratchpad
You can keep notes here.
Member pages are pages where you can write about yourself, write notes, and store your own files.
Create Your Own Member Page
To create your own member page:
Type your name into the box below...
This is the member page of Phailezatgm
About Me
I like to learn how to make games in different ways, im a complete noob atm.
My Badges
I have earned the following Badges :
Awarded to Phailezatgm...
This is the member page of Prince Of Foxes
About Me
Hello, everyone! I've been using Game Maker off and on for several years now. Only now, however, have I gotten really serious about using. I have...
Hey i am R4YZ0R im still trying to find out how to lol so yer if u could help id love
Awarded to R4YZ0R 360 for creating a member page.
This is the member page of Raekos
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following Badges :
Awarded to Raekos for...
This is the member page of Random Panda
About Me
I wish to start making simple games with GameMaker and eventually start making games for different systems and keep evolving my game making...
This is the member page of RaveSarus
About Me
I love RPG games and want to be able to make a game that has all the RPG elements of a classic game like Final Fantasy, but with characters from the...
This is the member page of REBSTAH
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following badges :
Awarded to REBSTAH...
This is redeamed member page
Real name: Kyle Davis
Age:21
I've always been highly interested in game design, planning on doing it professionally eventually and have decided it is time i buckle down...
This is the member page of Reprapper
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following Badges :
Awarded to...
This is the member page of Rixy
About Me
Hi people. I want to make adventure games about a penguin!
My Badges
I have earned the following badges :
Awarded to Rixy for creating a member...
This is the member page of rockstatic
About Me
Name: Cory Larose
DOB: 09/22/1983
Location: Montreal, Canada
Info: I am a shining example of what exactly a starving artist entails. I create art for...
This is the member page of Rorcin
About Me
Hey, my name is Fraser and i live near Sydney in Australia. Im very keen to improve my skills.
My Badges
Awarded to Rorcin for creating a member...
This is the member page of rpguy
About Me
I have been using game maker for less than a year and I know a bit about GML. This is my first wiki and I would be happy to help expand it in any way that...
Members:
Moderators
Admins
This is the member page of salgfrancisco
About Me
I' a stundent and I'd love to programm robots in the future.
I've a bit of experience programming in TI-BASIC ( calculators)and I'm learning how to...
This is the member page of Saxonator98
About Me
If it wasn't 1:40 AM, I'd tell you something. Come back later.
My Badges
I have earned the following badges :
Awarded to Saxonator98 for creating...
This is the member page of Seeker14491
My Badges
Awarded to Seeker14491 for creating a member page.
Files
My files.
This is the member page of The Next Guitar Hero
Really, I don't know what to put on here.
About Me
I play Guitar Hero & Rock Band a lot, but our wireless Guitar Hero Explorer controller is...
This is the member page of sharlowidalot
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following badges :
Awarded to...
This is the member page of shockerty
About Me
My Badges
I have earned the following Badges :
Awarded to shockerty for creating a member page.
Files
My files.
This is the member page of shrederguy1
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following badges :
Awarded to...
This is the member page of Sir_Willard
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following badges :
Awarded to Sir...
This is the member page of Slipknot_Rocks
About Me
My name is Brody, and I am 13. I was born on Jan. 13, 1996, and I live in California. One of my main goals in life right now is to get into Jesuit...
Snotrocket's member page.
Viva la gamemaker.wikidot!
My Badges
I have earned the following badges and proudly wear them:
Awarded to snotrocket for creating a member page.
Awarded to...
This is the member page of SoaCahToa
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following badges :
Awarded to...
This is the member page of spacechase0
About Me
Learning GML and working on C++.
Just got C++ game making working! It may not be much, but I loaded an image and made it where the player can move...
hey this is my (spritemkr) page
I like to make sprites as my name suggests :)
in more time, because i am new, i will begin to add sprites for your use or for future use etc (you never know :P...
This is the member page of squeakyreaper
About Me
Ahoy! I am Squeaky Lactose Reaper, High Reaper of cheese and other lactose products! I've been using GameMaker for six years now, and still going....
This is the member page of Stretch
About Me
I'm Stretch, and I am here to gain a greater understanding of Game Maker. At the present time, I use mostly drag and drop, but I am slowly getting the...
This is the member page of Superbob2442
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following badges :
Awarded to...
This is the member page of Sykes
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following Badges :
Awarded to member name...
Well i'm making a game called system ofa theory
Awarded to system_ofa_theory for creating a member page.
Taiki288
This is the member page of Taiki Kazuma.
About Taiki
Taiki has created games for almost 3 years.
Despite his lack of complete projects, he is now starting to take things seriously
and...
This is the member page of Tee
About Me
Information to come soon!
My Badges
I have earned the following badges :
Awarded to Tee for creating a member page.
Files
My files.
My Scratchpad
This is the member page of tehraptor
About Me
I am second in command at wikicomplete.info
I am a cool admin of this wiki.
My Badges
I have earned the following Badges:
Awarded to tehraptor...
This is the member page of TheTiger861
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following badges :
Awarded to...
This is the member page of Thiago Carvalho
About Me
I'm a person that wants a lot to learn Game Maker
My Badges
I have earned the following badges :
Awarded to Thiago Carvalho for creating a...
This is the member page of trevbot
About Me
My Badges
I have earned the following badges :
Awarded to trevbot for creating a member page.
Files
My Scratchpad
This is the member page of Tyler Hill.
I am 14 and i am a nintendo fanatic. i hope to create some sort of metroid game on game maker but i am having a few difficulties.
My Badges
I have earned the...
Member page for u9.
About Me
I have created approximately one tiny GameMaker game and participated in a few challenges and sprite battles (and won a few.)
My Badges
I have earned the following...
This is the member page of Ueger
About Me
I Like Pokemon
My Badges
I have earned the following Badges :
Awarded to Ueger for creating a member page.
Files
member:Ueger/RPG(OR WHATEVER!)
My...
note from admin : Please create an account. Thank you. —hartnell
This is the member page of User vista101 can not be found.
About Me
Include a bit about yourself here, or completely delete this...
This is the member page of werty os no1
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following badges :
Awarded to Werty...
This is the member page of xilelix
About Me
Hello im totaly new to this im just mucking about so far.
My Badges
I have earned the following badges :
Awarded to xilelix for creating a member...
This is the member page of xXFireFox777Xx
About Me
I like to do multiplayer games, maybe even implement them in an RPG type. I also like platform and shooters. Learning to draw sprites is one of my...
This is the member page of yoshx
About Me
I'm Just a guy who loves to make games ;-).
My Badges
I have earned the following Badges :
Awarded to Yoshx for creating a member page.
Files
My...
This is the Member Page of Zas.
About Zas
Working on a Metroid engine project.
ZeroEngine - A Metroid Engine (M:FM Forums)
ZeroEngine - A Metroid Engine
M:FM Forums
Badges
Awarded to Zas for...
This is the member page of zoken
About Me
New to using gamemaker. The version I am using is 6.1. Trying to make a space adventure game similar to starcraft.
My Badges
I have earned the following...
A menu is any interface where a player is given a number of selections and must make a choice. RPG shops are actually just menus.
A menu is usually drawn and controlled by a controller object. This...
Message Boxes are vital to any RPG. Any good RPG needs talking characters, and any RPG (regardless of whether it is good or not) needs a way to get information to the player. This can all be...
Metroid is a popular game for the NES and was a pioneer for nonlinear game.
foldunfold
Table of Contents
Game Play
Samus Aran
Power Ups
Energy...
An MMORPG is a massively multiplayer RPG (Massively Multiplayer Online Role Playing Game).
Making an MMORPG
Making an MMORPG is only possible with the Pro edition of Game Maker 7. It may not be...
Introduction
This is a FAQ about making MMORPG games with Game Maker and our upcoming project to create one.
General
Is it possible to make a MMORPG with Game Maker?
Yes. We think so. However, we...
The mouse is used for input and player control along with the keyboard.
Mouse Input
Mouse input has two different components, the mouse buttons and the mouse cursor.
Mouse Cursor
The mouse cursor...
Moves the selected object until it makes contact with a solid object.
move_contact_solid(direction,12)
Movement or motion is the changing of position over time.
2D Movement
In a 2D game, objects can move on two axes : the x axis (left to right) and the y axis (up and down).
To make an object move...
Introduction
This FAQ is for general movent related issues in Game Maker.
General
How do I make an instance move diagonally?
There are several ways to make an instance move diagonally.
First is to...
move_wrap() - Wraps the movement of the instance to the opposite side of the room once it has left the room.
Syntax
move_wrap(hor,vert,margin);
hor - (true/false) If true then allow for...
If you have Game Maker 7 Pro, you can make multiplayer games that connect online. Multiplayer games by their very nature require a client-server architecture.
If Game Maker's multiplayer functions...
Game Maker Wiki
Learn GML
GML Beginner
GML Introduction
GML How To
GML Syntax
GML Variables
GML Operators
Get Your Own Free Wiki
This wiki is a part of
Game Design Novice
//
Page...
Main Navigation
Game Maker Wiki
Getting Started
Contents
About
Help
Answer a Question
Questions
Guides
RPG Guide
Community
Community
Forum
Recent Posts
Member Pages
IRC...
Status
Description
hello hope i can get someone to help me with game maker
here is what i am trying to do
i am trying to get the object to move to the position
were i click the mouse on the...
Introduction
You have been referred to this FAQ because you are a Game Maker Newbie. This is not necessarily a bad thing, it just means that you are inexperienced in using Game Maker. This FAQ's...
The noob ladder is a natural progression of concepts.
For example, before being able to understand what a view is, a person must understand rooms.
This page is being used to map out these...
Status
Description
I just uploaded a few new sounds for monsters to make when they die in a game I'm working on, and when these sounds are played, they stop the background music entirely. Why might...
Numbers in GML are always floating point, or real, numbers.
52.359
2.5
What would normally be integers are actually real numbers with 0 as a decimal fraction.
52.0
2.0
Related...
An object is a prototype definition of an interactive element in your game.
Introduction to Objects in Game Maker
Just about anything in your game that can interact with something will be an...
The massive RPG project. Made by DaemonPower and DeamonPrince
Description
This game is made in parallel 3-D and is based in medieval times. The main character, Xavier has lived in the same place...
Introduction
An operator performs an operation on data such as add two numbers together or compare them to see if one of them is larger than the other.
Assignment Operator ( = )
The assignment...
An outline is a line that encloses something to bring it out visibly from the background.
Drawing Functions Outline
Many of the drawing functions that draw primitives (shapes) take an argument that...
Status
Description
I am trying to create a solitaire game. I am having several problems. I currently have different objects with different depths set. The objects are created with a difference of...
Since GML is an object based language, objects can inherit code and properties from their parents. This is a very powerful and time saving feature of Game Maker. If you make a parent object for all...
The particle system of Game Maker is pro feature only.
Parts of a Particle System
A particle system is made up of several parts that work together.
Particle System
A particle system itself can be...
A password is a real number or string that allows access to anything in your game. Passwords are used for three primary purposes in games : login systems, progressive level access, and cheats.
The...
A path is a line which an object follows.
Related Pages
Errors
Error: Trying to delete non-existing path
GML
draw_path()
path_end()
path_endaction
path_index [read...
A platform is usually referred to as a solid object that can be stood upon by a character in a platform game.
However, this is not it's only meaning. In programming the word platform refers to the...
There are many different kinds of platform game enemies with platform walkers, platform guards. pouncers and wavers being the most common.
Platform Walker
A platform walker, or platform guard does...
A platform game or platformer is a side-scrolling 2D game where the main game play element is gravity. This sets up the game play to revolve around jumping from one platform to the next.
Basic...
A platform shooter is a type of action game that is also a platform game.
Shooting in a Platform Game
Right / Left Shooting
Shooting in a platform game is usually dependent on the way the player...
Keyboard
The Keyboard is the most commonly used form of player control because the end user (the person who plays your game) can't expected to have a gamepad. Most keyboard control revolves...
Status
Description
When I move the player left and right, it wouldn't budge. I made a mask but that still doesn't help
Submitted by: Anonymous user
Rate This Help Request
If you would like to see...
A point is a 2D or 3D position in space. In 2d, a point can be defined by two numbers, usually referred to by the letters x and y. In 3D, three are required : x, y and z.
Draw a Point
A point can...
Poison is a damage over time status effect that affects health by draining it over regular intervals.
A good way to do this is to set a timer for a certain amount of time when the character gets...
Pong was one of the first arcade games and the first game of the ball and paddle video game genre that was popular during the early days of video game consoles. On video game consoles, especially...
Pop-ups are generally exceedingly annoying to the general user. They stop the game and "pop up" allowing the user to read or perform whatever action is requested of them. With the exception of...
Contents | A-Z Index
Game Maker Wiki Contents
There are two ways to find what you are looking for on Game Maker Wiki Complete — by searching or browsing.
You can search by using the search...
Quick Index
Quick Index
This is a growing index of Game Maker Wiki Complete. It exists to help you find what you are looking for.
This page is not automatically generated and needs your...
Current Events in Game Maker
This page is to post news about what is happening in the Game Maker world. Everyone is encouraged to post links to official Game Maker news, game releases, and other...
You can place your game object in two different types of places — positions and locations. It is important to know the difference.
A position is a point in space, but no important place. Because...
Status
Description
I am making a side scroller like Super Mario Brothers. I am having trouble with the jumping. The character can jump while close to, but without physically touching the ground. Is...
Primitives are basic shapes such as circles and squares.
Primitive Guide
Categories: Draw : Graphics
Challenge Goals
Create a particle explosion.
The explosion must be set off by pressing a key.
The explosion must only use functions of the particle system.
You must use colors ranging from yellow...
Introduction
This FAQ is for people who have already have experience in one programming language and are using Game Maker for the first time.
General
What Type of Syntax does GML have?
The syntax...
Pertainant News
STATUS: Pre Alpha
New plan of action. I realized that there is a plethora of different fundimental changes that I need to make to age of the future. These changes are so collosal...
This is the project page for Block Breakout.
Description
Block Breakout is a breakout game.
Changes
…
Files
Not available yet.
This is your project page.
Description
This game will be based on moving the ball around, and bouncing other balls into a portal of such without colliding with the walls too many times. Currently,...
By : Kake Fisk
Instant Play
You control a red brick and you need to get to the yellow brick to complete each level and get to the next.
Try to grab as many green bricks as you can on your way,...
This is your project page.
Description
the premise of the game is to get higher, starting from under the crust to above in the clouds.
you play as a cute large headed robot with a tiny body and...
By Korushi GOT VIDEO UP :O
Note: Im gonna have to delay the demo a bit. Im reworking some of the coding and objects to be more efficient. Sorry 'bout this :(
Game engine is 90% done
Game levels are...
Game Description
In this addicting adventure platform game you are Daff and you gotta save your village from the evil warlock called Nexus, before he destroys the lands.
But it isn't so easy when...
Drive a Train is a Train Driving Simulation. At the moment, we are still developing the game. — gmhelper
Description
Screenshot coming soon.
This is a train driving simulation game. You actually...
Description
EuroMap tests your geography knowledge in European countries.
Screenshots
Download
http://www.yoyogames.com/games/show/69807
This is a project page for Frontiers Of War.
Description
A RTS set in the far future. It will have three different races and many different resources, you will be able to build many different...
By : gmhelper
This site can allow you to instantly upload your game maker games on the web and share them with friends! (More to come…)
by linda and u9 (u9 AT kallnet D0T fo).
Game Outline
HelicopterCraze is a 2D side-view game where the player pilots a helicopter picking up troops scattered throughout the level and bring them...
Description
HyperPage is an HTML editor that can make websites fast and easy.
Screenshots
Download
HyperPage.rar
HyperPage.zip
Projectile Guide
A projectile is a game object which is thrown, shot, or otherwise propelled from another object with the express purpose of "doing damage" to another object, or, at least,...
Ammo
How do I keep track of ammo?
Use a variable and name it ammo. You can add and subtract to this variable to keep track of ammo.
ammo = 300;
At the start of the game, the player starts with...
This is your project page.
Description
A fun plat former with varying characters and paths. just a time killer and a bit of fun :)
Changes
right, scrap indo, i've started work on ‘Roswell that...
Killbots:
What program is going to/ is used?
Obviously gamemaker but what version? I am using 6.1 with 3d models and 3d sound.
Description
A 3D RPG where the player is a robot and has to find where...
This is your project page.
Description
Max Force (formerly 'Space Shooter') is a project intended as a test-drive of Game Maker by trevbot. It is a basic top-down 2D shooter.
Changes
Version 1 of...
Description
After (0.3)
Before (0.2)
All graphics were made by crouchingtiger22
Except the walls. But even those are being remodeled.
New files will be uploaded soon, when more bugs have been...
This is your project page.
Description
Give a description of your project.
Changes
First version, but actually the 11 of indo, which this game is built upon. new character model and other...
Project Pages are a page where you can show off your Game Maker Projects.
Create a Project Page
To create a project page type in the name of your Game Maker project and click "Create Project...
Smashout!
A arkanoid type game combining retro 1980's "plus" with many improvements, fun gameplay, amazing particle effects, and tons upon tons of levels to dominate! Smashout! is being developed...
I have started that project a long time ago with a different game creation tool and last year I've completely restarted it with Game Maker. There have been many and long pauses, but a beta is...
This is my project page.
crowstone
The Right Choice.
Complete with annoying sound effects and my sprites.
Goal: Complete by January 1, 2009.
Description
here you can see many of the enemies in my...
Description
This is the first release of my tower defence game, please if you find any bugs or glitches or if you just have a good idea tell me, then I will fix/add it (if it can be fixed/added by...
You're trapped in a dark and bloody laboratory. You don't know who you are or why you're there, the only thing you know is that you must find a way out.
If you think it's to dark, just change the...
An Adventure Game
Description
This games is about James who comes home one day and finds that it's dark, a little too dark. So, he decides that it's time for an adventure. He dons his Megaman suit...
Zatacka! / Achtung, die Kurve!
-Into-
I guess everybody knows the DOS game: "Achtung, die Kurve" (also known as: "Zatacka")
You can play up to 6 players, all around one keyboard, and you try to...
Sometimes you will want to mix things up and surprise the player either by generating random numbers or choosing randomly.
Choosing Randomly
Choosing randomly is best to choose randomly from a...
Click here for a random article.
Real numbers are numbers that have a decimal point in them and thus a decimal fraction.
9.02
34.9876
3.00
As far as we can gather from the manual, integers (whole numbers, Ex. 5) are still...
This page lists the Newest Talk Pages. When a new talk page is created, it means the conversation has just begun.
Wiki : Overview of Changes | Recently Edited | Recently Created
Talk: New |...
This page lists the most recently edited talk pages on Game Maker Wiki Complete. Most talk pages are used to talk about specific wiki pages. For other discussion, please use our Game Maker...
This page lists the Most Recently Created pages on Game Maker Wiki Complete.
Wiki : Overview of Changes | Recently Edited | Recently Created
Talk: New | Recent Discussion
Edited Pages
New Pages
Wiki : Overview of Changes | Recently Edited | Recently Created
Talk: New | Recent Discussion
Welcome to the Recent Changes portal. Here you can see what has been what's new on Game Maker Wiki Complete. This page shows the last 5 pages edited and / or created in each major section of Game...
%%content%%
Wiki : Overview of Changes | Recently Edited | Recently Created
Talk: New | Recent Discussion
This is a test. Please comment on the forum post called redirection.
Game Maker Wiki Complete is not only a general Game Maker wiki, as a part of GDN — it's also a research wiki. On this page you can find out about or join in the latest Game Maker research going...
GML Code
Examples
Scripts
Tools
For sprites, see the Game Sprites Wiki
Links to various Game Maker pages.
Tools that can help you do things with your games made with Game Maker.
G-Java - discontinued project to convert GM files to Java.
GMbed - a way to embed Game Maker games in a webpage.
GMX -...
General
How do I change rooms?
There are several GML functions that change the current room. They are :
room_goto()
room_goto_next()
room_goto_previous()
room_speed
Can I change the room_speed...
The room in Game Maker is where things happen in your game.
Introduction to Rooms in Game Maker
Rooms are 2D and can be made into game levels, floors of castles, world maps or whatever that...
Room transitions are built-in scene transitions that play when a room is changed.
As of Game Maker 7, room transitions are a part of the GM Room Transitions extension and can only be used by pro...
First of all you must create a character with PLATFORM controls and commands.
Then make a room with a view.
then make an object (E.G A curly spiral)
in the spiral objct use these...
Status
Description
how do you make objects rotate in the game, i have searched the script varibals and come up with nothing, anyone help?
Submitted by: Anonymous user
Rate This Help Request
If you...
The term round could refer to :
round(), a GML function for rounding numbers.
ceil() will always round the decimal fraction up, floor() will always round down.
A round, one unit of ammo.
A...
RPG Battle Mechanics are a set of equations which are used to determine the outcome of combat and compose the battle system or battle engine
Battle Mechanics are based on stats of characters,...
Welcome to our Game Maker RPG Guide. This Guide will take you step by step from complete beginner to being able to make your own 2D console-style RPG.
This guide assumes that you no absolutely...
A level system, commonly used in RPGs. is used to convert player character experience into improved character stats.
foldunfold
Table of Contents
Die Based Leveling Systems
Percentage Based...
RPG Mechanics is the heart of an RPG. The mechanics of an RPG determines what can happen and how it can happen.
RPG Mechanics are used to :
Run the battle system.
Determine the amount of hit...
NPCs or non-player characters are any RPG characters that cannot be a part of the player's party.
A monster can also be an NPC, but the term usually refers to people who walk about towns, moving...
Note: In the following tutorial I use the word spells, because the following is in response to a forum thread located here
First, to hold the spells assigned to each button (the number keys on the...
RPG Stats are the heart of RPG Mechanics.
The success or failure of any action, especially combat, is determined by the stats of RPG characters and their equipment. Console style RPGs usually have...
A status effect is a flag that affects a game character until the status effect wears off or is removed.
List of effects
The player can be:
Status Effect
Actual Effect
Berserk
The character...
%%content%%
Game Maker RPG Guide : Mechanics | NPC | To Do
This page is for development plans of the RPG Guide section of Game Maker Wiki.
It is also a general scratchpad.
Quests
Escorting Quests
How to Design an RPG (GDN?)
Interfaces
Message...
Overview
RTS stands for real-time strategy.
Note: it is nearly impossible to make an RTS without GML. So if you don't know and don't want to learn GML, try another kind of game first. If you don't...
blah
Introduction
Congratulations, you are about to begin a journey to learn how to make games with Game Maker.
You Can Learn to Make a Game
Anyone can learn to make a game. You are capable of doing...
What is the Score?
Score is the total amount of points the player has.
Add Points to the Current Score
The code below adds 100 points to the current score.
score += 100;
Drawing the Score
The...
A score trigger is a trigger that goes off when the score reaches a certain amount.
In Yar's Revenge several score triggers were used to increase the difficulty during the game. Single score...
pong.gmk
Pages not yet finished
action, tabbed but much more work to do.
all tutorials, not sure how to tab yet.
A.I., urrgggh..
all FAQs, not sure how to tab yet.
alarm
challenges
game
complete...
Welcome to Game Maker Wiki Complete!
the place where you can learn to make video games using Game Maker 7. Game Maker Wiki Complete currently has more than 630 tutorials, FAQs,...
A screenshot or snapshot is a picture of the game play area at the time the screenshot was taken. The action and function used to make screenshots in game maker are pro features only, so you will...
Scripts are the closest Game Maker comes to user defined function.
A script itself is a bit of GML code that can be called either directly from GML in the Execute Script action of an object.
Code
A...
Here are the current scripts :
Doors in Platformer games
Create a sprite. Then make an object called obj_door. The object should be solid with the object that you used for the ground as the...
Scrolling is when a viewport (see view) scrolls across a room. Scrolling can either be horizontal (more often known as "side scrolling") or vertical (for vertical shooters). Scrolling can also be...
To look for someone, please enter:
email address of a person you are looking for (this will look for exact match)
any part of the screen name or realname (lists all Users matching the query)
To set the mouse's x and y, use the following code;
window_mouse_set(x,y)
Action Name Action
action name - short description
Description
The something action..
Boxes
box1 - description of field and value
GML
// add your gml equivalent here
[click to add a...
1Shooter games are games that have an object (usually some sort of ship) shooting objects from the horizontal or vertical horizon.
Footnotes
1. These are my favorite kind of games to make.
A shooting game is not a shooter. If you are looking for information on vertical, horizontal, or first person shooters, see the shooter page.
A shooting game is a game where the player uses...
Status
Description
Hi, I'm close to finishing my current game and I'm starting to learn how to use external files.
Anyway My problem is that I want to install my game in the programfiles directory...
Main Navigation
Game Maker Wiki
Getting Started
Contents
About
Help
Search
Editing Tips
Editing Tips
Help Out
Answer a Question
Questions
HelpDesk
Guides
Tutorials
How To
RPG...
SimCity is a city simulation series. The original version was created by Will Wright and developed by MAXIS in 1989, and subsequently three more versions, the latter two in cooperation with EA...
Main Site Map
Sonic The Hedgehog is a popular platform game introduced in 1991 and also the name of the main character who has been in 19 games.
foldunfold
Table of Contents
Game...
Sound in various formats can be loaded and played in Game Maker.
Playing Sounds
Sounds can be played using :
sound_play()
Play Sound
Sound Naming Conventions
Sound resources in a .gmk source file...
The following special "objects" exists:
self: The instance the code is executed from.
other: The other instance in a collision event.
all: All instances.
noone: No instance. Can be returned in...
Speed is the rate at which something moves.
Acceleration
You can accelerate something by adding a number to the number to be accelerated every step. For example :
// Accelerate speed
speed +=...
SPORE is a simulator of life and the developments of various creatures made by you. It was created and published by EA and Maxis in 2008. In 2009 EA published the SPORE exspansion pack SPORE:...
Quick Guide
Animation - general animation page
Animation End Event - the event that happens to an object when a sprite displays it's last subimage
Change Sprite Action - can affect various...
Collision Event
When two sprites collide, a Collision event is generated by both instances.
Bounding Box
The bounding box for a sprite can be determined by four read-only variables...
A sprite's color is, obviously, determined by default by the color of its pixels. However, the coloring of a sprite can be changed using the built-in variable named image_blend.
It's important to...
General
How do I slow down the animation speed of a sprite?
Lower image_speed. Usually, it needs to be well below 1. Try image_speed = 0.10.
How do I rotate a sprite?
By changing image_angle. You...
All real-time sprite rotation is handled using the built-in object variable image_angle [pro] .
You can also create a "rotating" sprite by using the Sprite Editor window, but this is not...
Actions
Change Sprite
Check Collision
Check Empty
Events
Animation End
Collision
Many games use multiple sprites with different animations each to represent one character performing different...
Sprite Dimensions
Variables
These variables apply only to the current sprite of an instance.
sprite_height
sprite_width
Sprite Scaling
The sprite origin affects in which direction the sprite is...
Sprite Background Transparency
Sprites in Game Maker use the color of the lower, left pixel to determine the transparent color of the entire sprite. Whatever this color is, the same color will seem...
Basic Sprite Tutorials
Create a Sprite
How to create a sprite resource. This is the first step in getting Game Maker to show a sprite to represent an object or to be drawn using...
This needs to be checked if it comes from the manual. If so, it can't be posted here. Original material only, please. — An Admin
In GML you can create a stack by using the command...
Stat Guide
Stat is short for statistic. Stats are anything about a game object or the game itself that has an influence on game play.
Game Stats
Score
Arcade games in particular use basic...
A status effect is a flag that affects a game character until the status effect wears off or is removed.
Power Ups
A power-up, or buff is another kind of common status effect.
Related...
A step is Game Maker's equivalent of a game loop. Various things happen during a step and in a specific order
A non-technical definition of a step is that one frame is equal to one step, and the...
A string is a data type of letters, numbers, and special characters used to show a message, description, or a character's name or class.
character_name = "Fred Finklestien";
character_class =...
These pages are stubs. You can help us by expanding them.
All Stubs
General Stubs
Action Stubs
Event Stubs
GML Stubs
IDE Stubs
Incomplete Tutorials
Super Mario Bros. was a popular pack-in game for the NES and helped define the non-action platform game genre. It was the first game to include smooth-scrolling rooms (not screen-by-screen) and...
Super Mario Bros. 2 is a platform game for the NES.
foldunfold
Table of Contents
Characters
Notes
Related Pages
Backlinks
Characters
Each of the characters in Super Mario Bros. 2 differ in two...
This is the talk page for 2D.
Does this page need to be cleaned up a bit?
Hmm, maybe move the 2D array stuff to the array page? What do you think?
— hartnell
I concur ;) — u9
General
What is A.I.?
A.I. stands for Artificial Intelligence.
In game making it's often used to control enemies or npc's that has knowledge to avoid dangers and chase things.
A.I. is sometimes...
General
What is an alarm?
Well, the easiest way to answer this questions would be to simple refer you to the alarm page. However, if you have already read that and are still confused, I will...
General
How do I make ammo?
Note: The following answer is meant to be as simple as possible and is in no way the most efficient method
Ammo in a game is most often simply made up of three parts: 1)...
General
How to attack?
Old
GML Badge
I already suggested this but here goes again! ;) —gmhelper
Ok, this one is a definate. We need to find some way to defeat the tag limit of our software though. I think we'll...
About Badges
Before I can add new badges, I have to fix the current way of keeping track of them (and the instructions about tagging.) The fact is we don't have enough "tag space" to keep track of...
I like these. :)
The page is well organized.
— hartnell 02 Sep 2008
xD Glad to hear!
— gmhelper 02 Sep 2008
If you need it, the sprite sheet used for the logo is Asses of Fire.
— hartnell...
Old Talk
Break It Badge
For finding 5 new Game Maker errors. :) —hartnell
Yes. I like this! —gmhelper
Ok, it looks like I'll be creating it today. —hartnell 19 Jul 2008
I was going to say...
General
How to make a bullet?
How to make a bullet fire at regular intervals?
How to make a bullet fire at the mouse position?
I had to delete most of this page because it was taken directly from Wikipedia.
Our content license is purposely not compatible with Wikipedia because I think it's better if we don't become just...
Hello !
@gmhelper: I've noticed something while playing around with your solution to the challenge. If you start pushing the object and hold another key (say, <UP-ARROW>), just before...
List of Challenges
I suggest we use the list page to list all challenges and not show any lists on the challenge page itself. The lists are auto generated and therefore much more up-to-date. —u9...
General
How to check empty?
With this code:
if (place_empty(x,y))
{
//There's no collision on x, y between the objects
}
or the Check Empty action.
General
How to make combos?
General
How to make an enemy?
The question is what type of Enemy, but in general the enemy should seek out and kill the player in some way.
There are many different types of enemies such as:
-...
Kake, I'm trying to re-create your error using ini_open(). I can't seem to be able to do it.
How did you do it?
— hartnell 28 Aug 2008
Hmm, i don't remember anymore :
— kake_fisk 28 Aug 2008
General
What's the code for the collision event?
There are lots of codes for...
General
What is Game Maker?
It's a programme used to make games
How Do I Use Game Maker?
Learn from your mistakes, and use that manual!
What can I run Game Maker on?
Game Maker 7 can run on Vista...
Disassembling .exes
These are not rumors, it's fully possible and only requires the click of a button since some idiot created a program for it. You get a .gm6/.gmk with all the source code. The...
General
What are game physics?
Why are physics important in game design?
Impulse
How to make objects move when hit?
General
How to Make a Shooting Game?
How to Make a Pac-Man Game?
How to Make a Pong Game?
Welcoming Committee Project
The Getting Started page is the first WC project. This is the page where complete noobs will enter to begin to learn how to make games with Game Maker. This page needs...
General
What is a global variable?
A global variable is a variable that you can read from or change regardless which object you are using.
Global variables that you create will have the global...
General
How to convert a gmk to an exe?
You can convert a .gmk file to and .exe file by open up the .gmk file in Game Maker 7 and click Create Executable in the File Menu.
General
What is GML?
GML or Game Maker Language. It's used for making advanced games. Using GML allows you to do things you can't using D&D actions.
Is GML better than D&D Actions?
Yes....
Example on changing a positive number into a negative
Wouldn't a simpler, faster and better way than:
if(vari = abs(vari))
{
vari = vari * -1;
}
be to simply use:
vari = abs(vari) *...
General
What's the number direction for up?
How to make an object move in a direction?
General
How to get the instance id?
You can get the instance id by using the instance_id variable.
When does the id change?
Old Talk Below
NicAdi:
This page needs to be reviewed. Top issues...
Uses for screen_refresh( )
Can anyone think of any time that using screen_refresh() would be useful?
Personally, I've never used it, I've only used it's sister function screen_redraw() for...
Hey gmhelper, this is interesting. I plan to replace the default search of wikicomplete (which sucks, lets face it) with Google. What do you think?
— hartnell 18 Aug 2008
I've tried the google...
General
What kind of effects can Game Maker do?
Preparation
How much graphics are needed to make a game?
Screen
How to split the screen?
General
What is gravity?
Gravity is the force of attraction between one object and another.
How do I set the gravity?
CODE
1) To set the gravity, go to your desired object
2) Click add event
3) Add...
General
What is health?
How to make health?
How to set health?
How to use health?
How to decrease health?
General
What is a healthbar?
A healtbar is a graphic used to display the current value of a stat (normally hit points[HP] used to show how much life a character has left) versus the understood...
Tabs
Kake, the tabs are an awesome idea. :) —hartnell 12 Sept 2008
Thank you^^^
I'll try to finish it now :)
—kake_fisk 12 Sept 2008
General
What is an instance?
Each unit of an object that is created in the room is called an instance.
Creating Instances
How to create an instance?
In the room editor you can select an object and...
General
What is an interface?
How to make a title screen?
GUI
How to create a graphical interface for my game?
Pause
How to pause?
How to make a pause screen?
General
How to check if a letter key is pressed down?
Test — gmhelper 29th January 2009
General
How can I make a menu?
How to make a main menu?
General
How to make an MMORPG?
General
What is the mouse?
The mouse is used for input and player control along with the keyboard.
Mouse Cursor
What is the mouse cursor?
How to change the cursor?
You can change the cursor with...
General
What is an object?
An object is a game maker resource that holds all events and codes.
What is the difference between an object and a sprite?
A sprite is just (an) image(s), but objects...
Random Thought
I wonder if an entertaining bug-zapper could be made using a particle system.
Heh, this is just one of those random thoughts I have to write down or it's lost forever. :)
—...
General
How to use paths?
Sprites
How to change the sprite of an object when it is moving reverse on a path?
General
How to make a platform?
General
What is a Platform Game?
How to make a platform game?
Player Object
How to make the player object jump?
How to make the player object walk on a platform with gravity?
Power Ups
How to make...
General
How to make a platform shooter?
General
How to make a pong clone?
Hi, just checking on your progress…
Have you solved the bouncing of balls against each-other yet?
— NicAdi
It does look intrigueing, although I'd say it is a 2D action platformer, rather than a sidescrolling shooter. It kinda reminds me of "Alien Carnage".
What's the connection with the name? I mean,...
Hey Kake, isn't this the platform game project you showed me? :)
Stay Frosty,
— hartnell 27 Aug 2008
Yeah, it is :)
— kake_fisk 25 Aug 2008
Cool :)
— hartnell 25 Aug 2008
I like how you...
I'm looking forward to trying this :) — u9
Yes. Trains are always fun. — crowstone
xD. The graphics are very crap at the moment…. xD
The entire game is based around MTR. A train service in...
I always thought this was cool. :) It would be cool if you linked to the dlls you used on this page so everyone can see them.
Stay Frosty
— hartnell 25 Aug 2008
If i remember it, i can try to do...
General
How to shoot?
There are different kinds of projectiles that you can make, such as:
Bullet Projectiles
- The Straight: This bullet has a set speed and only goes in the direction it was put...
luster, this plot seems very existential. Was this your intent?
— hartnell 27 Aug 2008
http://en.wikipedia.org/wiki/Existentialism
— hartnell 02 Sep 2008
Screenshot / Sprites
Hey, nice screenshot. Did you make the sprites yourself? — hartnell 22 Jan 2009
I'm thinking we could add a "featured" section to this by tagging featured projects with… featured. What do you think?
— hartnell 25 Aug 2008
how to get past the computers
how to get past the computers?
You can read the walktrough here: http://catscratches.frih.net/trapping/
It will tell you how to get past the computers.
— kake_fisk...
Displaying Numbers?
What code can I use to show a number?
How to change a real number to an integer?
How to convert a number to a string?
What do you think so far?
— hartnell 25 Aug 2008
Great!! Well Listed!!!
— gmhelper 25 Aug 2008
Thanks
— hartnell 25 Aug 2008
I don't like it :I loved the previos one :(
— kake_fisk 26...
General
What is a room?
Creating Rooms
How do I create a room?
How to make a default room?
Room Order / Changing Rooms
How to change rooms?
How to define the starting room?
Room Size
How big can...
General
How to make a level system?
spacechase0 - In the create event of the character you should define the experience and max experience variables. In the step event you could do something...
General
How to make an RPG in Game Maker?
What are the stats in RPGs?
Anon posted in main article :
Doesn't berserk make them attack on their own accord?
Yes, that's what I meant. Thanks for wording it better than me.
— hartnell 25 Sep 2008
And isn't it called...
General
How to make a score?
How to add score?
How do I set the score?
Files
Where is the Game Maker high score file?
Highscores
How to show only one highscore?
General
What is a script?
A script is an independent GML source code resource that can be executed by any object.
What do scripts do?
Scripts do what you want them to do.
What are scripts used...
General
How to Make a Game Scroll?
General
How to make a shooting game?
General
How to play a single sound using an action during a collision?
General
What is speed?
Speed is the rate something moves. The equation for speed is :
speed = distance / time
Distance is measured in pixels and time is measured in steps, so the fundamental...
General
What is a sprite?
A sprite is a single image or a couple of subimages.
You can associate a sprite with an object.
How do I create a Sprite?
You can create a sprite by clicking the sprite...
General
How to make a sprite animate at a speed different from the room speed?
Animating your sprites effects this. To change the speed simply add more frames to the sprite. In the Sprite Editor,...
General
How to make lives?
What is a step?
A step is one thirtieth of a second into a game. There are 30 steps ( Defaultly) in your GM game. A step is one of those steps. So, for example if you put the following code in the...
General
What is a string?
A string is a datatype that can contain characters and symbols. You can recognize strings directly in GML code by the fact they have quotes around them :
some_variable =...
Talk about System: Recent Changes
talk here.
Drawing
How to draw text?
By using the draw_text() function or the Draw Text action.
Editing
How do I open and edit a text file in Game Maker?
Answer
1. Change file_location.
file_location =...
General
How to Read In a List of Words from a Text File?
General
What is transparency?
If something is transparent it allows you to see through it, for example partially transparent glass panes in a window.
What is alpha?
Alpha is how transparent...
Next Steps
A possible next step for this tutorial could be managing health (adding, subtracting, starting health, etc)
What other next steps could this tutorial have?
— hartnell 22 Jan...
This is a great tutorial. :)
— hartnell 19 Aug 2008
General
What is a variable?
How to use variables?
Creating / Declaring
How to create a variable?
How to declare variables?
Setting
How can I set a variable?
Where can I set variables?
General
How to use views?
How do I change views?
- tehraptor, cool admin of this wiki.
Action Name Action
action name - short description
Description
The something action..
Boxes
box1 - description of field and value
GML
// add your gml equivalent here
[click to add a...
Page to be included include:badge-name can not be found!
Delete this line and type a short description of the badge here
Display Code
[[include include:badge-name member=member...
Description
Write a short description of your challenges
Requirements
Your clock must:
write the requirements a member's entry must fulfill to complete this challenge
Completed By
A something is a
Related Pages
Backlinks
These pages link back to this page. You may find them helpful.
Ask a Question
Ask a question about
This page is a stub. You can help improve Game Maker...
name - does something
( Game Maker 6.1, 7 )
Syntax
name ( argument, argument2 );
argument - explanation
argument2 - explanation
Explanation
name does something in more detail.
Examples
Example...
This is the member page of User YourName can not be found.
About Me
Include a bit about yourself here, or completely delete this section if you want.
My Badges
I have earned the following badges...
This is your project page.
Description
Give a description of your project.
Changes
Here you can update changes to your project.
Files
Link to your files using this syntax * [[file something.gmk]].
This tutorial will teach you how to *!!!PLEASE CHANGE THIS!!!* This tutorial was written using Game Maker 7.
How to !!Please Change This!!
Blah.. Blah..
A Note about !!Change This!!
Blah.....
Submit your testimonial now! You must be at least nothing in karma.
Submit a testimonial!
Type in your username at Wikicomplete Network and hit write one.
Testimonials
Even though most people do not think of text as "graphics", in Game Maker text is drawn the window just like a primitive.
Text always begins as a string, so if you want to learn about manipulating...
Text files (.txt) are a type of file that is meant to be read and written to as text. An ini file is a type of text file, however, Game Maker has another set of functions for handling ini files...
The Sims is a strategic life-simulation computer game. MAXIS is the developer and is currently in the process of developing The Sims 3.
The Sims 1
The Sims is a life simulator created by MAXIS and...
Status
This help request has been answered and the answer not yet added to the wiki
Description
This is a test of our new HelpDesk system. Please let me know what you think.
Not all features are...
A tile map (or tilemap) is a 2D array used to contain level data. Tile maps are not used often (or if at all) in Game Maker because it has it's own room system for making levels. The current writer...
Game Maker Elements: Backgrounds | Fonts | Objects | Paths | Rooms | Scripts | Sounds | Sprites | Time Lines
A time line is used to time actions.
Related...
Timing is all about making things happen when you want them to, measuring time, and placing an amount of time between one event and another.
Step
The Step the the basic unit of time in Game Maker....
This is your project page.
Oh,No Mario and the Princess has been captured by an unknown source.
Give a description of your project.
Changes
Here you can update changes to your project.
Files
Link...
These are pages that are marked as needing improvement.
Tool
a program or utility that allows you to manipulate, program or make an action on the computer.
Or it could just be a drill or hammer or something.
edit this page
edit sections
history
answer a question
In Game Maker, track can have three meanings :
A track in a racing game
A track on a CD (see sound)
An object that moves as if it was on a track (see path)
This page is a stub. You can help...
Status
Description
Well I have been using game maker on and off for a while and I recently ungraded to pro. I am now getting a new computer, is there any way to tranfer pro from my old PC to my new...
name - does something
( Game Maker 6.1, 7 )
Syntax
name ( argument, argument2 );
argument - explanation
argument2 - explanation
Explanation
name does something in more detail.
Examples
Example...
Various things can be drawn or appear transparent or semi-transparent. Most transparency functionality of Game Maker requires you to have Game Maker Pro.
Transparency Value
All parts of Game Maker...
Trying to draw non-existing sprite
Sample Error
___________
ERROR in
action number 1
of Draw Event
for object obj_player:
Trying to draw non-existing sprite.
Description
Whenever you use the...
This tutorial will teach you how to make a sprite move in 4 directions (up, down, right, left) in popular games such as Pokemon, The Legend of Zelda, and many RPGs. This tutorial was written using...
This tutorial will teach you how to make animated backgrounds. This tutorial was written using Game Maker 7.
GML Code:
Draw Event:
if view_enabled =...
This tutorial will give you an essential quick tour of the Game Maker 7 IDE. It is very important you take this quick look around so you know what the hell we are talking about in later tutorials....
This tutorial will teach you how to make a platform game (in gml). This tutorial was written using Game Maker 7.
The Movements And The Solids To Walk And Jump On
First you need to make a sprite...
.gmk Platform Editable
Download this file. It contains the sprites you need as well as the objects and rooms already created.
Platform Game Logic
Before getting started, let's look at an overview...
This tutorial will teach you how to create and set a custom health variable for use in your own health system. Learning to do this is important if you want to be able to use multiple healthbars and...
Rooms are used to create levels and worlds. Whenever you need 2d space for your game to happen in, you will need a room. This tutorial will show you how to create a new room. This tutorial was...
Sprites are the basic 'graphical unit' of Game Maker. This tutorial will show you only how to create a blank sprite resource so that you can use it for other things. This tutorial was written using...
There are three ways to create a variable in Game Maker. Two of them use GML and the other two use drag and drop actions.
How to Create a Variable in Game Maker with GML
You do not have to create...
This is a tutorial about adding the effect of wind to your Game Maker game. The technique works very similar to the built-in gravity variable, so you will also learn a bit about how gravity works...
Depth Charge
A depth charge is a bomb or missile that explodes when it reaches a certain depth (or height, if it is an anti-aircraft shell, which works the same way). This is easily achieved by...
Introduction
Programming bullet time (like in The Matrix) into your game is easier than you may think, in fact, Game Maker comes equipped with a variable that makes it easy to create bullet time....
Introduction
Game Maker 6.1 comes with an easy way to show an explosion when an instance is destroyed, actually, two new ways. One is a new action called Create Effect. The second way is the...
Explosions are generally just another object with a sprite that looks like an explosion. Explosions are usually created when an object is destroyed. It's important to make sure that the sprite...
This tutorial will teach you how to make an object fade after it dies. This tutorial was written using Game Maker 7.
How to make the object fade
Lets begin, but before you do, read the section...
This tutorial will teach you how to Find an Object's Location. This tutorial was written using Game Maker 7.
How to Find an Object's Location
There are two ways to do this in GML. One will involve...
This is a tutorial that explains the absolute minimum you have to do to get a Game Maker project up and running without an error. This will not teach you how to make a complete game. It will only...
Introduction
This is a very simple and easy beginner's GML tutorial. This tutorial will get you started on your way to becoming a GML master. After completing it, you will be able to read most...
This tutorial was written using Game Maker 7, but should be valid for all versions of Game Maker. This tutorial was written to help you get started on making your very first game with Game Maker...
Introduction
This tutorial will introduce you to the concepts of input and output. It will focus on the general concept of input and output and specifically functions that will help you progress...
This Introduction to Game Maker will give you an overview of Game Maker. If you are using Game Maker for the first time, it is essential that you read this tutorial — it will give you a bird's...
This tutorial was written for Game Maker 7. It will teach you to limit, or clamp, the value of a variable.
How to Limit, or Clamp, the Value of a Variable using GML
There are two steps to limiting...
Sound is an essential part of any game. But before you can play a sound you have to load a sound so that you can play it using Game Maker's sound functions or actions. And that's what this tutorial...
This tutorial covers loading a sprite so that it can be used as a resource. You will later draw the sprite manually or assign it to an object. This tutorial was written using Game Maker 7 and does...
This tutorial was written using Game Maker 7.
How to Make a Variable Negative in Game Maker Tutorial
No matter which method you choose to make a variable negative, there are two steps you must...
This tutorial will teach you how to make your own color constant This tutorial was written using Game Maker 7.
Steps
Before you start, you need to open Game Maker, when you've done that, follow...
This tutorial is being written.
Pong is one of the easiest games to make and is a good "first game." This tutorial will walk you through the steps of creating a pong-like game with Game Maker 7....
Introduction
This tutorial is an introduction to position. In this tutorial you will learn what position is, how to place your game objects in a position in a room, and some other things that are...
Introduction
This tutorial is an introduction to working with random numbers. Even though the uses of random numbers in game programming are nearly endless, they all start with these basic, very...
All of our Game Maker tutorials were written either with Game Maker 7 or Game Maker 6.1. With very few exceptions, these tutorials will be valid for both versions. Those few exceptions will be...
Instances of objects without a default sprite cannot be seen, even if they should be visible. They cannot be seen because the object and instance themselves are programming constructs. Sprites, on...
This tutorial will show you how to set the background_color of a room before game play using the Room Properties window. It does not cover changing the background_color of a room during run time...
This tutorial was written using Game Maker 7. It will introduce you to the basic theory of how menus are made, and how they work by making a simple, basic, title screen menu.
How to Make a Simple...
This tutorial will teach you how to create a Spaceship that can fly, face the mouse, and gradualy slow down when you stop. This tutorial was written using Game Maker 7.
How to do it
This tutorial...
This tutorial will show you how to swap (or switch) the values of two variables. This tutorial was written using Game Maker 7.
How to Swap the Values of Two Variables using GML
Swapping (or...
Status
Description
Hey, guys, I'm the one who made the "game loads, then freezes" thing. After I successfully made my first game, I decided to make a platform shooter. It turned out pretty well,...
#define init_enemy_gravsphere
distance_of_influence = 200;
force = 60;
var force_direction;
life = 50;
damage = 10;
#define init_enemy_antigravsphere
distance_of_influence = 300;
force =...
Looking for a Variable?
See the list of variables
Variables are data structures that can hold one piece of data while your game is running.
Variables can hold either a number or a string (a...
Status
Description
Variables glitch and ask for a "variable name" but its named
___________________________________________
FATAL ERROR in
action number 1
of Create Event
for object...
Here is a tutorial for total beginners.
Categories: Tutorials : Video Tutorials
In this visual tutorial you'll learn how to create and move an object from scratch using basic drag-n-drop commands. This video by Kake_Fisk is 3:00 long and covers everything from sprite...
A view is like a rectangle viewport that the player sees a room through.
Views make creating scrolling games much easier.
Views can also be used to create HUDs.
Using Views
Views are not enabled by...
Virtual data types are data types that would be a data type in another programming language, but are really one of the two data types above.
Boolean Values
Boolean values are limited to true and...
foldunfold
Table of Contents
Projectiles
Projectiles without Sprites
Instant-Hit Bullets
Laser
Charge Shot
Distance
Switching Weapons
Related Pages
Projectiles
A projectile is a game object...
The Webpage Creator is a program that allows total HTML novice to create their own site by answering a few questions created by gmhelper
This is released as a open and editable format. Please take...
The Welcoming Committee is devoted to helping new members of Game Maker WikiComplete feel at home.
Welcoming Committee
( gmhelper ) ( PM )
( crouchingtiger22 ) ( PM )
( NicAdi ) ( PM )
The...
Game Maker Wiki Complete is a wiki guide to Game Maker. It is a part of the Game Design Network run by Game Design Novice which itself is a part of Wiki Complete Network which hosts and develops...
This page exists to help the moderators and admins of Game Maker Wiki Complete.
Community Portal
Recent Changes
Wiki: Village Pump
Wiki: Pages
Help Pages
Portals
List of Includes
This is a...
Unanswered Question / Challenge Request
Bellow you'll find guidelines on how to request your game maker question into an official challenge.
The question must be unanswered for 3 days.
Use the...
This page lists pages that contain basic information about Game Maker Wiki Complete.
About - explains what Game Maker Wiki Complete is.
Community Portal - where to find things, what you can do to...
All Categories
Categories: Game Maker Wiki
When and Why to Edit
To improve a page.
Add something that isn't already there.
Correct spelling and grammar mistakes.
To improve the readability of the text,
or to make a sentence sound...
See the *edit this page* button at the top? On Game Maker Wiki Complete you can edit pages right now, even without logging in.
What is Game Maker Wiki Complete?
Game Maker Wiki Complete is an...
Categories: Game Maker Wiki
list of variables
list of non-variables
list of functions
list of non-functions
list of tutorials
list of errors
list of registered / pro functions
list of terms and jargon
list of naming...
Below is the list of pages that do not have any incoming links from other pages - at least internal links produced by syntax [[[page-name]]]. If a page is listed here it should not mean anything...
Below are the last 50 pages to have a question added to them.
Can you answer a question on one of these pages?
Answering questions is the fastest way to raise your karma.
Or help out in the Help...
These pages are redirected using the Redirect Module. We're just listing them here to keep them off the Orphaned Pages list.
Action <— and it holds small action icons
Admin Team
Assignment...
Requests for Feedback
This page is here to help you get feedback on pages you have created or changed.
How to Post a Request for FeedBack
Use the wikisyntax below to add a request to the list of...
Welcome to the Sandbox. This page exists so you can experiment with and test edits. Start by clicking on edit this page at the very top of this page. Please edit below the line.
Yo!...
Search
Most Searched
Alarm
Array
Collision
Color
Direction
Draw
For
GML
Gravity
Health
If
Jump
Loop
Mouse
Movement
Platform
Random
Room
Sprite
String
Text
Variable
View
These are the shortest pages on the wiki.
Categories: Game Maker Wiki
This page exists for the discussion of important issues regarding Game Maker Wiki Complete.
Categories: Game Maker Wiki
Categories: Game Maker Wiki
Window can refer to :
Game Window
The game window is the box (or window) that a game runs in while in windowed mode.
Window Caption
The window caption is the title displayed at the top bar of a...