The video is below, however, I selected the wrong audio source during the recording so non of my audio is present! I guess I’ll post it anyway to make for the sake of posting. I make sure this doesn’t happen in the future.
One costume can take on 200 different color-schemes using the color effect. The “real” effect of the color is equal to the numeric/stored effect modulo 200. This means that changecoloreffectby200 will do nothing since the rendered color will be the same.
“Change color effect” will have a little apparent effect on sprites colored black, as black is a desaturated color rather than its own hue. To see the color effect on a black sprite, increase its brightness first. Similarly, sprites colored white will have little noticeable effect when the “Change color effect” block is used.
Changing of colors using the Color Effect block
These are the color changes from Scratch Cat Orange (0 Color Effect) to itself when it restarts at the 200th positive value of the color effect.
1-10 = Orange to light yellow
10-20 = Light yellow to a yellowish-green
20-30 = Yellowish-green to a medium green color
30-40 = Medium green to a thick, green color.
40-50 = No considerate change.
50-60 = A greenish-light cyan color.
60-70 = A lightly-blue tinted green to a fully light cyan color.
70-80 = A light cyan color to a light blue color.
80-90 = A light blue to a medium-dark blue.
90-100 = A medium-dark blue a thick dark blue.
100-110 = Darker and darker blue.
110-120 = A slowly more purplish-blue.
120-135 = Violet to Indigo
135-160 = A gradually mixed pink and purple.
160-170 = A gradually pinkish-red color.
170-180 = A thick red color.
180-190 = A dark orange color
190-200 = Identical to the original color at this point.
For other colors, simply start at the most similar color effect. If you are still not sure, try changing the color effect until it matches one of these descriptions.
Credit: The section below was taken from: https://en.scratch-wiki.info/wiki/Costume#Uses Be sure to follow the link to view additional examples of how this block can be used
Blocks
There are four blocks that relate to costumes, which are as follows:
This block can be read from the Stage and all sprites.
Credit: The section above was taken from: https://en.scratch-wiki.info/wiki/Costume#Uses Be sure to follow the link to view additional examples of how this block can be used
The Scratch Cat saying “Hello!” with the Say block
The say () for () seconds block is a looks block and a stack block. The block displays a speech bubble with the specified text for the sprite that runs it, which appears on the screen for the specified amount of seconds.
The block is similar to the think () for () seconds block, with the difference being that this block displays a speech bubble, while the other displays a thought bubble. It is also similar to the say () block, with the exception that the other block makes the sprite say something indefinitely.
This block was titled “Say () for () Secs” prior to Scratch 3.0.
Students to follow along with the video, using Microsoft word to – 1. Enable the developer tab. 2. Create a fillable form 3. Create a submit button : Submit A word processing form Via email
Optional content
Can you create a fillable form using google forms? Reproduce the fillable form from the example using google forms if you can.
Homework
Read and practise the example from Information Technology for CSEC – 3rd edition, Howard Campbell, pg 154-157.
#include <stdio.h>
#include <stdlib.h>
int main()
{
//declare and identify variables
float a,b;
float c;
//Initialize the variables
a=5.1;
b=6.1;
//Perform processing c <-- a+b
c=a+b;
printf("The sum of %.1f and %.1f is %.f \n", a,b,c);
}
#include <stdio.h>
#include <stdlib.h>
int main()
{
//declare and identify variables
int a,b;
int c;
//Initialize the variables
a=5;
b=6;
//Perform processing c <-- a+b
c=a+b;
printf("The sum of %d and %d is %d \n", a,b,c);
}
#include <stdio.h>
#include <stdlib.h>
int main()
{
//declare and identify variables
int a,b;
int c;
//Initialize the variables
a=5;
b=6;
//Perform processing c <-- a+b
c=a+b;
}
4. Give your project a title and optionally select a folder where you want the project to be created. In this case we use “Upper camel case”` : “0001-MyFirstProgram”
5.Leave all settings as default and choose finish:
6. Open main.c from the tree on the left. [1] Expand sources, [2]then double click on “main.c”.
7. Click on Build, and choose build and run.
8. Your code is now built to an executable file, and the program is executed in the console window:
Exercises
What happens when “Hello world!\n” is changed to “Hello world!” and the program is run?