Ejercicio 1 de 9
Descripción general

Nice to Meet You, Oliver.

It's going to be an exciting night! We are going to learn how to build an AI-based game to move Oliver, the owl, between obstacles and get to the end of the route.

The player will use different postures to change the size of the owl so it can go below or over tiles.
This is the game you will create at the end of course:

A Loop block repeats the blocks inside it over and over for as long as the game runs.

The Step block makes the Owl move.

  • The number in the step block defines how far the sprite moves.

1AvanzarBucleAl ejecutar
Instrucciones
Let's start with moving Oliver.
  • Drag a Step block from the Movement library
    • Attach it to the On Run block
Click on RUN! and see what happens.
  • Click on Stop
Oliver barely moved! We will now make Oliver keep on moving.
  1. Remove the Step block from the On Run block.
  2. Drag a Loop block from the Control library
    • Attach it to the On Run block
  3. Drag a Step block from the Movement library
    • Attach it inside the Loop block
Click on RUN! and see that the owl is moving forward.
  • Does the owl stop? Why?

¡Gran trabajo!

Siguiente
Oliver
Al ejecutar1Avanzar1SaltarObtener xObtener y300Establecer x200Establecer y0Cambia el valor de x en0Cambia el valor de y enObtener rotación0Establecer rotación0Cambia la rotación en1Establecer velocidadPermitir gravedadtrueObtener distancia deOliverDeOliverobtenerx
Agregar nuevo
Oliver
Duplicar
Eliminar
Agregar nuevo
Agregar nuevo
Configuración del juego
Fondo
starry_night | Change
Objetivo de la cámara:
Ancho del mundo:
Altura del mundo:
Gravedad:
Física: