Activa JavaScript para disfrutar de los vídeos de la Mediateca.
CHANGES OF STATE WITH SCRACHT (KEEP GOING..) - 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:
CHANGES OF STATE WITH SCRACHT (KEEP GOING..)
Hi everyone, we are going to continue with the Scratch project. First we are going to open again
00:00:00
Scratch. We are going to close these two things that we don't need as we did before and we are
00:00:06
going to upload the project that we saved before. There it is and there we are going to have what we
00:00:12
did previously. The two characters and the code for the red and the blue spot. Now we are going to do
00:00:21
do the difficult part which is to program the code to make the matter in
00:00:27
this case water change to liquid solid or gas depending on the temperature okay
00:00:34
the first that the first thing that we are going to do as we did before is to
00:00:41
start with when we click on the green flag forever and inside forever we put
00:00:45
conditionals if and we are going to do first is to say to the red point that if
00:00:57
we touch it it has to increase temperature and to the red to the blue
00:01:08
point that if we touch it it has to decrease temperature so this is if
00:01:13
touching color blue and to get exactly this color we have to do it like this if
00:01:21
touching color blue it change
00:01:33
variable that we have to create to minus one because we want to decrease
00:01:41
temperature. First we are going to create a variable that is going to cool
00:01:52
temperature only for this object so change my temperature by minus one and
00:01:58
And then again, if touching color red, and to get exactly the same color, first we click on red. And we look for it. If touching color red, again, change my variable, which is temperature, to plus one.
00:02:08
okay that's for the colors to increase and decrease temperature then what we want to do
00:02:36
is to say to the program that if the temperature is lower than zero it has to be ice solid if
00:02:43
temperature is more than 100 degrees it has to be gas in this case the cloud and if the temperature
00:02:52
is between 0 and 100 it has to be liquid, a drop of water. So if we are going to say
00:03:00
again if temperature is less than zero and then we are going to say if temperature is
00:03:10
less than zero, then it changes or switches to costume solid, the ice cubes.
00:03:30
And again, if, we have to put it there, if, we need another operator, if temperature is
00:03:40
more than 100 I want to switch my costume to gas the cloud and finally we
00:03:59
are going to say that if and we need two operators here so if first temperature
00:04:12
is more than zero and less than 100 so this is more than zero and less than 100
00:04:24
the temperature in both gaps it has to change to costume water okay drop of water so we are going
00:04:41
to see that if it touches you see it increases temperature and it changes to well if we make
00:04:59
it bigger we can see it better now it's color blue and if we touch the cloud it
00:05:06
should decrease temperature and it happens because it's less than 100 it
00:05:13
changes to liquid and if we continue touching the drop of water when it's
00:05:19
less than zero it will be ice that's it and if we change to red the same the
00:05:23
temperature increases and it changes the different states of water and that's all
00:05:29
we can save again the project save to your computer and so we have it and you
00:05:36
can share it with your teacher as he or she likes bye bye I hope you like it
00:05:46
- Idioma/s:
- Autor/es:
- marta castillo viñambres
- Subido por:
- Marta C.
- Licencia:
- Reconocimiento - No comercial - Compartir igual
- Visualizaciones:
- 20
- Fecha:
- 9 de julio de 2024 - 18:48
- Visibilidad:
- Público
- Centro:
- EST ADMI D.G. DE BILINGÜISMO Y CALIDAD DE LA ENSEÑANZA
- Duración:
- 05′ 55″
- Relación de aspecto:
- 1.78:1
- Resolución:
- 1280x720 píxeles
- Tamaño:
- 13.03 MBytes