Download - Variables scratch+
Transcript
![Page 1: Variables scratch+](https://reader036.vdocuments.pub/reader036/viewer/2022082813/55c81332bb61ebc51c8b4798/html5/thumbnails/1.jpg)
VARIABLES-SCRATCH
JOHAN DAVID CELEMIN803
COLEGIO NACIONAL NICOLAS ESGUERRA
EDIFICAMOS FUTURO
JHON ALEXANDER CARABALLO ACOSTA
DOCENTE
![Page 2: Variables scratch+](https://reader036.vdocuments.pub/reader036/viewer/2022082813/55c81332bb61ebc51c8b4798/html5/thumbnails/2.jpg)
VARIABLES
Los bloques de variables permiten crear variables y usarlos en programas, las variables pueden almacenar números o Sting , scratch respalda variables globales como especificas aun objetivo
![Page 3: Variables scratch+](https://reader036.vdocuments.pub/reader036/viewer/2022082813/55c81332bb61ebc51c8b4798/html5/thumbnails/3.jpg)
CREAR OBJETOS Y DISFRACES
Creamos un objeto y lo llamamos dado
Creamos 6 disfraces en forma de los valores asi
![Page 4: Variables scratch+](https://reader036.vdocuments.pub/reader036/viewer/2022082813/55c81332bb61ebc51c8b4798/html5/thumbnails/4.jpg)
DECLARAR VARIABLE
Vamos a crear una variable con el nombre de valor , en ella vamos, almacenar un valor 1 a 6 de acuerdo a los números del dado así
Aplicación de la variable
![Page 5: Variables scratch+](https://reader036.vdocuments.pub/reader036/viewer/2022082813/55c81332bb61ebc51c8b4798/html5/thumbnails/5.jpg)
BOTON CONTROL
![Page 6: Variables scratch+](https://reader036.vdocuments.pub/reader036/viewer/2022082813/55c81332bb61ebc51c8b4798/html5/thumbnails/6.jpg)
PROYECTO FINAL