← Code

Construct apps

Build apps you can click, and see how they work.

Start1. A practice tracker
For teachers 6 lessons

Build small apps with Construct 3, a tool that runs in the browser, and learn how an app works underneath: screens you lay out, variables that remember things, and events that say when something happens and what to do then. Each lesson builds a prototype, an early working version of an app you can click through and test: a practice tracker, a chores checklist, a water tracker, a journal with three screens, and a set of character cards. The challenge is a prototype of your own, tested with a real user. The free edition, with no sign-in, is enough.

  • Lessons 6
Teacher guide

Standards, in general: main focus: Trace algorithms for errors (8P06). What this means

Apps that respond

A button changes a number and the screen shows it; a tick that turns on and off.

1A practice trackerNot started

Build a prototype of a practice tracker: type how many minutes you practised, click Save, and the app adds it to your total. A global variable remembers the total, a button event changes it, and the screen only shows the new total when an event sets the text.

  1. Does the total change?
  2. Try it: an app with no Set text
  3. Build it: the practice tracker
  4. How the text is made › Read the text
  5. How the text is made › Why int()?
  6. How the text is made › Find Nib's mistake
  7. A Reset button › Choose the actions
  8. A Reset button › Build it
  9. Count the sessions
Start lesson
2A chores checklistNot started

Build a checklist where clicking a box ticks it, and clicking again unticks it. Two separate events with the same trigger both run on one click and undo each other, so the toggle is one event with a sub-event and an Else: one trigger, two branches, and only one branch runs.

  1. Two events, one click
  2. Try it: two events, one click
  3. Build it: the checklist
  4. Which branch runs? › Trace a click
  5. Which branch runs? › Find Nib's mistake
  6. Which branch runs? › Why build it?
  7. Count what's done › Where does it go?
  8. Count what's done › Build it
  9. A checklist for someone
Start lesson

Keep track

A display kept up to date every moment, a goal, and a progress bar.

3A water trackerNot started

Build a water tracker with a goal: add a glass, reset the day, and see a message and a progress bar. An Every tick event keeps the display in step without setting the text in every button's event. A condition that isn't a trigger, such as Compare variable, is checked every tick, and an action only waits for a sub-event's condition if it sits inside that sub-event.

  1. Who sets the text?
  2. Try the finished app
  3. Build it: the water tracker
  4. Did the cap work? › What did you see?
  5. Did the cap work? › Find the slip
  6. Did the cap work? › When does it run?
  7. Fix the cap
  8. A message and a progress bar › Work out the width
  9. A message and a progress bar › Build it
Start lesson

Screens and lists

Three screens, a choice that carries between them, and a list that grows.

4A values journalNot started

Build a journal app with three screens: pick a value you showed today, say what you did, then see every entry in a list. A global variable carries your choice from one screen to the next, an array keeps the entries, and a Repeat loop puts them in the list.

  1. Does the choice survive?
  2. Try the finished app
  3. Build it: three screens
  4. Lists and loops › Count with loopindex
  5. Lists and loops › Find Nib's mistake
  6. Lists and loops › Why global?
  7. Count the entries › Choose the expression
  8. Count the entries › Build it
  9. Test the flow
Start lesson

One object

Each copy of a character keeps its own stats; clicking one picks just that one.

5Creature statsNot started

Build a character viewer: click a creature and see its stats as text and bars. All three creatures are copies of one sprite, each with its own instance variables, and clicking one picks just that copy, so the event reads the stats of the one you clicked.

  1. Whose name shows?
  2. Try the finished app
  3. Build it: the creature viewer
  4. One event, many creatures › Which ones fade?
  5. One event, many creatures › Find Nib's mistake
  6. One event, many creatures › Why instance variables?
  7. A fourth creature › Predict the change
  8. A fourth creature › Try it
  9. Your own character cards
Start lesson

Final challenge: your own app

Plan, build and test a prototype of your own for a real user.

6Challenge: your own appNot started

Plan, build and test a prototype of an app for a real person. Choose a problem, sketch the screens and how they connect, decide which variables and events it needs, build it in milestones, then watch someone use it and improve one thing.

  1. Plan: what will it need?
  2. Milestone 1: plan on paper
  3. Milestone 2: one screen works
  4. Milestone 3: everything connected
  5. Milestone 4: test with a real user
  6. Milestone 5: improve one thing
Start lesson

Progress is saved in this browser only. Nothing is sent anywhere.

For teachers: Teacher guide (notes, answers, solutions, slides and worksheets)