Scratch - What is Direction
In this video we are going to learn what is Direction in Scratch.
Direction is rotation and it is represented by number which says what is the angle of rotation of your selected sprite.
You can type that number (angle of rotation) into Direction field, or click on it and Direction circle will open.
Then you can drag the arrow to point at the angle at which you want your sprite rotated.
Default state of every sprite in Scratch is 90 - that means "right" direction.
This is very important to take care of when importing or making sprites in Scratch.
If possible, make default sprite costume looking at the right when importing, that way you will avoid later possible problems when coding Direction.
And that is especially true for top down games, where your sprites will probably rotate all the way around.
Besides "right" direction, you will often use:
"left" direction -270 degrees
"top" direction 0 degrees
"down" direction 180 degrees.
Play with it a little to get a grip on it and see how it works in practice.
It should not be so hard to understand it, but if so, try until you do, since you are probably going to use it in your games.
We will for sure and that will happen very soon, already in next few lessons I will explain some of the Scratch Blocks which use Direction.
Keep on learning, keep on Scratching !!!
Direction (value)
https://en.scratch-wiki.info/wiki/Direction_(value)
Other Videos By Knowledge For All
2019-10-28 | Scratch blocks - set y to ... |
2019-10-27 | Scratch blocks - y position |
2019-10-21 | Scratch blocks - next backdrop |
2019-10-21 | Scratch blocks equal less than greater than |
2019-10-21 | Scratch blocks x position |
2019-10-17 | Scratch blocks - if on edge, bounce |
2019-10-16 | Scratch blocks - point towards ... |
2019-10-16 | Scratch blocks - set rotation style ... |
2019-10-16 | Scratch blocks - point in direction ... |
2019-10-16 | Scratch blocks - change x by |
2019-10-15 | Scratch - What is Direction |
2019-09-11 | Scratch blocks - glide ... secs to x: ... y: ... |
2019-09-09 | Scratch blocks - glide ... secs to ... |
2019-09-09 | Scratch blocks - set size to ... % |
2019-09-09 | Scratch blocks - change y by ... |
2019-09-09 | Scratch blocks - go to ... |
2019-09-09 | Scratch blocks - go to x: ... y: ... |
2019-09-06 | Scratch - What is Coordinate System |
2019-09-05 | Scratch - What is Sprite |
2019-09-05 | Scratch - What is Stage |
2019-09-01 | Scratch blocks - change ... effect by ... |