Gumball Hour of Code – Introduction

Alphabets Sounds Video

share us on:

In the “Gumball Hour of Code – Introduction” lesson, students will learn the basics of game design using the PlayLab tool, which allows them to create their own video games by programming characters to interact and respond within a game environment. The lesson covers essential components such as storytelling, character actions, and the structure of the PlayLab interface, guiding students through the process of building their first program by connecting code blocks. By the end, participants will have developed a unique game that showcases their creativity and newfound programming skills.

Gumball Hour of Code – Introduction

Have you ever wanted to create your own video game? It’s easier than you might think! With just a few basic programming skills, you can design a game that you can play and share with others. Think about your favorite video game. Today, we’re going to learn how to make games like that using a tool called PlayLab.

Understanding Game Basics

Every good game has a story, and every story needs characters. These characters can do all sorts of things like talk, move around, and interact with each other. They might even score points based on the game’s rules. In this lesson, we’ll learn how to make characters do all these things, step by step, and eventually create a game from scratch that you can play on your phone.

Getting Started with PlayLab

When you open PlayLab, you’ll see your screen divided into three main parts:

  • Game Space: This is on the left side, where your program will run, and you’ll see your game in action.
  • Toolbox: In the middle, you’ll find blocks of code. Each block does something different, like making a character move or speak.
  • Workspace: On the right, this is where you’ll build your program by connecting the blocks together.
Building Your First Program

Let’s start with a simple task. We want our characters to say something. To do this, you’ll need to connect a “say” block to the “when run” block. Here’s how:

  1. Drag the “say” block from the toolbox to the workspace.
  2. Connect it to the “when run” block by dragging it until you see a yellow line, which means they’ll snap together.
  3. Type your message in the “say” block.

Once you’ve set up your blocks, click the run button to see your character speak. It’s that simple!

Creating Your Own Game

As you progress, you’ll learn how to add more features to your game. You can make characters interact, score points, throw objects, and even disappear. The possibilities are endless, and it’s all up to your imagination!

By the end of this lesson, you’ll have created your very own game with unique characters and exciting interactions. Get ready to have fun and unleash your creativity!

  1. Reflect on your favorite video game. What elements from that game would you like to incorporate into your own creation using PlayLab?
  2. How do you think the storytelling aspect of a game influences its overall experience for the player?
  3. What challenges do you anticipate facing when designing characters that can interact and score points in your game?
  4. Describe your initial experience with using PlayLab. What did you find intuitive, and what aspects were more challenging?
  5. How does the process of connecting code blocks in PlayLab compare to other programming experiences you may have had?
  6. What creative ideas do you have for making your game unique and engaging for players?
  7. In what ways do you think learning to create games can enhance your problem-solving skills?
  8. After completing the lesson, what new insights or skills have you gained that you can apply to future projects?
  1. Design Your Game Story

    Think about your favorite video game. What makes it exciting? Now, create your own game story! Write a short paragraph describing the main character, the setting, and the goal of your game. Share your story with a classmate and discuss how you can bring it to life using PlayLab.

  2. Character Creation Challenge

    Using PlayLab, create a new character for your game. Decide what your character will look like and what actions they can perform. Experiment with different blocks in the toolbox to make your character move, speak, or interact with other characters. Show your creation to the class and explain how it fits into your game story.

  3. Block Coding Relay

    Form small groups and take turns adding blocks to a shared workspace in PlayLab. Each student adds one block to the program, building on what the previous student has done. Your goal is to create a simple game where characters interact and score points. Once finished, play the game together and discuss what each block does.

  4. Game Testing and Feedback

    Create a simple game using PlayLab and invite a classmate to play it. Ask them to provide feedback on what they enjoyed and what could be improved. Use their suggestions to make changes and enhance your game. This will help you understand how to make your game more fun and engaging for others.

  5. Game Showcase

    Prepare a short presentation about your game. Explain the story, characters, and how the game is played. Demonstrate your game to the class and highlight any unique features you included. After your presentation, answer questions from your classmates and discuss what you learned from creating your game.

Here’s a sanitized version of the transcript:

If you’d like to create your own game, it’s quite simple. All you need are a few basics of programming, and you can start playing a game that you designed. Do you have a favorite video game? We’re going to take a step toward creating games similar to that in PlayLab. Good games have a story, and every story has characters. Characters that do things like speak, move, and interact with each other, maybe even score points based on the rules of the game. Today, we’ll learn how to do all these things one by one with fun characters and then build a game from scratch that can be shared and played on a phone.

Your screen is divided into three main parts. On the left is the game space where your program will run. The instructions for each level are written below. The middle area is the toolbox, and each of these blocks is a piece of code. The white space on the right is called the workspace, and this is where we’ll build our program. To start off, you’ll need to link your blocks to the “when run” block. You can link multiple blocks together by dragging them out until you see a yellow line, and then they’ll snap together.

In this first puzzle, we’ll make the characters say something by linking the say block to the “when run” block and typing in your message. Once you have your blocks in place, hit the run button to see what you programmed. Get started, and by the end, you’ll be able to create your own game with all kinds of characters that can interact, score points, throw things, and disappear. It’s all up to you!

This version maintains the original meaning while removing any informal language and ensuring clarity.

CodingThe process of writing instructions for a computer to follow. – I learned coding to make my own video game.

GameAn interactive activity or program designed for fun and entertainment. – We created a simple game in class using coding blocks.

CharactersThe people, animals, or objects that take part in a story or game. – I added new characters to my game to make it more exciting.

PlaylabA platform or environment where you can create and experiment with games and animations. – In Playlab, I designed a fun animation with my favorite characters.

ProgramA set of instructions that a computer follows to perform a task. – We wrote a program to make the robot move in a square.

ToolboxA collection of tools or commands that you can use to build or modify a program. – I used the toolbox to find the blocks I needed for my coding project.

WorkspaceThe area where you arrange and connect coding blocks to create a program. – My workspace was filled with colorful blocks as I worked on my game.

SayA command used in coding to make a character speak or display text. – I used the “say” block to make the character greet the player.

RunTo start or execute a program so that it performs its tasks. – I clicked the run button to see if my code worked correctly.

CreateTo make something new using your skills and imagination. – I love to create new levels for my game using coding.

All Video Lessons

Login your account

Please login your account to get started.

Don't have an account?

Register your account

Please sign up your account to get started.

Already have an account?