Makecode Arcade
Intermediate
50 mins
Teacher/Student led
+55 XP

Start and Build a Makecode Arcade Game

Pupils create a MakeCode Arcade project, add and design a character sprite, program it to move under player control and keep it on the screen, running the game as they build.

Teacher Class Feed

Load previous activity

    1 - What We're Building ~5 mins

    Illustration for What we're buildingEvery game you've ever played started as a plan in a programmer's head — a list of steps, or an algorithm, for what should happen on screen. Game makers decide things like What is the hero? How does it move? How does the player score? before they write a single block.

    Today you become that game maker. We're going to plan a simple catching game and then build a first working version in MakeCode Arcade: a character you can create, design and move around the screen. Watch the board first, then build it yourself and run it to see your code come to life.

    2 - What Is Makecode Arcade? ~2 mins

    MakeCode Arcade is a fun and easy-to-use tool that lets us create our own arcade games. It's like a digital playground where we can build and play games right in our web browser.

    With MakeCode, we can use colourful blocks to build our games, just like Scratch.

    If you have a small handheld gaming computer like the BrainPad or GameGo, you can even put the games you make onto it and play them anywhere!


    3 - The Code Editor ~3 mins

    Illustration for The Code EditorImagine the MakeCode Arcade code editor as a magical toolbox. It's a lot like the Microbit and Scratch editors you might have used before. Here's what it has:

    1. A simulator, which is like a mini TV screen where you can watch your code come to life and play the games you create.
    2. A toolbox, which is like a chest full of different code blocks. These blocks are sorted into groups so you can easily find what you need.
    3. A code area, which is like your construction site. This is where you build your code.

    4 - Create a New Arcade Project ~2 mins

    Let's create our first project!

    Go to the Arcade MakeCode website and create a new project. You can call your project anything you want!

    arcade.makecode.com


    5 - Create a Sprite ~5 mins

    Let's create a sprite for our game. Add the following code:

    let mySprite = sprites.create(img`
        . . . . . . . . . . . . . . . . 
        . . . . . . . . . . . . . . . . 
        . . . . . . . . . . . . . . . . 
        . . . . . . . . . . . . . . . . 
        . . . . . . . . . . . . . . . . 
        . . . . . . . . . . . . . . . . 
        . . . . . . . . . . . . . . . . 
        . . . . . . . . . . . . . . . . 
        . . . . . . . . . . . . . . . . 
        . . . . . . . . . . . . . . . . 
        . . . . . . . . . . . . . . . . 
        . . . . . . . . . . . . . . . . 
        . . . . . . . . . . . . . . . . 
        . . . . . . . . . . . . . . . . 
        . . . . . . . . . . . . . . . . 
        . . . . . . . . . . . . . . . . 
        `, SpriteKind.Player)
    
    

    Pupil practice · Investigation Journal
    Module 4 · Technology: IPO, Algorithms, Makecode Arcade and Micro:bit
    Lesson 25 · Start and Build a Makecode Arcade Game
    123learn · Online learning platform

    Unlock the full learning experience

    You're previewing this lesson. Get full access to this lesson and hundreds more — each one ready to teach, with interactive activities, printable resources and pupil progress tracking built in.

    Hundreds of curriculum-aligned lessons
    Interactive activities in every lesson
    Printable resources & progress tracking
    Copyright Notice
    This lesson is copyright of Coding Ireland 2017 - 2025. Unauthorised use, copying or distribution is not allowed.
    🍪 Our website uses cookies to make your browsing experience better. By using our website you agree to our use of cookies. Learn more