Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Help with Sprite Direction Change
- progtech
-
6 posts
Help with Sprite Direction Change
I know it is a basic question: I am trying to change the face direction of the sprite from one to completely opposite side but it always gets upside down. Can someone help me with this?
- bcstahlman13
-
100+ posts
Help with Sprite Direction Change
Just turning 180 degrees isn't going to do it. You'll have to “set rotation style to left-right” (in the movement blocks sections) and then turn 180 degrees. Hope this helps. Good luck!
- asivi
-
1000+ posts
Help with Sprite Direction Change
You are wrong, no matter if the rotation style is left-right or if any direction is allowed. Just turning 180 degrees isn't going to do it. You'll have to “set rotation style to left-right” (in the movement blocks sections) and then turn 180 degrees. Hope this helps. Good luck!
- Thiplol
-
100+ posts
Help with Sprite Direction Change
Just make a other costume (a mirror from the first 1) and do this when you want :
Last edited by Thiplol (July 8, 2016 09:38:17)
- bcstahlman13
-
100+ posts
Help with Sprite Direction Change
Have you tried what I said? It works for me. If you set the rotation style to left-right, then point in direction 90; and then turn 180 degrees, it should flip the sprite about the y axis, without turning it upside-down.You are wrong, no matter if the rotation style is left-right or if any direction is allowed. Just turning 180 degrees isn't going to do it. You'll have to “set rotation style to left-right” (in the movement blocks sections) and then turn 180 degrees. Hope this helps. Good luck!
- asivi
-
1000+ posts
Help with Sprite Direction Change
But you don't know anything about his costumes are, or how he is moving the sprite.Have you tried what I said? It works for me. If you set the rotation style to left-right, then point in direction 90; and then turn 180 degrees, it should flip the sprite about the y axis, without turning it upside-down.You are wrong, no matter if the rotation style is left-right or if any direction is allowed. Just turning 180 degrees isn't going to do it. You'll have to “set rotation style to left-right” (in the movement blocks sections) and then turn 180 degrees. Hope this helps. Good luck!
An example https://scratch.mit.edu/projects/115851569/
- bcstahlman13
-
100+ posts
Help with Sprite Direction Change
Well, for any of Scratch's sprites, switching the rotation style to left-right, and then turning 180 degrees seems to flip it about its y axis.But you don't know anything about his costumes are, or how he is moving the sprite.Have you tried what I said? It works for me. If you set the rotation style to left-right, then point in direction 90; and then turn 180 degrees, it should flip the sprite about the y axis, without turning it upside-down.You are wrong, no matter if the rotation style is left-right or if any direction is allowed. Just turning 180 degrees isn't going to do it. You'll have to “set rotation style to left-right” (in the movement blocks sections) and then turn 180 degrees. Hope this helps. Good luck!
An example https://scratch.mit.edu/projects/115851569/
- Discussion Forums
- » Help with Scripts
-
» Help with Sprite Direction Change