Discuss Scratch
- Discussion Forums
- » Suggestions
- » new block idea for 3.0 [rotate around x,y point]
- nickliu
- Scratcher
11 posts
new block idea for 3.0 [rotate around x,y point]
i think that a block should be added that can rotate a sprite around a point.
rotate clockwise () degrees around X:() Y:()
Last edited by Paddle2See (June 4, 2018 11:49:48)
nickliu
- wWSunPandaWw
- Scratcher
1000+ posts
new block idea for 3.0 [rotate around x,y point]
No Support, this is a simple and easy workaround:
Do this one to turn clockwise:
Do this one to turn clockwise:
go to x: (18) y: (14) // or any place you want the sprite to goDo this one to turn counter/anti-clockwise:
turn cw (15) degrees
go to x: (18) y: (14)You can also choose a new enter for your sprite in the paint editor using the centering tool, to make it rotate differently.
turn ccw (15) degrees
I moved to BelieverGirlSun
- E_Equals_EmCeSquare2
- Scratcher
33 posts
new block idea for 3.0 [rotate around x,y point]
Although workaround-able with
one wouldn't expect younger users to be able to work it out easily, so support for
Plus, it's quite a long workaround.
define turn cw (θ) degrees around x: (x) y: (y)
set [radius v] to ([sqrt v] of ((((x) - (x position)) * ((x) - (x position))) + (((y) - (y position)) * ((y) - (y position))))
go to x: (((radius) * ([sin v] of ((direction) + (θ)))) + (x)) y: (((radius) * ([cos v] of ((direction) + (θ)))) + (y)
turn cw (θ) degrees // that (θ) is the Greek letter theta.
one wouldn't expect younger users to be able to work it out easily, so support for
turn cw () degrees around x: () y: () :: motion
Plus, it's quite a long workaround.
Last edited by E_Equals_EmCeSquare2 (May 29, 2018 14:34:07)
Moved to @E_Equals_EmCeCube3.
- E_Equals_EmCeSquare2
- Scratcher
33 posts
new block idea for 3.0 [rotate around x,y point]
I don't think that's how they meant by this block, I thought that this block causes the sprite to rotate (θ) degrees about the axis of rotation at (x, y), not rotate from the point (x, y). No Support, this is a simple and easy workaround:
Do this one to turn clockwise:go to x: (18) y: (14) // or any place you want the sprite to goDo this one to turn counter/anti-clockwise:
turn cw (15) degreesgo to x: (18) y: (14)You can also choose a new enter for your sprite in the paint editor using the centering tool, to make it rotate differently.
turn ccw (15) degrees
Last edited by E_Equals_EmCeSquare2 (May 29, 2018 14:38:20)
Moved to @E_Equals_EmCeCube3.
- Mr_PenguinAlex
- Scratcher
1000+ posts
new block idea for 3.0 [rotate around x,y point]
I think they mean to orbit around that areaI don't think that's how they meant by this block, I thought that this block causes the sprite to rotate (θ) degrees about the axis of rotation at (x, y), not rotate from the point (x, y). No Support, this is a simple and easy workaround:
Do this one to turn clockwise:go to x: (18) y: (14) // or any place you want the sprite to goDo this one to turn counter/anti-clockwise:
turn cw (15) degreesgo to x: (18) y: (14)You can also choose a new enter for your sprite in the paint editor using the centering tool, to make it rotate differently.
turn ccw (15) degrees
- TheRealNetherBefore
- Scratcher
1000+ posts
new block idea for 3.0 [rotate around x,y point]
Semi-support- the workaround is complex however I don't really see situations where I'd use the block.
*Drinks ketchup*
there is no ethical consumption under capitalism my dudes
Small Games | Tips and Advice | Boredom Cat | Misc
Want to make a fantasy world everyone on scratch can use? Click here!
G'thorpax the Unspoken
there is no ethical consumption under capitalism my dudes
Small Games | Tips and Advice | Boredom Cat | Misc
Want to make a fantasy world everyone on scratch can use? Click here!
G'thorpax the Unspoken
- radishboy
- Scratcher
100+ posts
new block idea for 3.0 [rotate around x,y point]
Semi-support- the workaround is complex however I don't really see situations where I'd use the block.
I agree
StormCrow Storm
- ACE009
- Scratcher
100+ posts
new block idea for 3.0 [rotate around x,y point]
I don’t foresee much use either since most of the time you need one rotation point and can just set the costume center wherever that may be.Semi-support- the workaround is complex however I don't really see situations where I'd use the block.
I agree
when this signature read :: events hat
if <I know what [kumquats] are :: sensing> then //false
have (Katty :: pen) [eat v] [nearby kumquats v] :: motion // Katty eats the kumquats for me, whatever they are
else
learn what [kumquats] are :: sensing // this block must be malfunctional
end
- convoluto-
- Scratcher
100+ posts
new block idea for 3.0 [rotate around x,y point]
This. ^I don’t foresee much use either since most of the time you need one rotation point and can just set the costume center wherever that may be.Semi-support- the workaround is complex however I don't really see situations where I'd use the block.
I agree
I hate the 120 second rule.
Expert memelord in the making.
So far, I've made: 3 memes! ( in photoshop )
You cannot trust any of my posts because I am dumb. Some may be right, though.
Loquat + kumquat protector: - Bob
- nickliu
- Scratcher
11 posts
new block idea for 3.0 [rotate around x,y point]
Semi-support- the workaround is complex however I don't really see situations where I'd use the block.
perhaps you could use it during collision simulators perhaps like some sort of multiplayer sumo wrestling game with plane possibly like cosmoteer.
nickliu
- Seam49
- Scratcher
500+ posts
new block idea for 3.0 [rotate around x,y point]
Support, although there is a block workaround, A lot of other blocks have workarounds too, very useful!
Tea. Chocolate.
- Happysoul05
- Scratcher
100+ posts
new block idea for 3.0 [rotate around x,y point]
No support.
Yes Setting costume center can be a problem but use a different duplicated costume for that.
When using that type of rotation,
Switch to that costume ,rotate and switch back to old one.
Yes Setting costume center can be a problem but use a different duplicated costume for that.
When using that type of rotation,
Switch to that costume ,rotate and switch back to old one.
Check out my friend CaptainDinosaurGames' Anti flux
PICTIONARY !
An employee at The Meow Shop
Bomber Cat
Smash Boy Adventures - A platformer
1945
Check out profile for more !
- wWSunPandaWw
- Scratcher
1000+ posts
new block idea for 3.0 [rotate around x,y point]
I said you can do that by changing the center of the sprite in the paint editor to make it appear that it's rotating b around a different point.I think they mean to orbit around that areaI don't think that's how they meant by this block, I thought that this block causes the sprite to rotate (θ) degrees about the axis of rotation at (x, y), not rotate from the point (x, y). No Support, this is a simple and easy workaround:
Do this one to turn clockwise:go to x: (18) y: (14) // or any place you want the sprite to goDo this one to turn counter/anti-clockwise:
turn cw (15) degreesgo to x: (18) y: (14)You can also choose a new enter for your sprite in the paint editor using the centering tool, to make it rotate differently.
turn ccw (15) degrees
you can workaround blocks with the paint editor??? Who knew???
I moved to BelieverGirlSun
- Discussion Forums
- » Suggestions
- » new block idea for 3.0 [rotate around x,y point]