Burstin’ Balloons

A page for Educators & Parents

The Burstin’ Balloons skillmap introduces simple game design and computer science concepts through the creation of a competetive balloon bursting game.

In this set of activities, students will create a simple clicker with MakeCode Arcade. This map is intended for students who are new to MakeCode with little previous coding experience.

Designed for students between the ages of 10 & 15, this experience contains a total of 3 main tutorials (approximating 50 minutes of instruction) and one optional tutorial (approximating 30 minutes of instruction). At the end of level 3, students receive a certificate of completion and a badge.

Minutes* Key Concepts
Create a Clicker 15 events, pints, timer
Burst Your Balloon 15 sprites, scale, events
Pump it Up 20 animation, events
Two Player Party 30 review

* Minutes are approximate, based on time to follow instructions as written. Providing extra time for creativity and debugging is encouraged. Note that intermediate users and older students are likely to move through nearly twice as fast.

Objectives

After completing Burstin’ Balloons, students will have gained exposure to all the elements they need to successfully create their own clicker game using MakeCode Arcade.

Specifically, they will experience the following topics:

Computer Science Concepts

  • Events and program control flow
  • User input
  • Variables

Game Design Concepts

  • Sprites
  • Scaling
  • Game Score
  • Win/Loss Criteria
  • Animation

1. Create a Clicker

Activity Create a Clicker (15 min)
Create a Clicker thumbnail Learn to use MakeCode Arcade and create a simple clicker game.
Blocks used [controller.A.onEvent(ControllerButtonEvent.Pressed, function () {})]
[info.startCountdown(10)]
[info.player1.changeScoreBy(1)]
Solution option Create a Clicker Project

2. Burst Your Balloon

Activity Burst Your Balloon (15 min)
Burst Your Balloon thumbnail Add a balloon that inflates as you click! You’ll be shocked to see how full it gets before time runs out.
Blocks used [scene.setBackgroundColor(1)]
[let mySprite = sprites.create(img`.`, SpriteKind.Player)]
[let myMouse: Sprite = null; myMouse.setPosition(50, 93)]
[scaling.scaleByPixels(mySprite, 1, ScaleDirection.Uniformly, ScaleAnchor.Bottom)]
[sprites.onOverlap(SpriteKind.Player, SpriteKind.Player, function (sprite, otherSprite) {})]
[game.over(true)]
Solution option Burst Your Balloon Project

3. Pump it Up

Activity Pump it Up (20 min)
Pump it Up thumbnail Add a carnival character to pump up your balloon! Can you beat the clock?
Blocks used [controller.A.onEvent(ControllerButtonEvent.Released, function () {})]
[let myMouse: Sprite = null; myMouse.setImage(img`.`)]
Solution option Pump it Up Project

4. Two Player Party

Activity Two Player Party (30 min)
Two Player Party thumbnail Remove your timer and add a second player to create a real-life competition!
Blocks used [controller.B.onEvent(ControllerButtonEvent.Pressed, function () {})]
[controller.B.onEvent(ControllerButtonEvent.Released, function () {})]
[info.player2.changeScoreBy(1)]
Solution option Two Player Party Project
Game Mod Ideas

After students complete Burstin’ Balloons they can head back to the skillmap and click “SAVE TO MY PROJECTS”, which will open the game in a window with a full-featured toolbox. Here are some modifications they can try:

  • Change the animals pumping up the balloons to something new.
  • Make the balloons get bigger even faster for a quicker game.
  • Add a sound-effect each time the balloon gets bigger.

What’s Next?

After completing Burstin’ Balloons, students can move on to the following activities:

simple-blocks=github:microsoft/arcade-tutorial-extensions/simple-blocks/
arcade-text=github:microsoft/arcade-text/
pxt-sprite-scaling=github:microsoft/pxt-common-packages/libs/sprite-scaling