Saltar navegación

Activa JavaScript para disfrutar de los vídeos de la Mediateca.

18 stopping - Contenido educativo

Ajuste de pantalla

El ajuste de pantalla se aprecia al ver el vídeo en pantalla completa. Elige la presentación que más te guste:

Subido el 22 de febrero de 2021 por David G.

33 visualizaciones

Descargar la transcripción

in this tutorial we will learn how 00:00:00
to use the stop features in control 00:00:02
go and select stop 00:00:05
we can change it to stop this script 00:00:08
which will stop the activity of the 00:00:11
script and a more general stop is 00:00:12
stop all which will stop all scripts 00:00:15
is the same as clicking the red 00:00:18
button 00:00:20
from the menu we will need if 00:00:22
and forever 00:00:26
and in events we will need when 00:00:29
green flag clicked 00:00:31
from motion we will need move steps 00:00:34
and in sensing 00:00:39
touching 00:00:41
and in looks say hello for two 00:00:46
seconds let's begin by creating the action 00:00:49
we want to move our sprite regularly 00:00:55
until we reach the edge so we 00:00:58
change this the touching edge 00:01:01
then we wanted to send a message 00:01:06
for example it could say this is 00:01:10
the end 00:01:13
and we want to say it for 00:01:18
one second 00:01:20
and we want it to happen when 00:01:24
the green flag is clicked and at 00:01:25
the end we want it to stop 00:01:28
but only for this script 00:01:32
so if we click it we can 00:01:35
see that the sprite moves all the 00:01:37
way to the end we can change 00:01:40
it to move one step to slow 00:01:42
it down 00:01:44
we can copy and paste it onto 00:02:01
the second sprite 00:02:03
if we click the green flag 00:02:16
both the sprites will move 00:02:19
and they will only stop when they 00:02:26
reach the edge 00:02:28
if the cat for example has an advantage 00:02:37
over script two and reaches the wall 00:02:40
first 00:02:43
then script will continue to move until 00:02:45
they have reached the wall 00:02:49
if we use stop all instead of 00:02:56
stop the script 00:02:58
then when the cat reaches the wall 00:03:01
sprite two will also stop 00:03:07
but if sprite two reaches the wall 00:03:12
before the cat then the cat will 00:03:14
continue to move 00:03:17
Idioma/s:
en
Autor/es:
David Gonzalez Arroyo
Subido por:
David G.
Licencia:
Reconocimiento - Compartir igual
Visualizaciones:
33
Fecha:
22 de febrero de 2021 - 14:57
Visibilidad:
Público
Centro:
IES MARIE CURIE Loeches
Duración:
03′ 22″
Relación de aspecto:
1.78:1
Resolución:
1280x720 píxeles
Tamaño:
28.90 MBytes

Del mismo autor…

Ver más del mismo autor


EducaMadrid, Plataforma Educativa de la Comunidad de Madrid

Plataforma Educativa EducaMadrid