Menú:

miércoles, 10 de mayo de 2023

Grado 4º y 5º - Sprites mBlock

Sprites in mBlock

 Grago 4º y Grado 5º

A sprite is a graphic resource (an image) from mBlock that you can edit, program, and communicate with other sprites and devices.what sprites are, how they work, and how to edit and program them in mBlock.

1. Adding a Sprite
 
2. Editing a Sprite — Changing a Sprite Appearance

3. Adding Other Sprites in mBlock

4. Movement — Moving a Sprite with the Keyboard
 
Automatic Program — Example
1) Add two sprites, one from the Sprite Library in mBlock, and draw the second one.
2) Place each sprite on one side of the stage, as shown in the video tutorial. 
3) Name the sprites Sprite 1 and Sprite 2.  
4) Create an automatic movement program that makes Sprite 1 move towards Sprite 2. 
5) Test the program in mBlock.

Manual Program — Example 
1)Add two sprites, one from the Sprite Library in mBlock, and draw the second one. 
2)Place each sprite on one side of the stage, as shown in the video tutorial.
3)Name the sprites Sprite 1 and Sprite 2. 
4)Create a program that makes Sprite 1 move in four directions towards Sprite 2, using the keyboard.

Extra
From now until Session 18, you will make a video game in the Extra Time section. The topic will be cleaning up the ocean.
 
Creating an mBlock Account

Customizing Sprites
 

No hay comentarios:

Publicar un comentario