Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Whats the video block?????????????
- alexphan
- Scratcher
1000+ posts
Whats the video block?????????????
I don't understand the video blocks all that much, so I would appriciate it if anybody would send me information. Thanks!
- andre_rifaut
- Scratcher
100+ posts
Whats the video block?????????????
see easy projects sur chas http://scratch.mit.edu/projects/10126867
or those in http://scratch.mit.edu/studios/201435/
or those in http://scratch.mit.edu/studios/201435/
- CrazyNimbus
- Scratcher
500+ posts
Whats the video block?????????????
Hi alexphan,
The video blocks are for use with the computer's webcam. You can turn the webcam on with the (turn video (on)) block, then if a pop up shows on your screen, click allow. Then, you can use the video motion blocks. These blocks work a lot like the loudness blocks for the microphone, with a value of zero to one hundred. Here is example of a set of scripts with the video blocks:
When Flag Clicked - Whenever you click the green flag
Turn video(on) -Turns on the webcam
When Flag Clicked - Whenever you click the green flag
Set (points) to (0) - Sets the score(a variable) to zero
When Video motion > (value) - Whenever there is this much movement in what the webcam sees
Change (points) by (1) - It gives you a point
You can use this feature to make a balloon pop game, a Kinect-like game. a dance game, or any other game that involves physical movement and the webcam.
Click the links below for a few examples of my games using the video sensing blocks:
http://scratch.mit.edu/projects/10985226/
http://scratch.mit.edu/projects/10742434
http://scratch.mit.edu/projects/10745931
I hope you learned something about the video blocks!
-CrazyNimbus
The video blocks are for use with the computer's webcam. You can turn the webcam on with the (turn video (on)) block, then if a pop up shows on your screen, click allow. Then, you can use the video motion blocks. These blocks work a lot like the loudness blocks for the microphone, with a value of zero to one hundred. Here is example of a set of scripts with the video blocks:
When Flag Clicked - Whenever you click the green flag
Turn video(on) -Turns on the webcam
When Flag Clicked - Whenever you click the green flag
Set (points) to (0) - Sets the score(a variable) to zero
When Video motion > (value) - Whenever there is this much movement in what the webcam sees
Change (points) by (1) - It gives you a point
You can use this feature to make a balloon pop game, a Kinect-like game. a dance game, or any other game that involves physical movement and the webcam.
Click the links below for a few examples of my games using the video sensing blocks:
http://scratch.mit.edu/projects/10985226/
http://scratch.mit.edu/projects/10742434
http://scratch.mit.edu/projects/10745931
I hope you learned something about the video blocks!
-CrazyNimbus
Meow! This post has been approved by nine adorable little cats!
She/Her
Currently in College, so not as active.
Digital Media Major, Computer Science Minor.
- mathfreak231
- Scratcher
1000+ posts
Whats the video block?????????????
i have grown as a person. and ive grown, literally. none of my posts from before 2022 represent me accurately.
- alexphan
- Scratcher
1000+ posts
Whats the video block?????????????
Hi alexphan,
The video blocks are for use with the computer's webcam. You can turn the webcam on with the (turn video (on)) block, then if a pop up shows on your screen, click allow. Then, you can use the video motion blocks. These blocks work a lot like the loudness blocks for the microphone, with a value of zero to one hundred. Here is example of a set of scripts with the video blocks:
When Flag Clicked - Whenever you click the green flag
Turn video(on) -Turns on the webcam
When Flag Clicked - Whenever you click the green flag
Set (points) to (0) - Sets the score(a variable) to zero
When Video motion > (value) - Whenever there is this much movement in what the webcam sees
Change (points) by (1) - It gives you a point
You can use this feature to make a balloon pop game, a Kinect-like game. a dance game, or any other game that involves physical movement and the webcam.
Click the links below for a few examples of my games using the video sensing blocks:
http://scratch.mit.edu/projects/10985226/
http://scratch.mit.edu/projects/10742434
http://scratch.mit.edu/projects/10745931
I hope you learned something about the video blocks!
-CrazyNimbus
Thanks for the info!!
- CrazyNimbus
- Scratcher
500+ posts
Whats the video block?????????????
Hi alexphan,
The video blocks are for use with the computer's webcam. You can turn the webcam on with the (turn video (on)) block, then if a pop up shows on your screen, click allow. Then, you can use the video motion blocks. These blocks work a lot like the loudness blocks for the microphone, with a value of zero to one hundred. Here is example of a set of scripts with the video blocks:
When Flag Clicked - Whenever you click the green flag
Turn video(on) -Turns on the webcam
When Flag Clicked - Whenever you click the green flag
Set (points) to (0) - Sets the score(a variable) to zero
When Video motion > (value) - Whenever there is this much movement in what the webcam sees
Change (points) by (1) - It gives you a point
You can use this feature to make a balloon pop game, a Kinect-like game. a dance game, or any other game that involves physical movement and the webcam.
Click the links below for a few examples of my games using the video sensing blocks:
http://scratch.mit.edu/projects/10985226/
http://scratch.mit.edu/projects/10742434
http://scratch.mit.edu/projects/10745931
I hope you learned something about the video blocks!
-CrazyNimbus
Thanks for the info!!
You're Welcome. You can always ask me if you have questions about the video blocks!
Meow! This post has been approved by nine adorable little cats!
She/Her
Currently in College, so not as active.
Digital Media Major, Computer Science Minor.
- Discussion Forums
- » Help with Scripts
- » Whats the video block?????????????