Discuss Scratch

progtech
Scratcher
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?
crisostimo
Scratcher
500+ posts

Help with Sprite Direction Change

turn180degrees
bcstahlman13
Scratcher
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
Scratcher
1000+ posts

Help with Sprite Direction Change

bcstahlman13 wrote:

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!
You are wrong, no matter if the rotation style is left-right or if any direction is allowed.
Thiplol
Scratcher
100+ posts

Help with Sprite Direction Change

Just make a other costume (a mirror from the first 1) and do this when you want :
switchcostumetolook leftswitchcostumetolook right

Last edited by Thiplol (July 8, 2016 09:38:17)

bcstahlman13
Scratcher
100+ posts

Help with Sprite Direction Change

asivi wrote:

bcstahlman13 wrote:

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!
You are wrong, no matter if the rotation style is left-right or if any direction is allowed.
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.
asivi
Scratcher
1000+ posts

Help with Sprite Direction Change

bcstahlman13 wrote:

asivi wrote:

bcstahlman13 wrote:

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!
You are wrong, no matter if the rotation style is left-right or if any direction is allowed.
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.
But you don't know anything about his costumes are, or how he is moving the sprite.
An example https://scratch.mit.edu/projects/115851569/
bcstahlman13
Scratcher
100+ posts

Help with Sprite Direction Change

asivi wrote:

bcstahlman13 wrote:

asivi wrote:

bcstahlman13 wrote:

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!
You are wrong, no matter if the rotation style is left-right or if any direction is allowed.
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.
But you don't know anything about his costumes are, or how he is moving the sprite.
An example https://scratch.mit.edu/projects/115851569/
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.

Powered by DjangoBB