Discuss Scratch
- Discussion Forums
- » Suggestions
- » A helpful, time saving modification for "set rotation style" block.
- Battl3bee
-
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)
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
-
100+ posts
A helpful, time saving modification for "set rotation style" block.
Last edited by LokiBlaster (Nov. 16, 2021 17:10:06)
- Battl3bee
-
45 posts
A helpful, time saving modification for "set rotation style" block.
oh, i forgot to include that don't rotate is a modifier there, thanks for letting me know.
- Pengijun7
-
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
-
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:
and Computer?
that's it because 2 much work 4 me
and Computer?
that's it because 2 much work 4 me
- Autofirejm
-
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
-
45 posts
A helpful, time saving modification for "set rotation style" block.
e
Last edited by Battl3bee (Dec. 4, 2021 10:00:06)
- Battl3bee
-
45 posts
A helpful, time saving modification for "set rotation style" block.
what Removed because me not big brain
- Discussion Forums
- » Suggestions
-
» A helpful, time saving modification for "set rotation style" block.