Game Development • GameMaker

Lesson 1 — Hello Sprite!

Goal: Learn the workspace by importing/drawing a sprite, creating an object, placing it in a room, and running the game.

Lesson Overview

Whole fire Image
Fire 1 Image
Fire 1 Image
Fire 1 Image
Fire 1 Image
Fire 1 Image
Fire 1 Image
Fire 1 Image
Fire 1 Image

Students will be introduced to GameMaker’s interface and the fundamental workflow of Sprite → Object → Room → Run. By the end, each student will display a custom sprite in a room and run the game successfully.

Skills: Sprites, objects, rooms, basic run loop • Extensions: Resize, recolor, rotate the sprite

Standards & Objectives

  • Navigate the GameMaker workspace (Resources, Room Editor, Toolbar).
  • Create and edit a sprite using the built‑in editor or imported image.
  • Create an object and assign the sprite.
  • Place the object in a room and run the game.
  • Apply basic transforms (resize, recolor, rotate).

Vocabulary

TermDefinition
SpriteA 2D image or animation representing a character or item.
ObjectA game entity that can have a sprite and behavior.
RoomThe playable area/level where objects appear.
Run LoopThe continuous update/draw cycle during gameplay.

Materials & Setup

  • Computers with GameMaker installed
  • Projector for demo
  • Student accounts (education/free)
  • Access to images or built‑in editor
  • Optional: HelloSprite_Demo.yyz
  • Exit ticket (digital or printed)

Lesson Timing

PhaseTimeNotes
Introduction10 minShow final example; define Sprite/Object/Room.
Guided Demo15 minModel each step; students follow along.
Independent Practice15–20 minCreate custom sprite; run game.
Extension5–10 minResize/recolor/rotate; optional background.
Reflection & Assessment5–10 minExit ticket + quick share‑outs.

Guided Demonstration (Follow‑Along)

  1. Create a Sprite: Resources → Sprites → Create Sprite → name spr_playerEdit Image → draw a simple shape/character; demonstrate resize & recolor.
  2. Create an Object: Resources → Objects → Create Object → name obj_player → assign spr_player.
  3. Create a Room: Resources → Rooms → Create Room → name rm_level1 → drag obj_player into the room.
  4. Run: Click Run ▶ and verify the sprite appears.

Naming convention tip: Use prefixes like spr_, obj_, and rm_ to keep projects organized.

Independent Practice

  • Create your own sprite using the editor or import an image.
  • Assign it to an object and place the object in the room.
  • Run the game and confirm it appears.

Differentiation

  • Beginners: Use a simple square/circle; focus on workflow.
  • Advanced: Try a 2–3 frame animation or adjust sprite origin.

Extension Activities

  • Resize the sprite (scale up/down).
  • Recolor using fill/brush tools.
  • Rotate using transform controls.
  • Optional: Add a background or second sprite (e.g., wall) to the room.

Assessment

TypeCriteriaEvidence
FormativeStudent follows Sprite→Object→Room stepsObservation during demo
PerformanceSprite assigned and visible in roomGame runs successfully
ReflectionExplains sprite–object relationshipExit ticket response
ExtensionApplied resize/recolor/rotateVisible changes in project

Troubleshooting

ProblemLikely CauseFix
Sprite not visibleObject not placed in roomDrag obj_player into the room
Object has no imageSprite not assigned to objectSet spr_player in object properties
Game won’t runCompilation/asset errorCheck names/paths; verify assets exist

Submission Requirements

Submit the following to Google Classroom:

You must get a secret code from Mr. Cusack to complete the assignment.

Mr. Cusack must view your program and he will ask you questions.

Reflection Prompts (Exit Ticket)

Next Lesson Preview

Lesson 2 — Let’s Move! Introduce keyboard input and basic motion; keep the player within room bounds.