Discuss Scratch

NavonLee
Scratcher
1 post

The Degrees Turning Bug

I have been trying to make my sprites turn using the change degrees block. But for some reason, when I try to make them turn, they will make a full circle to turn instead of turning in a spot. Please help. It has ruined a bunch of ideas I have been trying to make.
Before you ask, yes Scratch Desktop is also acting the same.
D-ScratchNinja
Scratcher
1000+ posts

The Degrees Turning Bug

Can you show your code? I'm not quite sure what you're trying to explain.

D-ScratchNinja • he/him
- The following is my signature, which always shows up below my posts. -


New! Filter through my projects with my website.

Need to fix an issue? Check out this studio for solutions to some common problems!

OS: Windows 11 / Browser: Microsoft Edge / Time zone: PST/PDT
TheSassyDiamond
Scratcher
100+ posts

The Degrees Turning Bug

NavonLee wrote:

I have been trying to make my sprites turn using the change degrees block. But for some reason, when I try to make them turn, they will make a full circle to turn instead of turning in a spot. Please help. It has ruined a bunch of ideas I have been trying to make.
Before you ask, yes Scratch Desktop is also acting the same.
We can’t help you if you don’t show us the code - it might be set to a certain amount and that could be why it’s going in a circle.
EXAMPLE:

when green flag clicked
turn cw (180) degrees


when green flag clicked
turn cw (15) degrees

Last edited by TheSassyDiamond (May 23, 2021 00:46:22)






❖︎ Violet ❖︎ Artist ❖︎ Singer ❖︎ Christian ❖︎ Cats <3 ❖︎
"When things go wrong, remember the sun will still rise to a new day and you can look forward to something new." -Me
TheSassyDiamond
Scratcher
100+ posts

The Degrees Turning Bug

TheSassyDiamond wrote:

NavonLee wrote:

I have been trying to make my sprites turn using the change degrees block. But for some reason, when I try to make them turn, they will make a full circle to turn instead of turning in a spot. Please help. It has ruined a bunch of ideas I have been trying to make.
Before you ask, yes Scratch Desktop is also acting the same.
We can’t help you if you don’t show us the code - it might be set to a certain amount and that could be why it’s going in a circle.
EXAMPLE:

when green flag clicked
turn cw (180) degrees


when green flag clicked
turn cw (15) degrees[/quote]
(Sorry scratch bugged out and duplicated my post.. now everything is turning into scratch blocks help-)

Last edited by TheSassyDiamond (May 23, 2021 00:45:45)






❖︎ Violet ❖︎ Artist ❖︎ Singer ❖︎ Christian ❖︎ Cats <3 ❖︎
"When things go wrong, remember the sun will still rise to a new day and you can look forward to something new." -Me
Scratch-Minion
Scratcher
1000+ posts

The Degrees Turning Bug

The most likely cause is that the costume for your sprite is no centered.
Scratch will always turn a sprite around its centre, so if the costume is off-centre, the sprite will appear to move in a circle around the centre.
XCartooonX
Scratcher
500+ posts

The Degrees Turning Bug

Scratch-Minion wrote:

The most likely cause is that the costume for your sprite is no centered.
Scratch will always turn a sprite around its centre, so if the costume is off-centre, the sprite will appear to move in a circle around the centre.
If that happens you can reposition the sprite so it doesn't make a circle. ^

Want to view the rest of my signature? Highlight this text and press Shift+Down!

Support the suggestion HERE by adding this button to your signature

Name: Meep
Adopt one yourself! @ Pokémon Orphanage
“Angel Gabby? Angel Gabby!” ~ Francis, the best boye

Hello! My name is XCartooonX, but please call me Low-Key. I'm super into Pokemon, My Singing Monsters, and more. Feel free to follow me!


Powered by DjangoBB