Discuss Scratch

Oneirik
Scratcher
100+ posts

Mirroring sprites

You can turn sprites 180 degrees so that they face the other way, but obviously, theyll be upside down so how do you mirror a sprite so its the right way round but facing the other way? Thanks in advance.
deck26
Scratcher
1000+ posts

Mirroring sprites

If you restrict rotation to left-right it should be fine

setrotationstyleleft-right
Note this only needs doing once unless you change to a different rotation style and need to change back
Oneirik
Scratcher
100+ posts

Mirroring sprites

Ah, so this only has to be done once and then the sprite can mirror itself whenever?
deck26
Scratcher
1000+ posts

Mirroring sprites

The sprite will point left or right but not rotate at odd angles. Try it and see.
Oneirik
Scratcher
100+ posts

Mirroring sprites

Oh yeah, it works well thanks
mariokartman6
Scratcher
28 posts

Mirroring sprites

Make another costume and click the mirroring icon in the top-right corner.
deck26
Scratcher
1000+ posts

Mirroring sprites

mariokartman6 wrote:

Make another costume and click the mirroring icon in the top-right corner.
Not usually required, just pointing in the right direction is generally enough.
Oneirik
Scratcher
100+ posts

Mirroring sprites

mariokartman6 wrote:

Make another costume and click the mirroring icon in the top-right corner.
Ye, it means the scratch file would be bigger and I do not want that
BeyondBrokenSin
New Scratcher
1 post

Mirroring sprites

I am on an HP computer so the Scratch setup is extremely different, I don't see the mirroring icon in the supposed top right corner.
Scratch-Minion
Scratcher
1000+ posts

Mirroring sprites

In the Costumes tab, above the picture you can select “Flip horizontal”.
MortenManden
Scratcher
64 posts

Mirroring sprites

Use - set rotation stye
Set to left-right
deck26
Scratcher
1000+ posts

Mirroring sprites

MortenManden wrote:

Use - set rotation stye
Set to left-right
Please check the date before posting and read the thread, not just the question - this topic is old and already answered.
hsej060715
Scratcher
7 posts

Mirroring sprites

To Mirror A Sprite You Need A Block Called
Set Rotation Style Left-Right

Last edited by hsej060715 (May 21, 2022 12:35:25)

861550PTP
Scratcher
11 posts

Mirroring sprites

Solution:
whenclickedsetrotationstyleleft-rightifkeyleftpressed?thenpointindirection-90

Powered by DjangoBB