Discuss Scratch
- Discussion Forums
 - » Suggestions
 - »  Change x by "10" STEPS
        
         
- 123m83
 - 
                            
						
						
                            Scratcher
                        
						
						 
100+ posts
Change x by "10" STEPS
I don't really get the point, just use a change x by (10). The move steps block just moves you forward depending on what direction you're facing.
                        
                        
                    - zeer121
 - 
                            
						
						
                            Scratcher
                        
						
						 
94 posts
Change x by "10" STEPS
I don't really get the point, just use a change x by (10). The move steps block just moves you forward depending on what direction you're facing.It's a mix of these 2:
change x by (10)
move (10) steps
- 123m83
 - 
                            
						
						
                            Scratcher
                        
						
						 
100+ posts
Change x by "10" STEPS
Yeah, so a workaround for your block could be this:I don't really get the point, just use a change x by (10). The move steps block just moves you forward depending on what direction you're facing.It's a mix of these 2:change x by (10)
move (10) steps
change x by (10)or this
point in direction ( 90)You don't need a blocks that mixes them together.
move (10) steps
- hydrofungus
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Change x by "10" STEPS
move () stepsThese 2 are the same if you didn’t know that already
change x by ()
- CAPoftruth-alt
 - 
                            
						
						
                            Scratcher
                        
						
						 
100+ posts
Change x by "10" STEPS
They aren't, while the “change x by” block increases sprite's x position by the specified amount, the “move n steps” block moves n from its direction.move () stepsThese 2 are the same if you didn’t know that already
change x by ()
–––––
I don't get it, could you please explain?-snip-It's a mix of these 2:change x by (10)
move (10) steps
- cookieclickerer33
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Change x by "10" STEPS
I think it’s suggesting something like this
Due to the places something like this would be used being in advanced situations the person making it probably already knows trig or just did the first method
                        
                        
                    define Move (num) steps on x axisBut this is easily doable without variables using some very simple trig
set [Old y v] to (y position)
move (Num::custom) steps
set y to (Old y)
define Move (num) steps on X axisI don’t think at the places you would need this block you wouldn’t know how to do this
change x by ((num::custom) * ([sin v] of (direction))
define Move (num) steps on Y axis
change y by ((num::custom) * ([cos v] of (direction))
Due to the places something like this would be used being in advanced situations the person making it probably already knows trig or just did the first method
- EDawg2011
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Change x by "10" STEPS
Workaround Thingchange x by (10) steps :: motion
change x by (([sin v] of (direction)) * (steps)
Not everyone knows trigonometry, and this block might be useful, so support?
- randomguy3513
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Change x by "10" STEPS
They are not, try moving the direction of the scratch cat and using the move () steps block and the change x by () block. However these being combined is way too confusing on how the block behavesmove () stepsThese 2 are the same if you didn’t know that already
change x by ()
Last edited by randomguy3513 (Dec. 8, 2023 14:33:27)
- 106809nes
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Change x by "10" STEPS
it already exists- there's no need forI don't really get the point, just use a change x by (10). The move steps block just moves you forward depending on what direction you're facing.It's a mix of these 2:change x by (10)
move (10) steps
change x by (...) steps:: motion
- zeer121
 - 
                            
						
						
                            Scratcher
                        
						
						 
94 posts
Change x by "10" STEPS
You need paragraphs:it already exists- there's no need forI don't really get the point, just use a change x by (10). The move steps block just moves you forward depending on what direction you're facing.It's a mix of these 2:change x by (10)
move (10) stepschange x by (...) steps:: motion
[p]there's need[/p]
- 106809nes
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Change x by "10" STEPS
I don't need paragraphs.You need paragraphs:it already exists- there's no need forI don't really get the point, just use a change x by (10). The move steps block just moves you forward depending on what direction you're facing.It's a mix of these 2:change x by (10)
move (10) stepschange x by (...) steps:: motion[p]there's need[/p]
I'm saying there's a thing called
change x by (...)
- wilhelm43
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Change x by "10" STEPS
Maybe, but :
                        
                        
                    are the wanted block.define Move (num) steps on X axis
change x by ((num::custom) * ([sin v] of (direction))
define Move (num) steps on Y axis
change y by ((num::custom) * ([cos v] of (direction))
- Zydrolic
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Change x by "10" STEPS
Everyone's arguing about how the x and move () steps blocks don't work the same.
But rather than that, can we actually move to a better question?
what would this even do?
The move steps block changes both of the X and Y axis values (should be somewhere here, can't find anymore) - So changing “x by 10 steps” would not work.
This would be adding an extra X value onto the steps moved, which, while you're at it, can easily be worked around:
                        
                        
                    But rather than that, can we actually move to a better question?
what would this even do?
The move steps block changes both of the X and Y axis values (should be somewhere here, can't find anymore) - So changing “x by 10 steps” would not work.
This would be adding an extra X value onto the steps moved, which, while you're at it, can easily be worked around:
move (value :: obsolete) stepsNo support, this merely just cannot work.
change x by (value :: obsolete)
- zeer121
 - 
                            
						
						
                            Scratcher
                        
						
						 
94 posts
Change x by "10" STEPS
Everyone's arguing about how the x and move () steps blocks don't work the same.the block moves the sprite
But rather than that, can we actually move to a better question?
what would this even do?
The move steps block changes both of the X and Y axis values (should be somewhere here, can't find anymore) - So changing “x by 10 steps” would not work.
This would be adding an extra X value onto the steps moved, which, while you're at it, can easily be worked around:move (value :: obsolete) stepsNo support, this merely just cannot work.
change x by (value :: obsolete)
- Zydrolic
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Change x by "10" STEPS
(#19)(removed by moderator - please keep it polite)Everyone's arguing about how the x and move () steps blocks don't work the same.the block moves the sprite
But rather than that, can we actually move to a better question?
what would this even do?
The move steps block changes both of the X and Y axis values (should be somewhere here, can't find anymore) - So changing “x by 10 steps” would not work.
This would be adding an extra X value onto the steps moved, which, while you're at it, can easily be worked around:move (value :: obsolete) stepsNo support, this merely just cannot work.
change x by (value :: obsolete)
what I'm curious about is how it would work, I know it moves the sprite, however both x and y axis' are modified by the move () steps block.
Last edited by Paddle2See (Dec. 9, 2023 13:25:55)
- unmissable
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Change x by "10" STEPS
a reall normal workaround (this is a joke.)1.unhelpful
-snip-
2. offtopic
3. Very, very laggy (nearly crashed chrome)
Everyone's arguing about how the x and move () steps blocks don't work the same.Well I'm not sure if the OP said what it does but after reading everyone's arguments no support because of too many reasons
But rather than that, can we actually move to a better question?
what would this even do?
The move steps block changes both of the X and Y axis values (should be somewhere here, can't find anymore) - So changing “x by 10 steps” would not work.
This would be adding an extra X value onto the steps moved, which, while you're at it, can easily be worked around:move (value :: obsolete) stepsNo support, this merely just cannot work.
change x by (value :: obsolete)
edit: monarch of the pagee
Last edited by unmissable (Dec. 9, 2023 11:54:07)
- Zydrolic
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Change x by "10" STEPS
(#21)The OP never really stated what it would do besides “it will move the sprite” - But this block again just cannot work because you are already adding onto the X axis you want to change by, which is just a 2 block simple workaround and easily avoids making this a really confusingly worded block.
Well I'm not sure if the OP said what it does but after reading everyone's arguments no support because of too many reasons
Not to mention you can do whatever already:
define change x by (value) stepsOr have a billion variations of this.
change x by (value)
move (value) steps
- DifferentDance8
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
Change x by "10" STEPS
a reall normal workaround (this is a joke.)Please don't joke on the forums.
~snip~
=
We know that the block moves the sprite, but HOW does it move the sprite?Everyone's arguing about how the x and move () steps blocks don't work the same.the block moves the sprite
But rather than that, can we actually move to a better question?
what would this even do?
The move steps block changes both of the X and Y axis values (should be somewhere here, can't find anymore) - So changing “x by 10 steps” would not work.
This would be adding an extra X value onto the steps moved, which, while you're at it, can easily be worked around:move (value :: obsolete) stepsNo support, this merely just cannot work.
change x by (value :: obsolete)
- Discussion Forums
 - » Suggestions
 - 
            »  Change x by "10" STEPS 
         












