Collection B

Learn From These 101 Example GameMaker Projects

101 More GameMaker Projects To Improve Your GML Skills


1 Follow Object

This allows an object to follow another object, whilst keeping a distance.

1 Follow Object Zip
Archive – 986.3 KB

2 Orbit Object

This makes one object orbit another.

2 Orbit Object Zip
Archive – 986.3 KB

3 Random Name Generator

This code makes a random name, generated from random strings.

3 Random Name Generator Zip
Archive – 552.6 KB

4 Top Down Movement

Simple top down movement and collision system.

4 Top Down Movement Zip
Archive – 1.5 MB

5 Screen Shake

A simple screenshake effect.

5 Screen Shake Zip
Archive – 787.7 KB

6 Bomb Destruction Zone

Creates multiple explosion instances in a set pattern.

6 Bomb Destruction Zone Zip
Archive – 682.6 KB

7 Circular Healthbar

This draws a circular healthbar.

7 Circular Healthbar Zip
Archive – 508.9 KB

8 Volume Based On Distance

Changes volume based on distance between 2 instances.

8 Volume Based On Distance Zip
Archive – 27.1 MB

9 Snow Weather Effect

A simple snow effect.

9 Snow Weather Effect Zip
Archive – 508.4 KB

10 Password Easter Egg

Allows the user to type a code that could used to unlock special game features.

10 Password Easter Egg Zip
Archive – 555.5 KB

11 Average Position Between 2 Instances

Gets the average position of two instances, based on their sprite origin.

11 Average Position Between 2 Instances Zip
Archive – 517.1 KB

12 Random Dice Rolls

Rolls two dice and stores the result.

12 Random Dice Rolls Zip
Archive – 636.9 KB

13 On Screen Keyboard

A simple on-screen keyboard that allows the user to enter text.

13 On Screen Keyboard Zip
Archive – 646.8 KB

14 Array Sort

This example sorts words alphabetically.

14 Array Sort Zip
Archive – 555.6 KB

15 Colour Picker

A system that allows the player to click and store a colour. Great for letting the user choose a colour scheme.

15 Colour Picker Zip
Archive – 1.0 MB

16 Numbers To Speech

This script turns numbers to speech. Range is 0 to 999999.

16 Numbers To Speech Zip
Archive – 2.8 MB

17 Teleport

Teleports player between two instances.

17 Teleport Zip
Archive – 3.4 MB

18 Queued Messages

This queues text message and plays them in order.

18 Queued Messages Zip
Archive – 558.5 KB

19 Shop System

A simple shop system that allows player to buy and sell weapons.

19 Shop System Zip
Archive – 999.3 KB

20 Parallax Background

A simple example of how multiple layers can be used to create a parallax background.

20 Parallax Background Zip
Archive – 1.2 MB

21 Eight Directional Movement (A)

8 Directional sprite control, with basic movement.

21 Eight Directional Movement Zip
Archive – 687.2 KB

22 Room Transition Fade In & Out

Darkens the room on room start and changing rooms.

22 Room Transition Fade In Out Zip
Archive – 2.3 MB

23 Nine Slice Example

Draws an image with special settings, allowing various size boxes for example.

23 Nine Slice Example Zip
Archive – 510.7 KB

24 Hit Box (A)

Makes a hit box when attacking that can be used to detect attacks.

24 Hit Box Zip
Archive – 1.2 MB

25 Snap To Grid

Snaps an instance to a grid and allows placements of instances at those positions.

25 Snap To Grid Zip
Archive – 521.2 KB

26 Hide & Seek

A enemy that moves towards the player if they can see it.

26 Hide Seek Zip
Archive – 994.9 KB

27 Save Highscore

A simple system to save a highscore.

27 Save Highscore Zip
Archive – 555.5 KB

28 Sprite Animation Control

A simple system to play an animation and then return to idle when animation is complete.

28 Sprite Animation Control Zip
Archive – 3.8 MB

29 Jet Pack & Gravity

Flying control system.

29 Jet Pack Gravity Zip
Archive – 528.5 KB

30 Enemy Movement On Platform

Make an enemy walk on turn whilst on a platform.

30 Enemy Movement On Platform Zip
Archive – 943.3 KB

31 Tweening

This slowly moves an instance between two points with speed based on the distance remaining

31 Tweening Zip
Archive – 557.2 KB

32 Door & Key

A system that only allows a player open a door when they have the key.

32 Door Key Zip
Archive – 1,002.0 KB

33 Wrap Instance Around Room

Wraps an object around room border, drawing around edges of the room.

33 Wrap Instance Around Room Zip
Archive – 516.4 KB

34 Change Transparency On Collision

A useful idea, that can used when a player goes beneath a tree or building roof.

34 Change Transparency On Collision Zip
Archive – 1.4 MB

35 Weapon Upgrade System

A simple system to allow player to upgrade weapons.

35 Weapon Upgrade System Zip
Archive – 991.7 KB

36 Knockback

A basic knockback system that can built upon.

36 Knockback Zip
Archive – 579.0 KB

37 Road Builder

Allows player to draw a path.

37 Road Builder Zip
Archive – 560.3 KB

38 Select Multiple Troops

Allows selection of multiple instances.

38 Select Multiple Troops Zip
Archive – 546.4 KB

39 Road Connections

System automatically draw the correct subimage to make roads connect.

39 Road Connections Zip
Archive – 520.5 KB

40 Lightning Effect

A simple lightning effect that is adaptable for a range of uses.

40 Lightning Effect Zip
Archive – 509.2 KB

41 Gravity Movement

Showing various items with gravity.

41 Gravity Movement Zip
Archive – 542.7 KB

42 Blood Damage Effect

Creates a blood effect that drips down the screen.

42 Blood Damage Effect Zip
Archive – 588.3 KB

43 Tap Instance To Change Image

Tap an instance to change it’s subimage.

43 Tap Instance To Change Image Zip
Archive – 1.1 MB

44 Bullet Holes

A simple system for showing bullet shots.

34 Change Transparency On Collision Zip
Archive – 1.4 MB

45 Rope Between Objects

Draws a hanging rope between 2 positions.

45 Rope Between Objects Zip
Archive – 511.7 KB

46 English to Morse Code

Converts text to morse code audio.

46 English To Morse Code Zip
Archive – 600.9 KB

47 Loop Through Instances

Loops through a list of instances, creating and destroying them on screen.

47 Loop Through Instances Zip
Archive – 1.0 MB

48 Slowly Rotate To Angle

A missile shooting system that targets a position.

48 Slowly Rotate To Angle Zip
Archive – 528.2 KB

49 Draw Clock

This draws a clock with the users system time.

49 Draw Clock Zip
Archive – 546.8 KB

50 Randomly Place Objects In Room

Randomly places instances in the room.

50 Randomly Place Objects In Room Zip
Archive – 1.0 MB


51 Get Text From Keyboard

Allows user to enter text using the keyboard.

51 Get Text From Keyboard Zip
Archive – 1.0 MB

52 Shoot Projectile With Gravity

Allows player to shoot a projectile, with gravity applied.

52 Shoot Projectile With Gravity Zip
Archive – 594.4 KB

53 Fade On Player Collision

This fades and destroys an instance if the player collides with it.

53 Fade On Player Collision Zip
Archive – 989.1 KB

54 Jump On Enemy To Kill

Allows player to jump on enemy to destroy it.

54 Jump On Enemy To Kill Zip
Archive – 745.6 KB

55 Calculate Size Of Area

Allows user too click to positions on screen and calculate the size.

55 Calculate Size Of Area Zip
Archive – 555.6 KB

56 Draw Lines To Mouse Position

Draw coloured line between two positions.

56 Draw Lines To Mouse Position Zip
Archive – 555.3 KB

57 Random Building Generator

Generates buildings of random height and colour.

57 Random Building Generator Zip
Archive – 561.1 KB

58 Queue & Play Audio

Queues audio. Great for queuing message and sound effects.

58 Queue Play Audio Zip
Archive – 917.7 KB

59 Boss Style Movement

A boss style object with a repeating movement and shooting pattern.

59 Boss Style Movement Zip
Archive – 533.3 KB

60 Split Screen

This example tracks two instances.

60 Split Screen Zip
Archive – 525.5 KB

61 Check Spelling Of Word

Allows you to check if a word exists within an included dictionary text file.

61 Check Spelling Of Word Zip
Archive – 1.8 MB

62 Player Character Selection A

Allows player to choose their character that will be their sprite in game.

62 Player Character Selection A Zip
Archive – 4.1 MB

63 Weapon Control & Ammo Packs

This keeps the instance within the room’s boundary.

63 Weapon Control Ammo Packs Zip
Archive – 2.0 MB

64 Move Towards Point Then Stop

Moves an instance towards a point and then stops.

64 Move Towards Point Then Stop Zip
Archive – 1.8 MB

65 Resize Based On Position

Scales an instance based on it’s Y position.

65 Resize Based On Position Zip
Archive – 520.4 KB

66 Using Mouse Wheel To Select Weapon

Allows user to change weapon using middle mouse wheel.

66 Using Mouse Wheel To Select Weapon Zip
Archive – 2.3 MB

67 Font Drawing From Images

Example for drawing sprites created from images.

67 Font Drawing From Images Zip
Archive – 2.4 MB

68 Allow Player To Load Sprite

Allows player to load an image file from their computer.

68 Allow Player To Load Sprite Zip
Archive – 557.3 KB

69 Enemy Shoots If Can See Player

This system make the enemy shoot a bullet if it can see the player.

69 Enemy Shoots If Can See Player Zip
Archive – 1.1 MB

70 Randomly Place Instances Avoiding Instances

This spawns a number of instances, no closer than a given distance to other defined instances.

70 Randomly Place Instances Avoiding Instances Zip
Archive – 1.2 MB

71 Split Sentence

This will split a sentence in to multiple lines of text, with breaks at end of words.

71 Split Sentence Zip
Archive – 556.1 KB

72 Simple Menu System

A simple adaptable menu system.

72 Simple Menu System Zip
Archive – 555.3 KB

73 Moving Spikes & Damage System

Creates a spike that fades in and out, giving player damage with the alpha is greater than 0.5.

73 Moving Spikes Damage System Zip
Archive – 1.4 MB

74 Projectile Spread System

Shoot multiple projects at slightly different angle.

74 Projectile Spread System Zip
Archive – 527.7 KB

75 Ball Bounce & Squash

Makes a ball bounce with a squashing effect.

75 Ball Bounce Squash Zip
Archive – 529.8 KB

76 Status Effect

Draws info on what the player is doing.

76 Status Effect Zip
Archive – 988.2 KB

77 Foot Step Sounds With Animation

A simple method to tie animation and sound effects.

77 Foot Step Sounds With Animation Zip
Archive – 4.5 MB

78 Game Fog

Draws a fog effect over the room using a sprite.

78 Game Fog Zip
Archive – 1.1 MB

79 Destruction With Multiple Subimages

A destroyable crate with multiple subimages that is destroyed when all image frames have been used.

79 Destruction With Multiple Subimages Zip
Archive – 741.4 KB

80 Enemy Hide

Makes an enemy find a hiding place if the player can see it.

80 Enemy Hide Zip
Archive – 859.6 KB

81 HUD Drawing On GUI Layer

Draws a HUD on the GUI layer so it been seen when the view moves.

81 HUD Drawing On GUI Layer Zip
Archive – 867.1 KB

82 Scroll Block Of Text Up and Down

This allows for scrolling through a large block of text.

82 Scroll Block Of Text Up And Down Zip
Archive – 556.4 KB

83 Blood Spray Effect

An adaptable effect for creating a blood style explosion.

83 Blood Spray Effect Zip
Archive – 529.0 KB

84 Voice On Level Up

Level up system that plays a voice on level up or level down.

84 Voice On Level Up Zip
Archive – 742.9 KB

85 Wind Blown Effect

Makes a sprite move like it has a wind force on it,

85 Wind Blown Effect Zip
Archive – 984.9 KB

86 Double Jump

Allow player to perform a double jump.

86 Double Jump Zip
Archive – 576.3 KB

87 Meteor Shower Effect

Creates a meteor and explosion effect, great to add atmosphere to your game.

87 Meteor Shower Effect Zip
Archive – 1,003.8 KB

88 Footstep Dust Effect

Makes a small effect when an instance walks.

88 Footstep Dust Effect Zip
Archive – 4.5 MB

89 Float & Die Effect

Shows an enemy dead and makes it wobble and fade.

89 Float Die Effect Zip
Archive – 846.0 KB

90 Fly Level Effect

Return a flying plane to middle when player stops movement.

90 Fly Level Effect Zip
Archive – 807.4 KB

91 Dash Movement

Allows player to dash in the direction it is facing.

91 Dash Movement Zip
Archive – 602.6 KB

92 Walking On Ice

Makes a player slide when moving on ice.

92 Walking On Ice Zip
Archive – 611.2 KB

93 Underwater Effect

Creates an underwater effect using effects layer and sprites.

93 Underwater Effect Zip
Archive – 536.2 KB

94 Hint Arrow To Direction Of Powerup

Gives the player a hint of which direction the nearest power up is.

94 Hint Arrow To Direction Of Powerup Zip
Archive – 582.2 KB

95 Button To Open Website

A button that the player can click to visit a website.

95 Button To Open Website Zip
Archive – 566.5 KB

96 Health Pack Slowly Increase Health

Slowly increases the player’s health when they collect a health pack.

96 Health Pack Slowly Increase Health Zip
Archive – 559.0 KB

97 Change Enemy Colour When Targeted

Changes the enemy colour when it is targeted.

97 Change Enemy Colour When Targeted Zip
Archive – 568.7 KB

98 Limit Weapon Shooting Timer

Limits how quickly the player can shoot their weapon.

98 Limit Weapon Shooting Timer Zip
Archive – 692.3 KB

99 Clock Stopwatch

A stop watch time with hundredths of seconds.

99 Clock Stopwatch Zip
Archive – 556.2 KB

100 Weapon Power & Direction System

Allows user to choose an angle and power of a projectile.

100 Weapon Power Direction System Zip
Archive – 642.1 KB

101 Creating Effect On Collision

Uses built in effects to create visuals when colliding.

101 Creating Effect On Collision Rar
RAR file – 573.7 KB

Visit The Following For More GameMaker Example Projects:

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


Don’t let technical barriers hold you back. Visit GameMaker.at to explore the best tools for first-time game creators and professionals alike. Take the first step toward bringing your gaming ideas to life.