In this unit you will be asked to be do more by yourself! 

Interaction

The first activity is about interactions between objects. How can objects communicate to each other and synchronize their actions? These questions are answered here.


Tasks of this activity:

  1. Watch the video above.
  2. Create a program where you use the bricks broadcast and When I receive at least once.

Scenes

The next activity adresses the possibility of storytelling in Pocket Code. With the background object you can easily control the scenes of your story or the levels of your game. 


Tasks of this activity:

  1. Watch the video above.
  2. Create a program where you use the brick broadcast and wait in the background object to control at least two scenes of your story or levels of your game.

Dependencies

Sometimes we want our objects to do something when a certain event occurs. In other words if something specific happens our object should behave in a certain way; it is depending on this event. In this activity it's your turn to create a project where you have at least one object which is depending on something.

In the following activity overview video, we show you some examples of objects which are dependend on something. Moreover we will also show how you can achieve this in Pocket Code, which you will need in order to create your own project.


Tasks of this activity:

  1. Watch the video above.
  2. Create a program where you use the brick if _ is true then at least on time to create dependencies in your program flow.

Be a debugger

In this activity you have to find bugs in some programs again. These bugs are common mistakes that may occur while using broadcasting and if-elseĀ bricks. Watch the video and go through this activity!


Tasks for this activity:

  1. Watch the video above.
  2. Download these programs and search for the bug.
  3. Be fair and solve the bug before you look at the solutions.