Discuss Scratch

Battl3bee
Scratcher
45 posts

A helpful, time saving modification for "set rotation style" block.

So I came up with an idea for a helpful modification for “set rotation style” block. Right now it's only left-right, don't rotate and all-around, but maybe there could be a modification to make it always stay up? For example, a rotation style that always keeps it “upright”.
Example of how this would be useful:
So let's say, for example we have a scratch cat sprite. When it's 90 degrees, it's at its classic stance. However, when it's -90 degrees, it's upside down and facing the other way. How the block would work is by preventing it from “flipping” so it's never “upside down”. This could be simply achieved by making the sprite flip vertically upon going below 0 degrees, making it never go “upside down”.
Here is an example of how it would work:
https://scratch.mit.edu/projects/602187748/
(if you don't get why it would be time saving, it is because you wouldn't have to make a set of code and more costumes flipping the costume and detecting the angle)

Last edited by Battl3bee (Nov. 17, 2021 14:56:12)

LokiBlaster
Scratcher
100+ posts

A helpful, time saving modification for "set rotation style" block.

setrotationstyledon't rotate

Last edited by LokiBlaster (Nov. 16, 2021 17:10:06)

Battl3bee
Scratcher
45 posts

A helpful, time saving modification for "set rotation style" block.

LokiBlaster wrote:

setrotationstyledon't rotate
oh, i forgot to include that don't rotate is a modifier there, thanks for letting me know.
Pengijun7
Scratcher
60 posts

A helpful, time saving modification for "set rotation style" block.

Support. This is a very interesting idea. I tried out the project and it seems to be possible and helpful.
jx0207
Scratcher
4 posts

A helpful, time saving modification for "set rotation style" block.

Can you add a device check block? people on mobile have a hard time on computer games. So, if you touch mobile mode is activated… but how about knowing about the device, mobile can show like:
Device=1 or mobile

and Computer?
Device=2 or computer

that's it because 2 much work 4 me
Autofirejm
Scratcher
1000+ posts

A helpful, time saving modification for "set rotation style" block.

Removed because me not big brain

Last edited by Autofirejm (Dec. 4, 2021 04:22:58)

Battl3bee
Scratcher
45 posts

A helpful, time saving modification for "set rotation style" block.

e

Last edited by Battl3bee (Dec. 4, 2021 10:00:06)

Battl3bee
Scratcher
45 posts

A helpful, time saving modification for "set rotation style" block.

Autofirejm wrote:

Removed because me not big brain
what

Powered by DjangoBB