GameMaker Example Projects B

Learn From These 101 Example GameMaker Projects

101 More GameMaker Projects To Improve Your GML Skills

Updated, projects now include comments.


1 Follow Object

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

Coding challenges to fuel your creativity.
1 Follow Object Zip
Archive – 958.5 KB

2 Orbit Object

This makes one object orbit another.

Hands-on practice with GameMaker programming
2 Orbit Object Zip
Archive – 958.6 KB

3 Random Name Generator

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

Learn GameMaker programming by doing
3 Random Name Generator Zip
Archive – 524.8 KB

4 Top Down Movement

Simple top down movement and collision system.

GameMaker tasks to refine your coding expertise
4 Top Down Movement Zip
Archive – 961.0 KB

5 Screen Shake

A simple screenshake effect.

5 Screen Shake Zip
Archive – 759.9 KB

6 Bomb Destruction Zone

Creates multiple explosion instances in a set pattern.

Sharpen programming logic through challenges
6 Bomb Destruction Zone Zip
Archive – 654.9 KB

7 Circular Healthbar

This draws a circular healthbar.

Challenge yourself with engaging coding exercises
7 Circular Healthbar Zip
Archive – 481.2 KB

8 Volume Based On Distance

Changes volume based on distance between 2 instances.

Unlock new coding techniques in GameMaker.
8 Volume Based On Distance Zip
Archive – 27.1 MB

9 Snow Weather Effect

A simple snow effect.

Creative challenges for GameMaker developers
9 Snow Weather Effect Zip
Archive – 480.6 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 – 527.7 KB

11 Average Position Between 2 Instances

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

Elevate your skills with GameMaker coding tasks
11 Average Position Between 2 Instances Zip
Archive – 489.4 KB

12 Random Dice Rolls

Rolls two dice and stores the result.

Unleash creativity with GameMaker tasks
12 Random Dice Rolls Zip
Archive – 609.2 KB

13 On Screen Keyboard

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

Solve real-world problems in GameMaker
13 On Screen Keyboard Zip
Archive – 619.0 KB

14 Array Sort

This example sorts words alphabetically.

Discover the art of programming through challenges
14 Array Sort Zip
Archive – 527.8 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.

Achieve programming excellence with challenges
16 Numbers To Speech Zip
Archive – 2.8 MB

17 Teleport

Teleports player between two instances.

A must-have for GameMaker programming enthusiasts
17 Teleport Zip
Archive – 962.2 KB

18 Queued Messages

This queues text message and plays them in order.

Step-by-step guides for gamemaker users
18 Queued Messages Zip
Archive – 530.7 KB

19 Shop System

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

Hands-on practice for budding GameMaker developers
19 Shop System Zip
Archive – 971.5 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

Use Coupon Code SPRING For 40% Off


21 Eight Directional Movement (A)

8 Directional sprite control, with basic movement.

21 Eight Directional Movement Zip
Archive – 663.0 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.

Gamemaker for hobbyist game creators
23 Nine Slice Example Zip
Archive – 482.9 KB

24 Hit Box (A)

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

Interactive programming tasks for learners
24 Hit Box Zip
Archive – 1.1 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 – 493.4 KB

26 Hide & Seek

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

26 Hide Seek Zip
Archive – 967.2 KB

27 Save Highscore

A simple system to save a highscore.

Sharpen your game development skills here
27 Save Highscore Zip
Archive – 527.8 KB

28 Sprite Animation Control

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

Improve coding fluency through fun problems
28 Sprite Animation Control Zip
Archive – 3.7 MB

29 Jet Pack & Gravity

Flying control system.

Solve, create, and innovate in GameMaker
29 Jet Pack Gravity Zip
Archive – 500.7 KB

30 Enemy Movement On Platform

Make an enemy walk on turn whilst on a platform.

30 Enemy Movement On Platform Zip
Archive – 915.7 KB 1 download

31 Tweening

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

31 Tweening Zip
Archive – 529.5 KB

32 Door & Key

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

32 Door Key Zip
Archive – 974.3 KB

33 Wrap Instance Around Room

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

Boost your skills through fun coding tasks
33 Wrap Instance Around Room Zip
Archive – 492.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 – 964.0 KB

36 Knockback

A basic knockback system that can built upon.

36 Knockback Zip
Archive – 551.2 KB

37 Road Builder

Allows player to draw a path.

Create engaging 2D platform games effortlessly
37 Road Builder Zip
Archive – 532.6 KB

38 Select Multiple Troops

Allows selection of multiple instances.

38 Select Multiple Troops Zip
Archive – 518.8 KB

39 Road Connections

System automatically draw the correct subimage to make roads connect.

Grow your skills with exciting challenges
39 Road Connections Zip
Archive – 492.8 KB

40 Lightning Effect

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

40 Lightning Effect Zip
Archive – 481.4 KB

Use Coupon Code SPRING For 40% Off


41 Gravity Movement

Showing various items with gravity.

41 Gravity Movement Zip
Archive – 515.5 KB

42 Blood Damage Effect

Creates a blood effect that drips down the screen.

42 Blood Damage Effect Zip
Archive – 560.7 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.

44 Bullet Holes Zip
Archive – 494.2 KB

45 Rope Between Objects

Draws a hanging rope between 2 positions.

45 Rope Between Objects Zip
Archive – 484.0 KB

46 English to Morse Code

Converts text to morse code audio.

46 English To Morse Code Zip
Archive – 1.6 MB

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.

Enhance your GameMaker knowledge with coding tasks.
48 Slowly Rotate To Angle Zip
Archive – 500.1 KB

49 Draw Clock

This draws a clock with the users system time.

GameMaker challenges for creative problem solvers.
49 Draw Clock Zip
Archive – 519.1 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.

Creative programming exercises for all levels
51 Get Text From Keyboard Zip
Archive – 519.3 KB

52 Shoot Projectile With Gravity

Allows player to shoot a projectile, with gravity applied.

Discover new techniques with programming tasks
52 Shoot Projectile With Gravity Zip
Archive – 566.7 KB

53 Fade On Player Collision

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

Perfect for coders wanting hands-on experience
53 Fade On Player Collision Zip
Archive – 961.4 KB

54 Jump On Enemy To Kill

Allows player to jump on enemy to destroy it.

GameMaker exercises for creative developers
54 Jump On Enemy To Kill Zip
Archive – 718.1 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 – 528.0 KB

56 Draw Lines To Mouse Position

Draw coloured line between two positions.

Tackle exciting GameMaker coding challenges
56 Draw Lines To Mouse Position Zip
Archive – 527.6 KB

57 Random Building Generator

Generates buildings of random height and colour.

Design better games with practical coding challenges
57 Random Building Generator Zip
Archive – 533.4 KB

58 Queue & Play Audio

Queues audio. Great for queuing message and sound effects.

Interactive learning for GameMaker programming enthusiasts
58 Queue Play Audio Zip
Archive – 890.1 KB

59 Boss Style Movement

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

Craft unique solutions to GameMaker problems
59 Boss Style Movement Zip
Archive – 505.7 KB

60 Split Screen

This example tracks two instances.

60 Split Screen Zip
Archive – 497.7 KB

Use Coupon Code SPRING For 40% Off


61 Check Spelling Of Word

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

Gamemaker tools for indie developers
61 Check Spelling Of Word Zip
Archive – 1.7 MB

62 Player Character Selection A

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

Challenge your logic with GameMaker coding puzzles
62 Player Character Selection A Zip
Archive – 4.0 MB

63 Weapon Control & Ammo Packs

This keeps the instance within the room’s boundary.

Gamemaker community resources and tips
63 Weapon Control Ammo Packs Zip
Archive – 1.9 MB

64 Move Towards Point Then Stop

Moves an instance towards a point and then stops.

https://copilot.microsoft.com/chats/Cw2qgRANJ3TdrsSEe11mu#:~:text=Practical%20exercises%20for%20GameMaker%20coders
64 Move Towards Point Then Stop Zip
Archive – 1.7 MB

65 Resize Based On Position

Scales an instance based on it’s Y position.

65 Alert Player To Low Health Zip
Archive – 791.1 KB

66 Using Mouse Wheel To Select Weapon

Allows user to change weapon using middle mouse wheel.

Game development tools for aspiring creators
66 Using Mouse Wheel To Select Weapon Zip
Archive – 2.3 MB

67 Font Drawing From Images

Example for drawing sprites created from images.

Learn by solving real GameMaker problems
67 Font Drawing From Images Zip
Archive – 2.4 MB 1 download

68 Allow Player To Load Sprite

Allows player to load an image file from their computer.

Expand your GameMaker knowledge creatively.
68 Allow Player To Load Sprite Zip
Archive – 529.5 KB

69 Enemy Shoots If Can See Player

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

GameMaker challenges to inspire new ideas
69 Enemy Shoots If Can See Player Zip
Archive – 1.0 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.

Innovative tasks for aspiring GameMaker developers.
71 Split Sentence Zip
Archive – 528.4 KB

72 Simple Menu System

A simple adaptable menu system.

Perfect your skills through problem-solving
72 Simple Menu System Zip
Archive – 527.7 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.

Test your programming skills with unique challenges
73 Moving Spikes Damage System Zip
Archive – 1.4 MB

74 Projectile Spread System

Shoot multiple projects at slightly different angle.

Level up your coding with step-by-step guidance.
74 Projectile Spread System Zip
Archive – 499.9 KB

75 Ball Bounce & Squash

Makes a ball bounce with a squashing effect.

75 Ball Bounce Squash Zip
Archive – 502.1 KB

76 Status Effect

Draws info on what the player is doing.

Perfect your skills through engaging challenges.
76 Status Effect Zip
Archive – 960.4 KB

77 Foot Step Sounds With Animation

A simple method to tie animation and sound effects.

Boost creativity with unique GameMaker exercises
77 Foot Step Sounds With Animation Zip
Archive – 4.5 MB

78 Game Fog

Draws a fog effect over the room using a sprite.

Master game development with guided challenges
78 Game Fog Zip
Archive – 1.0 MB

79 Destruction With Multiple Subimages

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

Challenge yourself with creative programming tasks.
79 Destruction With Multiple Subimages Zip
Archive – 713.7 KB

80 Enemy Hide

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

80 Enemy Hide Zip
Archive – 832.1 KB

Use Coupon Code SPRING For 40% Off


81 HUD Drawing On GUI Layer

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

Creative solutions to GameMaker programming tasks.
81 Hud Drawing On Gui Layer Zip
Archive – 839.7 KB

82 Scroll Block Of Text Up and Down

This allows for scrolling through a large block of text.

Push your coding limits with fun exercises.
82 Scroll Block Of Text Up And Down Zip
Archive – 528.7 KB

83 Blood Spray Effect

An adaptable effect for creating a blood style explosion.

Customizable game mechanics for unique experiences
83 Blood Spray Effect Zip
Archive – 501.3 KB

84 Voice On Level Up

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

Dive into GameMaker with exciting coding challenges
84 Voice On Level Up Zip
Archive – 715.1 KB

85 Wind Blown Effect

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

85 Wind Blown Effect Zip
Archive – 957.2 KB

86 Double Jump

Allow player to perform a double jump.

Enhance your programming logic with GameMaker.
86 Double Jump Zip
Archive – 548.4 KB

87 Meteor Shower Effect

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

Strengthen your problem-solving with coding tasks
87 Meteor Shower Effect Zip
Archive – 976.1 KB

88 Footstep Dust Effect

Makes a small effect when an instance walks.

Step up your programming game with exercises
88 Footstep Dust Effect Zip
Archive – 4.5 MB

89 Float & Die Effect

Shows an enemy dead and makes it wobble and fade.

GameMaker challenges for independent learners
89 Float Die Effect Zip
Archive – 818.3 KB

90 Fly Level Effect

Return a flying plane to middle when player stops movement.

90 Fly Level Effect Zip
Archive – 779.5 KB

91 Dash Movement

Allows player to dash in the direction it is facing.

GameMaker challenges for every experience level.
91 Dash Movement Zip
Archive – 574.7 KB

92 Walking On Ice

Makes a player slide when moving on ice.

A fun way to improve GameMaker programming skills
92 Walking On Ice Zip
Archive – 583.5 KB

93 Underwater Effect

Creates an underwater effect using effects layer and sprites.

Transform your ideas into games with challenges
93 Underwater Effect Zip
Archive – 508.3 KB

94 Hint Arrow To Direction Of Powerup

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

Bring your game ideas to life with gamemaker.at
94 Hint Arrow To Direction Of Powerup Zip
Archive – 554.6 KB

95 Button To Open Website

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

95 Button To Open Website Zip
Archive – 538.7 KB

96 Health Pack Slowly Increase Health

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

GameMaker exercises for aspiring coders
96 Health Pack Slowly Increase Health Zip
Archive – 531.2 KB

97 Change Enemy Colour When Targeted

Changes the enemy colour when it is targeted.

Innovative challenges for GameMaker enthusiasts
97 Change Enemy Colour When Targeted Zip
Archive – 541.0 KB

98 Limit Weapon Shooting Timer

Limits how quickly the player can shoot their weapon.

Take your GameMaker coding to the next level
98 Limit Weapon Shooting Timer Zip
Archive – 664.6 KB

99 Clock Stopwatch

A stop watch time with hundredths of seconds.

Refine your skills with practical GameMaker tips.
99 Clock Stopwatch Zip
Archive – 528.5 KB

100 Weapon Power & Direction System

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

100 Weapon Power Direction System Zip
Archive – 614.4 KB

101 Creating Effect On Collision

Uses built in effects to create visuals when colliding.

Optimized code for smooth gameplay experiences
101 Creating Effect On Collision Zip
Archive – 547.1 KB

Use Coupon Code SPRING For 40% Off


Take Game Development to the Next Level with GameMaker Examples B

Creating a game is like crafting a work of art—it takes vision, skill, and the right tools. For developers eager to refine their skills with GameMaker Language (GML), GameMaker Examples B is here to help. Our platform is packed with cutting-edge GML code examples that bring creativity and efficiency to your workflow.

GameMaker Examples B: What You’ll Discover

GameMaker Examples B is your go-to source for advanced GML techniques and practical solutions. Whether you're building complex AI systems or optimizing performance, our carefully curated examples empower you to tackle the most challenging aspects of game development.

  • Advanced GML Scripts: Dive into examples that go beyond the basics, designed for those ready to push boundaries.

  • Optimized Performance: Learn how to write lean and efficient code that ensures smooth gameplay.

  • Creative Problem-Solving: Find unique approaches to overcome common game development challenges.

Examples That Spark Creativity

Our collection covers a variety of use cases, helping you save time and take inspiration for your projects. Some highlights include:

  • Advanced Enemy AI: Build intelligent NPCs that adapt to player behavior for a truly immersive experience.

  • Dynamic Weather Systems: Create realistic rain, snow, and day-night cycles to breathe life into your game world.

  • Custom Physics: Develop unique physics-based mechanics that enhance gameplay, from realistic object interactions to gravity-defying puzzles.

  • Procedural Level Generation: Generate endless content with scripts for random dungeons, maps, or environments.

Elevate Your Game Development Journey

GameMaker Examples B isn’t just about code—it’s about helping you achieve your game development dreams. By using our examples, you can:

  1. Streamline Your Workflow: Save time on coding and debugging by integrating proven scripts.

  2. Expand Your Skills: Gain a deeper understanding of advanced GML concepts and techniques.

  3. Realize Your Vision: Let the technical details fall into place, so you can focus on designing unforgettable gameplay.

 

Don’t let your next big idea stall due to coding challenges—unlock the potential of GameMaker Language today with GameMaker Examples B. Explore the collection and bring your game projects to life like never before!


Current 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

New Page:

Games & Interesting Ideas: Updated Weekly

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.