Discuss Scratch

zeer121
Scratcher
94 posts

Change x by "10" STEPS

change x by (10) steps :: motion
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

123m83 wrote:

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

zeer121 wrote:

123m83 wrote:

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
Yeah, so a workaround for your block could be this:
change x by (10)
or this
point in direction ( 90)
move (10) steps
You don't need a blocks that mixes them together.
hydrofungus
Scratcher
1000+ posts

Change x by "10" STEPS

move () steps
change x by ()
These 2 are the same if you didn’t know that already
CAPoftruth-alt
Scratcher
100+ posts

Change x by "10" STEPS

hydrofungus wrote:

move () steps
change x by ()
These 2 are the same if you didn’t know that already
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.
–––––

zeer121 wrote:

123m83 wrote:

-snip-
It's a mix of these 2:

change x by (10)

move (10) steps
I don't get it, could you please explain?
cookieclickerer33
Scratcher
1000+ posts

Change x by "10" STEPS

I think it’s suggesting something like this
define Move (num) steps on x axis
set [Old y v] to (y position)
move (Num::custom) steps
set y to (Old y)
But this is easily doable without variables using some very simple trig
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))
I don’t think at the places you would need this block you wouldn’t know how to do 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
EDawg2011
Scratcher
1000+ posts

Change x by "10" STEPS

zeer121 wrote:

change x by (10) steps :: motion
Workaround Thing

change x by (([sin v] of (direction)) * (steps)

Not everyone knows trigonometry, and this block might be useful, so support?
TheEpikGamer211
Scratcher
1000+ posts

Change x by "10" STEPS

easy workaround
change x by (10)
randomguy3513
Scratcher
1000+ posts

Change x by "10" STEPS

hydrofungus wrote:

move () steps
change x by ()
These 2 are the same if you didn’t know that already
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 behaves

Last edited by randomguy3513 (Dec. 8, 2023 14:33:27)

106809nes
Scratcher
1000+ posts

Change x by "10" STEPS

zeer121 wrote:

123m83 wrote:

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
it already exists- there's no need for
change x by (...) steps:: motion
zeer121
Scratcher
94 posts

Change x by "10" STEPS

106809nes wrote:

zeer121 wrote:

123m83 wrote:

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
it already exists- there's no need for
change x by (...) steps:: motion
You need paragraphs:

[p]there's need[/p]
106809nes
Scratcher
1000+ posts

Change x by "10" STEPS

zeer121 wrote:

106809nes wrote:

zeer121 wrote:

123m83 wrote:

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
it already exists- there's no need for
change x by (...) steps:: motion
You need paragraphs:

[p]there's need[/p]
I don't need paragraphs.
I'm saying there's a thing called
change x by (...)
wilhelm43
Scratcher
1000+ posts

Change x by "10" STEPS

Maybe, but :

cookieclickerer33 wrote:

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))
are the wanted block.
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:
move (value :: obsolete) steps
change x by (value :: obsolete)
No support, this merely just cannot work.
zeer121
Scratcher
94 posts

Change x by "10" STEPS

Zydrolic wrote:

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:
move (value :: obsolete) steps
change x by (value :: obsolete)
No support, this merely just cannot work.
the block moves the sprite
Zydrolic
Scratcher
1000+ posts

Change x by "10" STEPS

zeer121 wrote:

(#19)

Zydrolic wrote:

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:
move (value :: obsolete) steps
change x by (value :: obsolete)
No support, this merely just cannot work.
the block moves the sprite
(removed by moderator - please keep it polite)
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

Altrrx wrote:

a reall normal workaround (this is a joke.)
-snip-
1.unhelpful
2. offtopic
3. Very, very laggy (nearly crashed chrome)

Zydrolic wrote:

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:
move (value :: obsolete) steps
change x by (value :: obsolete)
No support, this merely just cannot work.
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
edit: monarch of the pagee

Last edited by unmissable (Dec. 9, 2023 11:54:07)

Zydrolic
Scratcher
1000+ posts

Change x by "10" STEPS

unmissable wrote:

(#21)
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
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.
Not to mention you can do whatever already:
define change x by (value) steps
change x by (value)
move (value) steps
Or have a billion variations of this.
DifferentDance8
Scratcher
1000+ posts

Change x by "10" STEPS

Altrrx wrote:

a reall normal workaround (this is a joke.)
~snip~
Please don't joke on the forums.
=

zeer121 wrote:

Zydrolic wrote:

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:
move (value :: obsolete) steps
change x by (value :: obsolete)
No support, this merely just cannot work.
the block moves the sprite
We know that the block moves the sprite, but HOW does it move the sprite?

Powered by DjangoBB