GameMaker Example Projects D

101 More GameMaker GML Project Examples

Examples On This Page Now Include Some Code Comments


1 Weapon Recoil (B)

Weapon shooting with a recoil effect.

Explore new ideas through diverse GameMaker challenges
1 Weapon Recoil Zip
Archive – 611.6 KB

2 Change Cursor

Change cursor based on on user interaction.

Master GameMaker with 500 creative programming tasks
2 Change Cursor Zip
Archive – 453.4 KB

3 Swap Music Tracks

Allows swapping between 6 synced music tracks

Fuel your passion for programming with 500 challenges

Archive - 374 MB

Download


4 Rotate Sprite Off Center Origin

Allows sprite rotation around center when origin is offset.

Discover innovative approaches to GameMaker coding
4 Rotate Sprite Off Center Origin Zip
Archive – 406.5 KB

5 Unlockable Buttons

Creates buttons when a certain score is reached.

5 Unlockable Buttons Zip
Archive – 452.6 KB

6 Follow Object With Avoidance

Enemy that follows player at a distance, avoiding crates.

Advance your game development journey with ease
6 Follow Object With Avoidance Zip
Archive – 437.4 KB

7 Circular Rotating Text A

Draws rotating text.

GameMaker programming made simple and enjoyable
7 Circular Rotating Text Zip
Archive – 447.5 KB

8 Place Instances No Path Blocking

Allows placement of blocks in a grid, without blocking a path between start and end points.

Discover examples of custom game mechanics
8 Place Instances No Path Blocking Zip
Archive – 1.4 MB

9 Shooting AI Helper

An automated weapon system that rotates player and attacks an enemy within range.

A learning companion for aspiring GameMaker developers
9 Shooting Ai Helper Zip
Archive – 486.5 KB

10 Do Something After Given Time

Uses a time source (as opposed to an alarm) to make something happen after a set amount of time.

10 Do Something After Given Time Zip
Archive – 530.0 KB

11 Extending Frog Tongue Without Sprite

An extending tongue drawn with shapes.

Comprehensive challenges for every GameMaker level
11 Extending Frog Tongue Without Sprite Zip
Archive – 452.7 KB

12 Extending Frog Tongue With Sprite

An extending tongue drawn with sprites.

Explore GameMaker coding in a fun and interactive way
12 Extending Frog Tongue With Sprite Zip
Archive – 454.5 KB

13 Sprite With Two Attack Modes

Player with two attack options.

GameMaker-driven exercises to fuel coding creativity
13 Sprite With Two Attack Modes Zip
Archive – 524.6 KB

14 Rotating Tower With Subimages

Sprite based 3D rotating towers.

Find beginner-friendly examples to start coding
14 Rotating Tower With Subimages Zip
Archive – 1.5 MB

15 Rotate View and Instances

Movement and rotation system.

15 Rotate View And Instances Zip
Archive – 500.3 KB

16 Reverse Sentence Order

Reverses the word order of a given string.

Polish your skills through creative programming tasks.
16 Reverse Sentence Order Zip
Archive – 447.3 KB

17 Generate Random Sentence

Selects sentence elements from a selection.

Practice coding with interactive GameMaker projects.
17 Generare Random Sentence Zip
Archive – 448.0 KB

18 Plane Height and Shadow

Moveable plane with height control and shadow.

Sharpen your coding skills with 500 unique challenges
18 Plane Height And Shadow Zip
Archive – 452.7 KB

19 Moon Lander AI

Lands a lander on a moon base, with varience in movement.

Stay inspired with varied GameMaker-focused exercises
19 Moon Lander Ai Zip
Archive – 563.4 KB

20 Character Selection B

A player selection screen with a choice of options.

20 Character Selection B Zip
Archive – 1.5 MB

Use Coupon Code SPRING For 40% Off


21 Slowly Reduce Health

Slowly reduces health by a given amount.

500 reasons to master GameMaker coding today
21 Slowly Reduce Health Zip
Archive – 624.5 KB

22 Level Progress - 2 Players

Shows level progress of 2 players on a mini bar.

Test your coding abilities with engaging tasks
22 Level Progress 2 Players Zip
Archive – 796.6 KB

23 Find Random Position Outside View

Positions an instance within the room, but outside current view.

Creative challenges to elevate your GameMaker skills
23 Find Random Position Outside View Zip
Archive – 473.9 KB

24 Recolour Sprite With Blendmode

Colours a sprite using blendmode.

Expand your creativity with GameMaker coding challenges
24 Recolour Sprite With Blendmode Zip
Archive – 515.3 KB

25 Draw Text With Flashing Border

Draws text with flashing border that changes size.

25 Draw Text With Flasing Border Zip
Archive – 465.5 KB

26 Count Down Text

Draws a series of texts, useful for countdown or showing other info.

Essential for developers seeking GameMaker expertise.
26 Count Down Text Zip
Archive – 521.2 KB

27 Showing Damage To Spaceship

A cool explosion effect, suitable for damage to a player or enemy.

Access exclusive examples to accelerate learning
27 Showing Damage To Spaceship Zip
Archive – 622.0 KB

28 Change Volume Of Music

Control volume of music with mouse buttons.

Access examples for creating dynamic gameplay.

Archive 73 MB

Download


29 Slide In Out Stats

A button a player click that slides in stats.

Explore examples of interactive game elements
29 Slide In Out Stats Zip
Archive – 452.6 KB

30 Expanding Rotating Fire Effect

An expanding rotating explosion fire effect.

Note: Contain Flashing Images

30 Expanding Rotating Fire Effect Zip
Archive – 928.5 KB

31 Move To Position On Sine Wave

Moves an instance across room, while moving up and down on y-axis.

A treasure trove of GameMaker puzzles for coders
31 Move To Position On Sine Wave Zip
Archive – 459.5 KB

32 Recoil When Shooting

A moveable character with recoil when shooting.

Gain confidence through GameMaker coding challenges
32 Recoil When Shooting Zip
Archive – 1.8 MB

33 Hold Button To Jump Higher

Allows variable jumping height.

Expand your skills with step-by-step GameMaker challenges
33 Hold Button To Jump Higher Zip
Archive – 468.2 KB

34 Choose Random Number

Chooses a whole random number within given range when clicked.

"Hands-on practice for mastering GameMaker programming
34 Choose Random Number Zip
Archive – 449.7 KB

35 Iris Effect Room Transition

Cool effect for room transitions.

35 Iris Effect Room Transition Zip
Archive – 743.9 KB

36 Only Show Visible Walls

Only draw walls if the player can see them.

Essential resource for mastering GameMaker Studio.
36 Only Show Visible Walls Zip
Archive – 440.1 KB

37 Four Directional Dash

Allows player to dash in multiple directions.

500 challenges to sharpen your GameMaker programming
37 Four Directional Dash Zip
Archive – 496.9 KB

38 Rectangle Room Transition Effect

A room transition effect.

Build confidence with GameMaker-focused exercises.
38 Rectangle Room Transition Effect Zip
Archive – 734.5 KB

39 8 Directional Character Movement (B)

An alternative method for 8 directional movement.

Explore problem-solving methods with creative tasks
39 8 Directional Chararacter Movement Zip
Archive – 1.1 MB

40 Segmented Neck

A method for drawing a segmented neck.

40 Segmented Neck Zip
Archive – 483.7 KB

Use Coupon Code SPRING For 40% Off


41 Hold To Change Sprite

Change a sprite when mouse button is held on it for a given duration.

Build confidence with beginner-friendly GameMaker tools.
41 Hold To Change Sprite Zip
Archive – 858.1 KB

42 Chess Piece Movement

Moves a piece to given position (no AI or chess engine).

A must-have for aspiring game developers using GameMaker
42 Chess Piece Movement Zip
Archive – 555.9 KB

43 Enemy With Trailing Instances

Creates an enemy that has trailing instances.

Improve your skills with structured coding examples.
43 Enemy With Trailing Instances Zip
Archive – 414.4 KB 0 downloads

44 Reverse Controls

Reverses controls for a player character.

Expand your GameMaker knowledge with 500 tasks
44 Reverse Controls Zip
Archive – 531.1 KB

45 Four Direction Enemy

An enemy that moves on a path, pointing direction of travel.

45 Four Direction Enemy Zip
Archive – 1.1 MB

46 Four Direction Move To Mouse

Move a character in four directions.

46 Four Direction Move To Mouse Zip
Archive – 958.1 KB

47 Draw Sprite Border

Another method to draw a border around a sprite.

Achieve coding fluency through structured challenges
47 Draw Sprite Border Zip
Archive – 424.7 KB

48 Keep Crosshair In View

A method to keep a crosshair in view when the view moves.

Accelerate learning with GameMaker coding practices
48 Keep Crosshair In View Zip
Archive – 741.9 KB

49 Safe Password Code

Allows user to enter a safe to make something happen.

Master GameMaker programming through hands-on tasks.
49 Safe Password Code Zip
Archive – 484.0 KB

50 Morph Between Images

Cross fades between two images.

50 Morph Between Images Zip
Archive – 516.1 KB


51 Rotate Sprite Randomly

Randomly rotates a sprite when mouse button is held down when over it.

Discover examples of clean and efficient code
51 Rotate Sprite Randomly Zip
Archive – 468.7 KB

52 Rotating Stars Effect

Creates an expanding rotating star effect.

Perfect for beginners and advanced developers alike.
52 Rotating Stars Effect Zip
Archive – 454.8 KB

53 Fade In Out Messages

Shows a sequence of messages that fade in and out.

Tackle real-world scenarios using GameMaker techniques
53 Fade In Out Messages Zip
Archive – 455.1 KB

54 Pick Up and Carry

Allows a player to pick up, carry, and drop items.

Refine your coding expertise with engaging puzzles
54 Pick Up And Carry Zip
Archive – 864.6 KB

55 Bouncing Text Effect

Text that bounces up and down, and changes.

55 Bouncing Text Effect Zip
Archive – 455.1 KB

56 Motion Blur With Movement

Creates a trail when an instance moves.

Learn advanced concepts with GameMaker exercises
56 Motion Blur With Movement Zip
Archive – 455.8 KB

57 Draw Sprite To Wall Edge

Draws part of sprte upto wall edge.

Understand coding concepts with clear examples
57 Draw Sprite To Wall Edge Zip
Archive – 455.2 KB

58 Create and Detonate Bomb With Same Button

Allows player to place and detonate a bomb with a single keypress.

Fuel your creativity with 500 innovative challenges
58 Create And Detonate Bomb With Same Button Zip
Archive – 552.3 KB

59 Rotatable 3D Car

Rotatable sprite based car.

Refine your problem-solving abilities with 500 tasks
59 Rotatable 3 D Car Zip
Archive – 787.8 KB

60 Rotatable Ship With Multiple Weapons

A rotatable ship with multiple weapon placements

60 Rotatable Ship With Multiple Weapons Zip
Archive – 564.6 KB

Use Coupon Code SPRING For 40% Off


61 Draw Text With Shadow

Draws text with a shadow.

Master GameMaker scripting through step-by-step tasks
61 Draw Text With Shadow Zip
Archive – 462.6 KB

62 Attacking With Custom Hit Box (B)

Generates an instance for hit box collisions, position varies based on direction and attack type.

Perfect your programming logic with focused challenges.
62 Attacking With Custom Hit Box Zip
Archive – 2.1 MB

63 Draw Healthbar From Two Sprites

Draws a healthbar using draw_sprite_part.

Gain hands-on experience solving GameMaker tasks
63 Draw Healthbar From Two Sprites Zip
Archive – 442.4 KB

64 Save Players Stats

Saves player's stats in a text file, to a location they choose.

Explore creative game development with 500 exercises
64 Save Players Stats Zip
Archive – 445.5 KB

65 Draw Rotating Text In Circle (B)

An alternative method for drawing rotating text.

65 Draw Rotating Text In Circle Zip
Archive – 447.6 KB

66 Spiralling Weapon

A weapon that travels around a decreasing spiral path when attacking an enemy.

Improve your skills with diverse GameMaker puzzles
66 Spiralling Weapon Zip
Archive – 491.0 KB

67 Selectable Characters

Allows selecting and activating from a choice of characters

Solve challenges with practical examples and tips
67 Selectable Characters Zip
Archive – 493.6 KB

68 Proximity Helper

Spawns a helper when near an instance to enable interaction with something.

Learn to script efficiently in GameMaker Studio
68 Proximity Helper Zip
Archive – 629.2 KB

69 Temporary Invincibility

Prevents player taking damage for a set length of time.

Expand your GameMaker knowledge effortlessly.
69 Temporary Invincibility Zip
Archive – 1,018.7 KB

70 Falling Boulders

Boulders that fall down if space below or at side and below.

70 Falling Crates Zip
Archive – 454.8 KB

71 Countdown Clock

A sprite based clock that counts down.

Solve exciting coding tasks tailored for GameMaker.
71 Countdown Clock Zip
Archive – 161.3 KB

72 Rings Fly Through

A sprite based system allowing a player to fly inside rings.

Unlock your potential with 500 GameMaker challenges
72 Rings Fly Through Zip
Archive – 2.9 MB

73 Text Based Menu

A simple text based menu that can interacted with using the keyboard.

Explore diverse challenges to boost creativity
73 Text Based Menu Zip
Archive – 802.4 KB

74 Charge Jump

Jump higher when button held down.

Fuel your passion for coding with 500 challenge
74 Charge Jump Zip
Archive – 173.5 KB

75 Proximity Camera

Detects whether player is within the view of an oscillating camera.

75 Proximity Camera Zip
Archive – 558.4 KB

76 Instance Selector

Allows user to select an instance, disabling previous selected.

Packed with fun and engaging coding exercises
76 Instance Selector Zip
Archive – 541.1 KB

77 Instance Placer

Randomly places and instance at one of many predetermded positions.

Practice with examples tailored for GameMaker Studi
77 Instance Placer Zip
Archive – 469.8 KB

78 Loot Dropper

Moving character that drops gems.

GameMaker insights to elevate your coding journey
78 Loot Dropper Zip
Archive – 467.7 KB

79 Draw Decimal Fraction

Draw a number as string with a given decimal length.

Make game coding fun with GameMaker resources.
79 Draw Decimal Fraction Zip
Archive – 444.0 KB

80 Stats With Buttons

Allows player to view various stats by pressing buttons.

80 Stats With Buttons Zip
Archive – 453.0 KB

Use Coupon Code SPRING For 40% Off


81 Show Word Parts Of A Sentence

Allow user to choose how words of a sentence to view.

Find examples to troubleshoot common issues
81 Show Word Parts Of A Sentence Zip
Archive – 447.7 KB

82 Weapon Reload System

Forces player to reload gun when magazine is empty.

Find practical solutions to GameMaker challenges
82 Weapon Reload System Zip
Archive – 902.1 KB

83 Moving Eyes

Moving eyes that point in direction of mouse position.

Test your skills with real-world examples
83 Moving Eyes Zip
Archive – 734.4 KB

84 Audio Control

Allows cancelling any playing sound effect, without affecting music.

Gain confidence with practical programming puzzles
84 Audio Control Zip
Archive – 9.2 MB

85 Prevent Mouse Cursor Moving Over Instance

Prevents the mouse cursor from moving over an instance.

85 Prevent Mouse Cursor Moving Over Instance Zip
Archive – 445.1 KB

86 Directional Shadow

A shadow that changes direction based on light position.

Achieve programming mastery with detailed exercises
86 Directional Shadow Zip
Archive – 425.4 KB

87 Scale Image

Scales an image based on distance from mouse to sprite origin.

Perfect companion for your GameMaker journey
87 Scale Image Zip
Archive – 506.9 KB

88 Draw Bounding Box

Draws an instance's bounding box, useful for testing.

Browse examples of professional game design
88 Draw Bounding Box Zip
Archive – 549.4 KB

89 Poker Hand

Chooses a poker hand from a shuffled deck of hands.

Learn faster with hands-on GameMaker examples.
89 Poker Hand Zip
Archive – 3.4 MB

90 Choose and Name Random Playing Card

Chooses a random card from a shuffled deck, draws the appropriate card and description.

90 Choose And Name Random Playing Card Zip
Archive – 3.3 MB

91 Fade Sprite In and Out

Gradually changes alpha of a sprite.

A comprehensive guide for GameMaker coders
91 Fade Sprite In And Out Zip
Archive – 576.3 KB

92 Circular Healthbar That Adjusts

A circular health bar that adapts to the size of a sprite.

Refine your skills with GameMaker coding exercises
92 Circular Healthbar That Adjusts Zip
Archive – 1,019.6 KB

93 Dropping Block

Drops a block (or series of) when block below is removed.

Test your abilities with real-world coding challenges.
93 Dropping Block Zip
Archive – 454.0 KB

94 Slider

A player controlled slider that increases in speed if a button is held down, and slows down when released.

Stimulate innovation with 500 creative exercises
94 Slider Zip
Archive – 438.7 KB

95 Move To An Instance's Position

Uses a path to move to a random instance's position, avoiding blocks, then repeat.

95 Move To An Instances Position Zip
Archive – 5.9 MB

96 Parachute Falling With Wobble

A method for a falling parachute that wobbles.

Essential for anyone serious about game development
96 Parachute Falling With Wobble Zip
Archive – 445.8 KB

97 Increasing Difficulty

Enemies becomes stronger as they are destroyed.

Improve coding fluency through diverse tasks.
97 Increasing Difficulty Zip
Archive – 450.7 KB

98 Incoming Enemy

Alerts player that an enemy is incoming.

Solve, create, and learn with engaging challenges.
98 Incoming Enemy Zip
Archive – 605.4 KB

99 Warp Portal

Warps a character between 2 locations.

99 Warp Portal Zip
Archive – 644.8 KB

100 Programable Characters

Allows setting a task for multiple characters.

100 Programable Characters Zip
Archive – 596.8 KB

101 Inventory System

Allows picking up and placing of inventory items.

Understand GameMaker logic through simple examples
101 Inventory System Zip
Archive – 707.0 KB

Use Coupon Code SPRING For 40% Off


GameMaker Examples D: Your Gateway to Innovative Game Development

Building a game is like solving a captivating puzzle—it requires creativity, precision, and the right tools to bring your vision to life. With GameMaker Examples D, we provide developers with a treasure trove of GML code examples that simplify challenges, spark creativity, and help you create standout games.

Why GameMaker Examples D?

Whether you're just starting your journey into game development or you're a seasoned expert, GameMaker Examples D is designed to offer versatile solutions and cutting-edge GML scripts to streamline your development process. Here’s why developers love it:

  • Problem-Solving Focus: Find practical GML solutions to overcome development roadblocks quickly.

  • Adaptable Code: Use examples that are highly customizable, ensuring they fit seamlessly into your unique projects.

  • Skill Enhancement: Learn advanced techniques by diving into detailed and well-structured GML examples.

Explore Our Innovative Examples

At GameMaker Examples D, you’ll find code snippets that go beyond the basics, unlocking new possibilities for your game projects. Highlights include:

  1. Inventory Management Systems: Implement intuitive inventory mechanics, complete with sorting, stacking, and tooltips.

  2. Dialogue Systems: Create immersive story-driven experiences with flexible dialogue management and branching storylines.

  3. Customizable HUD Elements: Design dynamic, player-centric interfaces that adapt to gameplay events in real time.

  4. Power-Up Mechanics: Add exciting and unique power-ups that keep your gameplay fresh and engaging.

Unlock Your Potential with GameMaker Examples D

Every developer has a story to tell through their games, and GameMaker Examples D provides the resources you need to tell yours with confidence. By leveraging our examples, you’ll:

  • Save Time and Effort: Spend less time writing code and more time designing unforgettable gameplay.

  • Refine Your Skills: Gain deeper insights into advanced GML scripting and problem-solving techniques.

  • Create with Confidence: Use well-tested and efficient scripts to enhance your game’s performance and player experience.

 

Game development is an adventure, and GameMaker Examples D is here to guide you every step of the way. Explore our growing library of GML scripts today and unlock the full potential of your creativity!


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