Build games in the browser with behaviours and events.
Make games with Construct 3, a game engine that runs in the browser. Instead of writing code line by line, you give objects behaviours (so the engine moves them) and write events: rows that say when something happens, then what to do. The first lesson builds a small game with Construct's own guided tour and works out what makes each part happen. You can start here, or after App Builder apps, which teaches events, variables and picking with apps; those ideas then come back here as review in a game. The free edition, with no sign-in, is enough for every lesson planned here.
Standards, in general: main focus: Trace algorithms for errors (8P06). What this means
Build a first game with Construct's guided tour, then work out which parts the engine moves and which an event makes happen.
Build Spell Caster, a small top-down game, with Construct 3's own guided tour (or its written Beginner's guide), then work out what makes each part happen. A behaviour is something the engine does for an object every moment, such as moving it with the arrow keys or flying it forward. An event is a row that says when something happens and what to do then, such as spawning a spell when the mouse is clicked.
One idea per lesson: copies of an object, behaviours, the event sheet, triggers, picking, variables, sub-events and time. Events, picking, variables and sub-events are review for students who did App Builder apps.
One object type, many copies, each with its own position.
Give an object a behaviour and the engine moves it.
The whole event sheet is checked every tick, top to bottom.
Some conditions fire once at the moment; others are true while they hold.
An action applies only to the copies its conditions picked.
A score for the game, and health for each goblin.
A sub-event only runs for what its parent picked.
Every few seconds, a new enemy.
Switch a group of events on or off for title, play and game over.
A complete game in 50 events or fewer.
Build a game in milestones, counting your events as you go.
Progress is saved in this browser only. Nothing is sent anywhere.
For teachers: Teacher guide (notes, answers, solutions, slides and worksheets)