Activa JavaScript para disfrutar de los vídeos de la Mediateca.
12 Operations - Contenido educativo
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:
in this tutorial we are going to
00:00:00
be learning how to use variables first
00:00:01
we need to go to variables a man
00:00:04
maker variable we're going to call the
00:00:06
variable celsius here you can see the variable
00:00:08
appears on the stage if you want
00:00:12
to remove it then uncheck for
00:00:14
to start we are going to drag
00:00:17
when flag
00:00:19
clicked start the script next we go
00:00:20
back to variables and we're going to
00:00:22
select set celcius to zero to start
00:00:24
off
00:00:27
then go to looks so that we
00:00:28
make the script say something in this
00:00:30
example we want the script to say
00:00:34
hello i am a cool metric cat
00:00:37
i can convert from fahrenheit to celsius
00:00:44
next we want the script to
00:01:03
ask something to go down to sensing
00:01:06
and then choose ask and
00:01:09
and we want to ask
00:01:12
please enter a temperature in fahrenheit
00:01:15
remember when we asked something a dialog
00:01:20
box is going to appear on whatever
00:01:23
the person types in will become the
00:01:25
answer
00:01:28
for the next step we need
00:01:33
to do some calculations to change the
00:01:36
temperature from fahrenheit to celsius you need
00:01:39
to subtract thirty two then multiply by
00:01:41
five over nine so go to operators
00:01:44
and select the subtract and then the
00:01:47
multiply
00:01:49
first we select whatever the answer was
00:01:51
and next we're going to add thirty
00:01:54
two then add this into the next
00:01:56
box and multiply by zero point five
00:02:00
five five five five five a bunch
00:02:03
of fives and six this is the
00:02:05
same as fiver the nine
00:02:06
next we need to go back to
00:02:10
variables and select set celsius to and
00:02:12
i'm going to set celsius to this
00:02:16
equation
00:02:19
finally we want the script to tell
00:02:21
us the answer so we need to
00:02:24
say hello
00:02:26
now we want to say a few
00:02:28
different things so if you go to
00:02:29
operators you can select the box join
00:02:31
here in the first box we can
00:02:35
write ah yes that would be
00:02:37
and then in the next box we
00:02:43
need to put the variable celsius so
00:02:45
go back to variables select celsius and
00:02:47
add it to the box
00:02:50
if we want to add more information
00:02:53
we can use another joined box at
00:02:54
the first box into the second box
00:02:57
and at the end we want to
00:03:00
add degrees celsius
00:03:01
next add this into the say hello
00:03:12
the two seconds we want to change this
00:03:14
so it sounds a little bit longer
00:03:17
and here you can see he asking us
00:03:19
for a temperature i'm gonna say one
00:03:22
hundred and here it tells us the
00:03:24
degrees in celsius
00:03:26
- Idioma/s:
- Autor/es:
- David Gonzalez Arroyo
- Subido por:
- David G.
- Licencia:
- Reconocimiento - No comercial - Compartir igual
- Visualizaciones:
- 252
- Fecha:
- 22 de febrero de 2021 - 14:50
- Visibilidad:
- Público
- Centro:
- IES MARIE CURIE Loeches
- Duración:
- 03′ 31″
- Relación de aspecto:
- 1.78:1
- Resolución:
- 1280x720 píxeles
- Tamaño:
- 28.24 MBytes