Balloon Shot

by angasailakshmi in Living > Toys & Games

14 Views, 0 Favorites, 0 Comments

Balloon Shot

ChatGPT Image Sep 25, 2026, 10_39_05 AM.png

The Balloon Shot Game is a fun and interactive game designed using Scratch. In this game, the player controls a shooter and tries to pop the balloons appearing on the screen. Whenever the player successfully hits a balloon, the score increases.

The game helps students learn basic programming concepts such as events, loops, variables, conditions, coordinates, and sprite interactions. It also encourages creativity and problem-solving skills by allowing students to design their own characters, backgrounds, and game levels.

This project is a simple way for beginners to understand how coding can be used to create an engaging and interactive game.

Supplies

  1. Pictoblox Software: Download PictoBlox | Windows, MacOS, Linux, Chromebook, Android & iOS
  2. Laptop/PC
  3. Speaker or Headphones


Step by Step Block Code Guide

Screenshot 2026-09-25 100401.png
Screenshot 2026-09-25 100503.png
Screenshot 2026-09-25 100422.png
Screenshot 2026-09-25 100412.png
Screenshot 2026-09-25 100405.png
Screenshot 2026-09-25 100409.png
Screenshot 2026-09-25 100447.png

Step 1: Balloon Movement Script

This script controls the balloon's continuous movement and checks the game conditions.

1. Start the game

Block: when green flag clicked

  1. The script starts when the player clicks the Green Flag.
  2. This begins the balloon movement.

2. Move the balloon continuously

Block: forever

  1. The blocks inside this loop run continuously throughout the game.

3. Move the balloon

Block: move (Speed) steps

  1. The balloon moves forward by the value stored in the Speed variable.
  2. As the Speed increases, the balloon moves faster.

4. Check if the balloon goes off-screen

Block: if <x position > 240> then

  1. This checks whether the balloon has moved beyond the right edge of the stage.
  2. If its x position is greater than 240, it is considered a missed shot.

5. Return the balloon to the starting position

Block: broadcast [Move to initial position]

  1. A message is sent to move the balloon back to its starting position.
  2. This allows the game to continue with another balloon.

6. Increase missed shots

Block: change [missed shots] by 1

  1. Every time the balloon reaches the edge without being clicked, the missed shots variable increases by 1.

7. Check for three missed shots

Block: if <missed shots = 3> then

  1. The game checks whether the player has missed 3 balloons.

8. Display Game Over

Blocks:

  1. switch backdrop to [Stars]
  2. stop [all]
  3. When the player misses 3 balloons, the background changes to the Stars backdrop.
  4. The game then stops completely.

9. Check the score

Block: if <Score = 5> then

  1. The game checks whether the player has successfully popped 5 balloons.

10. Display the winning screen

Blocks:

  1. hide
  2. switch backdrop to [Blue Sky 2]
  3. stop [all]
  4. When the score reaches 5:
  5. The balloon is hidden.
  6. The background changes to Blue Sky 2.
  7. The game stops because the player has completed the target.

Step 2: Balloon Click Script

This script runs whenever the player clicks the balloon.

1. Detect balloon click

Block: when this sprite clicked

  1. The script starts whenever the player clicks the balloon.

2. Change the balloon costume

Block: switch costume to [balloon1-b]

  1. The balloon changes its appearance after being clicked.
  2. This gives visual feedback to the player.

3. Play a sound

Block: play sound [Drip Drop] until done

  1. A sound effect plays when the balloon is successfully hit.

4. Increase the score

Block: change [Score] by 1

  1. The player's score increases by 1 for every successful balloon shot.

5. Increase the speed

Block: change [Speed] by 0.2

  1. The balloon becomes slightly faster after every successful hit.
  2. This makes the game progressively more challenging.

6. Set rotation style

Block: set rotation style [all around]

  1. The balloon is allowed to rotate freely when its direction changes.

7. Point the balloon downward

Block: point in direction 180

  1. The balloon is pointed downward before returning to its initial position.

8. Move the balloon back

Block: glide 1 secs to x: [x position] y: [-170]

  1. The balloon smoothly glides to the bottom of the stage.
  2. It keeps its current x position and moves to y = -170.

9. Reset the balloon

Block: broadcast [Move to initial position]

  1. A broadcast message tells the other script to move the balloon back into position.
  2. The next balloon shot can then begin.

🎮 Game Logic

Click Balloon → Score +1 → Speed increases → Balloon resets

If the player misses 3 balloons → Game Over

If the player reaches Score = 5 → Game Won

Applications of Balloon Shot Game

Entertainment: Provides a fun and interactive gaming experience.

Learning Through Games: Helps students understand basic programming concepts through gameplay.

Hand-Eye Coordination: Improves clicking accuracy and coordination.

Reaction Speed: Encourages players to respond quickly to moving or appearing balloons.

Score-Based Learning: Introduces concepts such as scoring, counting, and game levels.

Programming Practice: Helps learners practice sprites, events, variables, conditions, and timers in Scratch/PictoBlox.

Classroom Activity: Can be used as a simple interactive activity for students learning coding.

Game Design: Helps students understand the basic principles of designing and developing computer games.

Conclusion

ballon shot

Conclusion

The Balloon Shot Game is a fun and interactive project that helps students learn basic programming concepts through game development. By creating this game, students can understand how to use sprites, events, scoring, and variables in Scratch or PictoBlox. It also encourages creativity, logical thinking, hand-eye coordination, and problem-solving skills. Overall, this project provides an enjoyable way to learn coding while developing a simple and engaging game.