Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » New things in Scratch 2.0
- bob6
-
100+ posts
New things in Scratch 2.0
I've generally have been a Scratch 1.4 person, and after my long inactive period during beta, I see that there are new blocks in Scratch 2.0.
Would anyone be nice enough to give a rundown on each of these blocks and its properties (for example, create-your-own-block or cloud variables)
Thanks,
bob6
Would anyone be nice enough to give a rundown on each of these blocks and its properties (for example, create-your-own-block or cloud variables)
Thanks,
bob6
- turkey3
-
1000+ posts
New things in Scratch 2.0
1. Vector Graphics1. Vector graphics use mathematical curves to store drawings and use anti-aliasing to make everything look perfectly smooth. One positive effect is that in full screen mode vector graphics don't become pixelate, just more smooth. The paint editor is now switchable between vector and bitmap graphics. Also, vector graphics are better for shrinking and growing sprites and objects, and they also take up less file space.
2. Cloning
3. Cloud Variables
4. Custom Blocks
2. A clone is like a copy of a sprite, and the cloning blocks are at the bottom of control. Clones are not duplicates of sprites, though; they are all deleted when a project begins. There can be up to 300 clones at once per sprite. The only scripts clones run are the scripts starting with the “clone startup” block in control, so whenever a clone is created it runs that script.
3. Cloud variables are stored on the Scratch server. They change for everyone when they change, not just the person viewing the project. So you can now create a high score
4. Custom blocks are in “more blocks”. Whatever scripts you put underneath a custom block's definition block is what will happen when that block runs. This can be useful for breaking apart scripts into simpler ones. Also, if you right-click a custom block in the palette, there is an edit menu. Then you can insert a string, number, and Boolean input into it, in which a different value can be rendered. It's hard to explain. So you can have a block “jump (pixels)” where pixels is a number input, so whatever you type into the custom block when it runs it will render that number into the scripts wherever (pixels) is. Also you can run it without screen refresh which runs the custom block in an instant (in 0 seconds).
- Discussion Forums
- » Help with Scripts
-
» New things in Scratch 2.0