4. Walk scenarios

In this practice we are going to program a character who is going to tour his house and his neighborhood to show us what they are like.

_images/scratch3-p03-paseando.en.png


  1. We start the Scratch editor.


  2. Press the language button boton-idioma in the top bar and choose English.


  3. Press the tutorial button boton-tutoriales and then the "Art" button.

    We select the tutorial "Add a backdrop" and we visualize it.

    In this tutorial we will see the basic operation of the program.


  4. We delete the cat object by clicking on the trash can icon.

    borrar-gato


  5. Then we are going to select a new character by pressing select object seleccionar-objeto and then in the people tab we choose the character that we like the most.


  6. Next we are going to select the funds that the character is going to show us. Click on select backdrop seleccionar-fondo and in the interior tab we look for the bedroom "Bedroom 3" and select it.

    Then we select backdrop again seleccionar-fondo and in the outdoor tab we look for the "Garden-rock" garden and select it.

    If we now click on the funds tab pestania-fondos We can see all the funds that we have chosen up to now.


  7. Now we are going to program the character to show us his bedroom. To do this we must first select the character.

    Once selected, we go to the code tab pestania-codigo and program the following instructions.

    First we add the instruction to change the current backdrop to "Bedroom 3" instruccion-cambiafondo.

    We move the character to the starting position at one end of the screen and add the command go to instruccion-iraxy.

    We move the character to the position in the middle of the screen and add the slide command instruccion-deslizarxy.

    Now we add the command say instruccion-decir with the message "This is the bedroom", for 2 seconds".

    Finally we move the character to the other end of the screen and we choose the swipe instruction instruccion-deslizarxy again.

    Now we complete the program:

    _images/scratch3-p03-mostrar-dormitorio.en.png


  8. Press the green flag bandera-verde to test the operation of the program.


  9. Once you have shown us the bedroom, we are going to show you the garden. We continue the program with the following instructions following the same pattern that we followed for the bedroom.

    _images/scratch3-p03-mostrar-jardin.en.png


  10. Press the green flag bandera-verde to test the operation of the program.


Challenges

  1. Modify the program so that the character visits and explains other places in his house and in his neighborhood.

    You can download images from the Internet and add them as new scenes in the upload a backdrop section.

    _images/scratch3-boton-cargar-fondo.en.png


  2. Have the main character meet a secondary character in some setting. Remember to use the command "send message" at the right time for the secondary character to appear.

    The secondary character must be programmed with the following instructions in order for it to appear in the correct scenario.

    _images/scratch3-p03-nuevo-personaje.en.png


  3. Add sounds at the beginning of each of the scenarios.