GameMaker Collection A
101 GameMaker Projects To Learn From
GameMaker Examples on This Page Now Include Code Comments
2 Line Of Sight
This example looks for a line of sight from enemy to player, without a crate between them.
9 Drag-able Objects
Sometimes you may wish the player to be able to click and drag an instance around the room. Here is a simple solution.
12 Change Image On Mouse Interaction
This example uses a sprite with 3 different subimages,0=no mouse, 1=mouse over and 2=mouse pressed.
13 Mouse Pointer Point Direction
Draws a sprite as pointer, pointing direction of target and slowly moves.
21 Cool Down System
A useful idea that limits how often a player can shoot / attack / or perform other actions.
26 Level Unlock System
The currently available levels is the value global.levels, ie a value of 2 would mean levels 1 and 2 unlocked.
30 Draw Text Info With Background
A Simple script that can be used to draw info text for the player.
33 Draw Power Bar With Image Background
A useful approach that draws power, health, boost etc,using an image as the background.
35 Cloud Effect Using Filters & Effects
This example make use of the powerful filters and effects layer.
39 Enemy Track Player’s Movement
Sometimes you may want an enemy to match the player’s movement. This example moves the enemy’s y position towards the player.
41 Pop Up Wobbly Text
A simple text effect, great for using when a player collects a coin, showing the score the player gets.
43 Smoothly Move To Mouse Position
This moves smoothly to a position, in this example the mouse’s position.
45 Pause Music When Sound Effect Plays
This little method pauses the background music whilst an audio effect plays, great for adding atmosphere to your games.
49 Draw Mini Healthbar For Enemy
This is a simple method to draw a mini healthbar above an enemy instance.

52 Flashing Text
You can use this method to make text flash and glow, ideal for getting the attention of the player.
Note: Contains Flashing Images
53 Play Sound At Selected Volume
Sometimes you may wish to play a sound at a lower or higher volume.
54 Spawn Powerups Control System
An example system for providing the player with a bonus. Works on a percentage system, each with a chance of happening.
55 Move Crosshair To Mouse Position
At time you want a player crosshair to move towards the mouse’s position.
57 Check If Instance Is In View
Sometimes you may want to check if an instance is in view, for example only allowing an enemy to shoot it’s projectile when within the current view.
58 Jump Through Platforms
Sometimes you may want to allow a player to be able to jump through a platform.
61 Draw Text With Border
Here is a simple script that draws text with a border. Great for sprucing up your GUI text.
62 Move Coin To Score Text
This creates a coin moving effect that moves it towards the HUD text for displaying score.
68 Spawn Instance With Random Subimage
This example spawns an instance with a random subimage and vertical speed.
69 Sine Wave Based Movement
A sine wave can be used for a lot of effects, for example smoothly moving an instance up and down, as in this example.
71 Spawn Trees Border
A simple method of spawning a border of trees, suitable for a top-down vertical scrolling shooter.
72 One Button Controlled Movement
Allows you to add some accessibility to your games, by allow the player to move a crosshair around the room with a single button.
74 Player Power Up Creator
Sometimes you may wish for your player to work hard to earn a powerup. This example requires the player mash the mouse buttons to unlock an upgrade.
76 Endless Levels
By using a static screen without views you can create an endless level by spawning instances off screen and for example moving them down.
79 Move Crosshair To Target
This automatically selects a target and moves the crosshair to the target.
81 Add Scores To A List
There may be times when you want to keep track of player score, for example in a darts game.
82 Cloud Effect
Create a cloud scrolling effect, great for above and below various layers in your game.
84 Keeping A Value In A Range
There will be time when you wish to keep a value within a given range.
85 Film Style Scrolling Credits
Create scrolling text in a film style. Ideal for showing credits on game complete.
86 Rotate Room View
This method provides a great method for giving additional visual feedback to the player. Idea for a driving or flying game.
87 Toggle Full Screen
There may be times when you want to allow the player to choice of full screen or windowed.
89 Flash Player To Show Damage
This example shows one method of visually showing a player that they have taken damage. This changes the player’s character to red.
Warning: Contains Flashing Images
90 Fade Between Two Images
This fades in and out two subimages. Great for making appealing looking text without the overhead of having to use multiple images.
91 Draw A Path As Circles
A useful method of drawing a path as circles. Ideal for giving hints to the player.
92 Simple Top Down Movement Control
A simple top down movement control that uses a single mouse button. The good thing is that this leaves the right mouse button free for attacking.
93 Laser To Target
This draws a laser from the instance to a target,which in this example is the mouse’s x position.
94 Bubble Explosion Effect
Here’s a simple effect that makes a load of bubbles great for an underwater themed game (or use something other than bubbles to match your theme).
95 Add Instances To A Grid & Move To A Target
Below is a simple method of making a grid with areas that are not allowed. It then makes a path to a random instance.
97 Player Streak
Keep tracks of a player’s streak, for example the number of enemies killed without missing.
98 Numbers As Text
This script will change digits to text, for example 16783 to sixteen thousand seven hundred and eighty three. Works upto 999999
101 Text With Gradient
This script draws gradient text with a border. Great for game titles, game-over screen etc..
Current GameMaker Contents:
Collection A: 101 Mini Projects
Collection B: More 101 Mini Projects
Collection C: Even More 101 Mini Projects
Collection D: Lots More 101 Mini Projects
Collection E: Another 101 Mini Projects
Games: A Collection Of Mini Game Projects
Also Taking Suggestions For Mini Projects and Games - Send Me Your Ideas Here