Activa JavaScript para disfrutar de los vídeos de la Mediateca.
clue about p7
Ajuste de pantallaEl ajuste de pantalla se aprecia al ver el vídeo en pantalla completa. Elige la presentación que más te guste:
clue about p7
Hello, good morning boys and girls. I'm going to give you a short tutorial about
00:00:00
Practical 7, the one that is the Virtual Lies. Ok, so the first thing that
00:00:05
appears in your book is to create the backdrop, so we press here in a new
00:00:14
backdrop from the library and we look for light for light and that's it this
00:00:23
is our backdrop number two and now we need we are in book page 14 and we are
00:00:31
in item number three and we want to create a star so we press here and we
00:00:39
choose a sprite that is going to be a star so far is easy okay we remove the cat because we don't
00:00:47
need it and the the difficult part is the new concept of the variable variable in your books
00:00:57
in the book it says that you have to create the numbers box we have to create a variable we select
00:01:06
the data category we don't have data category in this version we have the variable category so we
00:01:15
press here in variable and we click on make a variable okay and the name of the variable
00:01:21
is numbers so the name is numbers
00:01:30
so we have created a variable a variable is like an empty box where n in this value
00:01:35
could be any number okay is similar to our X in maths similar a like is the
00:01:46
mathematics is not variable and okay now we are going to create the program and the idea
00:01:54
is that when we press the star a different number is going to appear here as a virtual dice okay
00:02:04
and but the number is going to be from one to six not any number any number from one to six
00:02:11
so um good so we're going to start the program and the program is going to start when we click
00:02:19
on the sprite so when we click on the sprite we want to now we want we go to sorry two variables
00:02:28
okay we set our variable that is not my variable is the variable called number at the beginning
00:02:38
numbers has to be zero but every time we click on the sprite it has to change the variable
00:02:48
the value of the variable by one but it has to be a variable a random random is
00:02:56
aleatorio from one to six random from one to six good and what's going to
00:03:08
happen and we go to control if okay and we duplicate it because we are going to
00:03:17
use it many times in fact we have six different loops in the first one okay if
00:03:28
numbers is equal to one so for equal we have to go to operators if numbers in
00:03:35
here in sorry in variables if numbers is equal to one then say I'm equal to one
00:03:45
for example say one for two seconds or that is equal to one for two seconds by
00:04:00
duplicated by duplicated so if numbers is equal to one even numbers oh I'm
00:04:16
sorry if even numbers is equal to one say die is equal to one if numbers is
00:04:33
equal to 2, say die is equal to 2. And if, duplicate, if numbers is equal to 3, say
00:04:45
die is equal to 3 for 2 seconds. Let's see if it works. Okay, die is equal to 1.
00:05:01
It doesn't tell us anything because we haven't completed the program.
00:05:13
You have to complete it.
00:05:17
Three.
00:05:19
And that's it.
00:05:20
This is just a clue to know how it works.
00:05:22
- Autor/es:
- VICTORINO MARTIN SANTAMARIA
- Subido por:
- Victorino M.
- Licencia:
- Reconocimiento - No comercial - Compartir igual
- Visualizaciones:
- 19
- Fecha:
- 18 de marzo de 2020 - 8:35
- Visibilidad:
- Público
- Centro:
- IES CALATALIFA
- Duración:
- 05′ 27″
- Relación de aspecto:
- 1.37:1
- Resolución:
- 1270x928 píxeles
- Tamaño:
- 11.36 MBytes