11. Digital story

Digital story

In this exercise we will create a digital story with two Minions in the lead. The digital story must start when the green flag is clicked.

Try to recreate the story as best you can. Later you will have the opportunity to write your own story and program it afterwards.

THE STORY

Bob sees a bunch of bananas hanging in the tree. Dave loves bananas and would love the bunch for him alone. They have a fight. They decide to organize a competition: whoever can pick the bananas first, wins. Dave is the first to reach the bananas. But then Bob comes up with a plan: he steals the bananas in front of Bob.

Register before you start the exercise. Click the button below and sign up.

Click here

ORIENTATE

Take a look at the example and consider the following questions:

  • What should I do?
  • What are the goals?
  • What are the expectations?
  • What can I already do?
  • What do I still have to discover?

PREPARATION

View the steps under 'perform'. Then answer the following questions:

  • Which steps should I follow?
  • Which steps can I follow?
  • How much time do I need?
  • What tools do I need?

PERFORM

Perform the steps one by one. Do you not remember how to do it? View the hints or download the solution.

STEP 1

We start with the initial background. It looks like this in the example:

beginachtergrond

Of course you can let your creativity run wild here. Name this background "begin".
You add the title by using this icon:

1

You already learned to change colors in previous exercises.

The initial background should appear when the green flag is pressed. You can program this yourself.

STEP 2

We will create a new background: the "tree" background. It should look something like this:

achtergrondboom

If you look closely, you can see that the background "blue sky" has been used. You still have to draw the tree yourself. Just try! You can also design the background yourself or search for an image via eg Google.

This background should appear about a second after background "start". How could you program this, do you think?

STEP 3

It's time to add the Minions in Scratch. Search via eg Google two Minions whose background is preferably transparent. Then you don't have to remove the background yourself afterwards. Adjust the size. You can also hang the bunch of bananas in the trees.

STEP 4

Note: during this step we program the Minions alternately. "B" now stands for the right Minion Bob. "D" is short for Dave, the left Minion.

B: 4

Now program Dave so that he too appears when the background changes to "tree". It must of course be on the other side of the tree (so have different x and y values). After this, schedule a two-second wait. Finally, have Dave say "It's mine!" say for 2 seconds.

Both Minions now have to move to the banana bunch at the same time, but they collide along the way. Program both Minions with the same x and y values. Play a sound when the collision occurs. Then both Minions return to their original places (approximately) and make it clear that they got hurt ("Ow!"). Bob says, "That banana is mine." Because the texts must appear consecutively, a pause of 2 seconds is inserted for both. Finally, Dave replies, "I don't think so!".

STEP 5

Create a new background "US". It looks like this in the example:

vs

STEP 6

Move both Minions to the height of the red letters. Basically you only have to adjust the y-values ​​(then the sprite moves up).

STEP 7

Record the message "Dave VS Bob" in an exciting way and let this sound play while the background "VS" is visible. You can record and insert a message with the following buttons:

8

9

STEP 8

The background should change back to the background "tree" after 2 seconds. Make a copy of the background tree and name it "tree2", because a program has already been made on "tree".
Now write a program so that the "US" background changes to "tree2".

STEP 9

When the background is changed to "tree2", the Minions must return to their original place. Change the y-values ​​again on both Minions.

STEP 10

Have Dave say (time: 2sec.), "Okay, whoever gets to the tree first ..." Bob says "Go!" Attention: the texts do not appear at the same time! Both (Bob and Dave) move simultaneously to the bunch of bananas. When Dave has reached the truss, Bob is not yet that high. Dave says, "Haha!" And immediately after that, "That banana is mine now!" Bob comes up with a plan and thinks to himself "Hmm". Suddenly he moves to the bunch of bananas and takes the bunch of bananas to its original place on the ground. He laughs "Ha ha ha."

(If you want, you can insert a sneaky laugh as a sound the moment Bob steals the bunch of bananas.) [See light purple box at next 'hint'.]

STEP 11

Start a new script with Bob:

12

We have the sprite "Dave" respond to the signal:

13

STEP 12

Not once instructions were given about the code accompanying the banana. Do you know how to program this yourself ?

uitdaging

A lot of work, but also… what a nice result! Now make your own movie that starts when the green flag is clicked. You can choose the sprite (s), the backgrounds and the 'story' yourself.

You're using:

  • At least 2 sprites
  • At least 1 appearance that changes
  • You let your sprites move and enter into a dialogue with each other.
  • You have one of the sprites ask at least 2 things to the user and you use the information provided in your story (for example: the name / age of the user, ...)
  • You ensure that your story lasts at least 1 minute.

But of course you can do more!

First think briefly about your story: what do you want to program? What is your story about? Write it down in order to be able to get started structurally.

goed gedaan    

Well done!

REFLECT

Look back at the project you just made. Ask yourself the following questions:

  • Does the program work as I expected? Why / why not?
  • What works well?
  • What works less well?
  • How can I approach it differently?

Download

Click on the link below to download a sample solution.

 

Upload the project in Scratch. Click the button below and follow the steps.

Click here