Gumball Hour of Code – Introduction

Gumball Hour of Code – Introduction


If you’d like to make your own game, it’s
really easy. All you need are just a few basics of programming and you can start playing a
game that you created. Do you have a favorite video game? We’re going to take one step toward
creating games just like that in PlayLab. Good games have a story and every story has
actors. Actors 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 be learning how to do all these
things one by one with fun actors and then build a game from scratch that can be shared
and played on a phone. Your screen is split into three main parts. On the left is the
gamespace where your program will run. The instructions for each level are written below.
This middle area is the tool box and each of these blocks is a piece of code. The white
space on the right is called the work space and this is where we’ll build our program.
To start off, you’ll need to link your blocks to the orange when run block. You can link
multiple blocks together by dragging them out until you see the yellow line and then
they’ll snap together. In this first puzzle, we’ll make the actors 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 players that can interact, score points,
throw things, and vanish each other. It’s all up to you!

Only registered users can comment.

Leave a Reply

Your email address will not be published. Required fields are marked *