Family edition
Tilemap Editor: How Big Is This Level?
Your child measures a real video game level made of square tiles, 40 across and 14 down. They count the tiles in a hill, find a faster way by multiplying its sides, and check the answer with the editor's own measuring tool. Then they find the area of a shape made of rectangles, read where things are by column and row, and build a castle of exactly 24 tiles.
What you need
- A computer or Chromebook with a current browser. A mouse makes dragging easier than a trackpad.
- The lesson link: mytekdev.com/try/tilemapeditor?lesson=how-big-is-this-level&ref=fam-tilemapeditor-1. No account, no email and nothing to install.
- Optional: the activity sheet at the end of this plan, printed, and a pencil. Its table is a handy place to write down the ground pieces.
Do it together
- Open mytekdev.com/try/tilemapeditor?lesson=how-big-is-this-level&ref=fam-tilemapeditor-1 together. The level is Grassy Hills, a strip of a platform game. A short guide runs along the top; follow its three steps together. They turn off the red film that marks the solid blocks (View, then Solid Cells) and pick the Select tool. Hold off on dragging for a moment. Its last note gives away the hill's size; ask your child to count before reading it.
You'll know it worked when: The red film is gone, the tiles are easy to see, and the Select tool is picked.
- Ask: how many tiles is the hill? Let your child count any way they like. Then look for a faster way: how many tiles across, and how many rows down?
You'll know it worked when: Your child sees that every row has 6 tiles and there are 5 rows, so 6 x 5 = 30.
- Check it with Select (the dashed square, or press M): drag from the hill's top left tile to its bottom right tile, and read the bar at the bottom of the screen. Point out its other numbers too: Map 40 x 14 is the whole level, 40 tiles across and 14 down.
You'll know it worked when: The bar says Picked none, selected 6 x 5, and your child can say which number is across and which is down.
- The ground is not one rectangle. Split it into four: the long piece on the left (17 across, 3 down), the piece after the water (6 by 3), the hill (6 by 5), and the piece on the right (8 by 3). Find each area, check each with Select, and add them.
You'll know it worked when: 51 + 18 + 30 + 24 = 123 tiles. The water between the pieces is not ground.
- Find another way to split the right side: one long piece 20 across and 3 down, plus the top of the hill, 6 by 2.
You'll know it worked when: 60 + 12 = 72, the same as 18 + 30 + 24. The same shape can be split more than one way.
- Move the mouse over the door at the far right and read Cell in the bar at the bottom. The first number is the column, counted from 0 at the left; the second is the row, counted from 0 at the top.
If you get stuck: If the door is off the screen, scroll right, or choose View, then Zoom Out (the - key).
You'll know it worked when: Cell says 38, 10. Your child can explain why the left piece, from column 0 to column 16, is 17 tiles wide, not 16.
- Build a castle of exactly 24 tiles from two rectangles. Plan it first and write the multiplication down, then build it in the empty sky: click a tile in the tileset on the right (the brown crate, for example), pick Box Fill (press B), and drag a rectangle on the map. Check each part with Select.
If you get stuck: Ctrl+Z undoes a rectangle that went wrong.
You'll know it worked when: Select reports each part, and the two areas add to 24, for example 4 x 4 + 4 x 2 = 16 + 8.
- The real question, without trying it: is a 3 by 8 castle the same area as a 4 by 6 castle? Why?
You'll know it worked when: Your child says both are 24 tiles, because 3 x 8 and 4 x 6 are both 24. That means they see that area is the number of squares covered, not how long the shape is.
- Ask the big question: how can you find the area of a shape without counting every square?
You'll know it worked when: Your child says it in their own words: across times down for a rectangle, and for a shape made of rectangles, add the parts, which can be split more than one way.
Talk about it
Ask these while you work together. A child who has understood the lesson can answer them without help:
- How did you find the hill's area without counting every tile?
- Select says 6 x 5. Which number is across and which is down?
- Why did you add these areas instead of multiplying them?
- The left piece runs from column 0 to column 16. Why is it 17 tiles wide, not 16?
- Without trying it: is a 3 by 8 castle the same area as a 4 by 6 castle? Why?
For younger and older kids
Younger: For a 7-year-old, count rows of equal tiles instead of multiplying (6 + 6 + 6 + 6 + 6 = 30), and build the castle from one rectangle.
Older: For older kids, find the perimeter of each ground piece as well as its area, work out how wide the level is in the game's own pixels (the bar says Tile 18 px), and what fraction of the 560 cells the ground covers (123 of 560, about 22 percent).
Keep going
- The whole level is 40 by 14 tiles. How many tiles would it take to fill every cell? (560.)
- Each tile is 18 of the game's own pixels across. How many of those pixels wide is the level? (40 x 18 = 720.)
- Build a castle of 24 tiles from three rectangles. How many different plans can you find?
Bring it into other subjects
- Art: old video game consoles stored a level as a grid of tile numbers to save memory. Design a 6 by 6 pattern on paper with only four different tiles.
- Math: a gardener has 24 square paving stones. List every rectangle they could make.
- Computer science: how does the Fill tool know which squares to fill and where to stop?
- Physical education: mark a 6 by 5 grid on the floor with tape. How many people fit, one per square?
For your records
Ready to copy into an hour log, a portfolio or a transcript.
| Lesson | Tilemap Editor: How Big Is This Level? |
|---|---|
| Subjects | Math |
| Time | 45 minutes |
| What we did | Measured a video game level built from square tiles: found the area of rectangles by multiplying across by down, and the area of a shape made of rectangles by adding the parts, checking each with the editor's Select tool. Read positions by column and row, and built a castle of exactly 24 tiles from two rectangles. |
| Skills practiced | area of rectangles by multiplying; area of shapes made of rectangles; counting columns and rows from 0; planning to an exact number |
Tilemap Editor: How Big Is This Level?
Activity sheet (optional)
Name: ______________________________ Date: ______________
Open the app: scan the QR code, or go to mytekdev.com/try/tilemapeditor?lesson=how-big-is-this-level
Essential question: How can you find the area of a shape without counting every square?
1. The hill. Counted one by one: ________ tiles. Across ____ x down ____ = ________ tiles.
2. The ground, in four rectangles. Check each one with Select (M).
| Piece | Across | Down | Area (across x down) | Select says |
|---|---|---|---|---|
| Left of the water | ||||
| After the water | ||||
| The hill | ||||
| Right of the hill | ||||
| Total |
3. Move the mouse over the door. Cell says: column ______, row ______.
- Plan it. Two rectangles that make exactly 24 tiles: ____ x ____ = ____ and ____ x ____ = ____.
- Build it. Pick a tile, choose Box Fill (B), and drag each rectangle in the sky. Check each one with Select (M).
4. How can you find the area of a shape without counting every square?
Quick check
Name: ______________________________
1. A platform is 7 tiles across and 2 tiles down. How many tiles is it? (A) 9, (B) 14, (C) 16.
2. A hill is a 5 by 3 rectangle with a 2 by 2 rectangle on top. What is its area? (A) 19, (B) 15, (C) 21.
3. A piece of ground starts at column 4 and ends at column 10. How many tiles across is it? Explain how you know.
Answers
Measured in the app on Grassy Hills. The status bar reads Map 40 x 14 and Tile 18 px. Select reports the size of the rectangle dragged over, for example Picked none, selected 6 x 5 for the hill.
| Piece | Columns | Area | Select says |
|---|---|---|---|
| Left of the water | 0 to 16, rows 11 to 13 | 17 x 3 = 51 | selected 17 x 3 |
| After the water | 20 to 25, rows 11 to 13 | 6 x 3 = 18 | selected 6 x 3 |
| The hill | 26 to 31, rows 9 to 13 | 6 x 5 = 30 | selected 6 x 5 |
| Right of the hill | 32 to 39, rows 11 to 13 | 8 x 3 = 24 | selected 8 x 3 |
| Total | 51 + 18 + 30 + 24 = 123 |
The door is at Cell 38, 10. The water between the ground pieces is 3 by 2 (6 tiles) and is not ground. Another way to split the right side: 20 by 3 (60) plus the top of the hill, 6 by 2 (12), is 72, the same as 18 + 30 + 24. Castle: any two rectangles that add to 24, for example 4 x 4 + 4 x 2, 3 x 6 + 3 x 2, or 5 x 4 + 2 x 2.
| Quick check | Answer | Why |
|---|---|---|
| 1 | B | 7 x 2 = 14. |
| 2 | A | 5 x 3 = 15 and 2 x 2 = 4; 15 + 4 = 19. |
| 3 | 7 | Columns 4, 5, 6, 7, 8, 9 and 10: 10 - 4 = 6, plus 1 for the starting column. 7 with a count or a reason is a full answer. |
If your state or umbrella school asks, this lesson covers Common Core Math 3.MD.C.6, Common Core Math 3.MD.C.7.b, Common Core Math 3.MD.C.7.d, Common Core Math 4.MD.A.3, Common Core Math 5.G.A.1, Common Core Math 3.MD.C.7a.
The Tilemap Editor is open source under the GNU General Public License 3.0. The tiles in Grassy Hills are from Kenney's Pixel Platformer pack, released under CC0.