Valid CSS!

GAME MAKER EXAMPLES

On this page you will find various tutorials and examples for use with the Game Maker Program. All are made in version 6.1 of the program, but will work just find in version 7.
border line graphic

GML for Drag and Drop Icons Ver 6
This PDF file shows all the equivalent GML coding for the Drag and Drop Icons found in the object properties window of the Game Maker program. For those wishing to to go from Drag and Drop to code.

GML for Drag and Drop Icons Ver 7
This is the updated document for Version 7 of Game Maker for the above. Not only has all the coding been updated, but a new section listing all Action Functions are included.

3D Starfield
It can't hold a candle to Carl's example, but I was trying to create a starfield than can be used in a game. This is the starfield used in warp drive.

Character Change
Just a quick way to show how to change the look of a character. I always store any relevant data in global variables so that I can change the appearance.

Remove Blackness
The computer will automatically cover the play area with blackness. As the player moves about the play area, it will revealed. Slow though. I'd still recommend putting the black in yourself.

Switching Music
Shows how to have persistant switching music between rooms.

Powerup Blast
Shows one method of powering up and holding a blast until ready to release.

Text Maker
Shows how to add a small line of text, one letter at a time.

Invincibility
A method of doing temporary invincibility. Works with a single sprite image.

Order Click
Forcing the user to click 3 buttons in order. No idea what to use it for.

Drop Down Menu
A custom drop down menu that will move with views.

Targeting
A method of randomly selecting a target for a crosshair to follow.

Player Select
Another way of doing Player Select. The First example merely trades sprites and would rely on global variables for any differences between the players. This one trades complete objects.

Turning Example
How to move a 360 rotational sprite a few frames at a time with a single key press.

Inventory
A simple 4 item inventory control. Could be adpated for larger inventories, but all items are shown on the screen.

Whiteboard
Shows how to let the User type a line into GM without using the message box. It will show the text as the User types it.

Tank and Turret
A tank with an independant turret that swings free of the tank, but follows the tank when not being moved manually. Also shows how to shoot a bullet from the end of the turret on a 360 degree moving tank.

Four direction Enemy AI
Shows how to have an enemy home in on the player using only up, down, left and right.

Multiplayer Highscores
Shows how to do a multiplayer high score list. This example is set for five names.

Drawn Asteroids Ship
An attempt to recreate the Asteroids ship using only the draw event.

Searching AI
Shows how to have an enemy shoot in a random pattern detect the player and move towards him.

Fireworks Demo
Particle fireworks demo. Does not use the new particle system in Game Maker 5.1.

Bolt Lightning
Shows how to do bolt lightning.

Push the Ball
Shows how to have the player push an object in an RPG type setting.

Health Bar Demo
Simple demo of four ways to do health bars

Laser gun Example
A laser gun that checks collision with a drawn laser.

RPG Text Box
How to do RPG style pop-up text boxes using a single script.

Key Reassignment
Shows how to allow the user to reassign the keys.

Wanna cheat?