Discuss Scratch

DaSpudLord
Scratcher
1000+ posts

(round ()) block change

AonymousGuy wrote:

stickfiregames wrote:

I would support this since it makes it easier to switch between the operator blocks.

To everyone saying that “round of” doesn't make sense, neither does “10^ of” because it would be read as “10 to the power of of”. Anyway that wouldn't stop the from making the block.
But because ^ is a symbol, it's meaning is not directly read - I still read it “10 to the power of” because the of is simply not read when reading it like that.

But “round of” is much more obviously weird.
No support beause of this. And honestly, does it really matter?
Pot-of-Gold
Scratcher
1000+ posts

(round ()) block change

DaSpudLord wrote:

AonymousGuy wrote:

stickfiregames wrote:

I would support this since it makes it easier to switch between the operator blocks.

To everyone saying that “round of” doesn't make sense, neither does “10^ of” because it would be read as “10 to the power of of”. Anyway that wouldn't stop the from making the block.
But because ^ is a symbol, it's meaning is not directly read - I still read it “10 to the power of” because the of is simply not read when reading it like that.

But “round of” is much more obviously weird.
No support beause of this. And honestly, does it really matter?
I agree. Unless it totally doesn't make sense.
humantorch01
Scratcher
85 posts

(round ()) block change

I think that the round block should be have more functions instead of adding it to the:
([abs v] of ())
It should be:
(round ()to the nearest[tenth etc. v] :: operators)

Last edited by humantorch01 (Oct. 16, 2016 20:52:09)

Sheep_maker
Scratcher
1000+ posts

(round ()) block change

Alternatively there could be a right-click switching option between round () and () of () so we don't have to drag the block and its parameter out to switch between floor/ceiling and round
Steve0Greatness
Scratcher
1000+ posts

(round ()) block change

support, this just makes sense, as said in the ABS () (block) article on the Scratch Wikipedia:

Removal wrote:

In Scratch 1.2, this block was removed, and replaced with a general () of () block. It contains 12 mathematical functions. The top value is abs, but the default is sqrt (square root).
It also makes the block list less big, making it easier to search through, and Flooring and ceiling are already part of the ()of() block
Supermariofan432
Scratcher
100+ posts

(round ()) block change

(round ([round v] of (9)))
DevanWolf
Scratcher
100+ posts

(round ()) block change

Supermariofan432 wrote:

DevanWolf wrote:

derpmeup wrote:

No support, I think it looks fine already.
Are you sure they gone remove the old round(number) block and turn into a function that uses (|round v| of (number))?
P B S K I D S
Please stay on-topic, not about me.
Tealseagull
Scratcher
84 posts

(round ()) block change

DevanWolf wrote:

because it look more better than the other one.
That is not a reason to change the
(round ())
block into the confusing
([round v] of () )
block, which the scratch blocks plugin thinks is a sensing block. However,
(round () [up v])
makes a little more sense, is that what you were going for?
Also, GRAMMAR.
999qu
Scratcher
55 posts

(round ()) block change

AonymousGuy wrote:

stickfiregames wrote:

I would support this since it makes it easier to switch between the operator blocks.

To everyone saying that “round of” doesn't make sense, neither does “10^ of” because it would be read as “10 to the power of of”. Anyway that wouldn't stop the from making the block.
But because ^ is a symbol, it's meaning is not directly read - I still read it “10 to the power of” because the of is simply not read when reading it like that.

But “round of” is much more obviously weird.


How about
([10 to the power v] of (9):: operators reporter

Last edited by 999qu (July 20, 2021 17:11:00)

ssvbxx2
Scratcher
100+ posts

(round ()) block change

I've read the arguments posed by both sides, and I semi-support this. It would possibly make the palette less cluttered, but the wording is awkward. However, the wording can be slightly improved:
([nearest number v] of ()::operators reporter)
It still sounds a little awkward, but at least it's more natural than than “round of”.
Prime689
Scratcher
1000+ posts

(round ()) block change

ssvbxx2 wrote:

(#36)
I've read the arguments posed by both sides, and I semi-support this. It would possibly make the palette less cluttered, but the wording is awkward. However, the wording can be slightly improved:
([nearest number v] of ()::operators reporter)
It still sounds a little awkward, but at least it's more natural than than “round of”.
That seems a bit vague. Alike, the nearest number of/round () doesn't specify what the number will round to. A better block could be
(round () to [10ths place v] :: operators reporter) // Dropdown could extend to 100ths, 1000ths, etc.
Jackson49_test
Scratcher
100+ posts

(round ()) block change

Bump
brooc210
Scratcher
100+ posts

(round ()) block change

Support! I hate having to switch blocks, plus floor (round down) and ceiling (round up) are also part of this block. It doesnʼt make any sense!
Asyadfghjkl
Scratcher
100+ posts

(round ()) block change

who likes
([round v] of (7948457))
?
also block plugin thinks its a sensing block
nonameistaken
Scratcher
77 posts

(round ()) block change

No support
medians
Scratcher
1000+ posts

(round ()) block change

TheHockeyist wrote:

No support. This would cause numerous scripts to stop working.
When the forever if loop was removed, they converted it into the workaround:
forever
if <> then

end
end
When the if block was replaced with if then in v230, the old block was converted to the new one.
When the pen shade/loud block was removed, all they did was hide it from the block palette.

Asyadfghjkl wrote:

who likes
([round v] of (7948457))
?
also block plugin thinks its a sensing block
That's because there also happens to be a block in the sensing category, and if the dropdown option doesn't exist in the operators block, it will assume you're trying to type something in the sensing block or a local variable name:
([ v] of [Sprite1 v])
To go around this, just color it like this:
([round v] of (num ::grey) ::operators)

nonameistaken wrote:

No support
You have to explain your reasoning.
Anyway, I believe that they should instead just make a block rounding to a certain digit:

Though that's likely another suggestion.
Asyadfghjkl
Scratcher
100+ posts

(round ()) block change

medians wrote:

snip
To go around this, just color it like this:
([round v] of (num ::grey) ::operators)
snip
Anyway, I believe that they should instead just make a block rounding to a certain digit:

Though that's likely another suggestion.
i woud like
 (round (194.24) to the nearest multiple of (1))
but support.

Last edited by Asyadfghjkl (July 26, 2023 03:32:19)

MagentaDude1359
Scratcher
100+ posts

(round ()) block change

no support, everyone's used to the current block and changing it to the block suggested would break lots of scripts.
medians
Scratcher
1000+ posts

(round ()) block change

Tealseagull wrote:

DevanWolf wrote:

because it look more better than the other one.
That is not a reason to change the
(round ())
block into the confusing
([round v] of () )
block, which the scratch blocks plugin thinks is a sensing block. However,
(round () [up v])
makes a little more sense, is that what you were going for?
Also, GRAMMAR.
There's already dropdowns for rounding up and down:
([ceiling v] of ()) //up
([floor v] of ()) //down

Asyadfghjkl wrote:

medians wrote:

snip
To go around this, just color it like this:
([round v] of (num ::grey) ::operators)
snip
Anyway, I believe that they should instead just make a block rounding to a certain digit:

Though that's likely another suggestion.
i woud like
 (round (194.24) to the nearest multiple of (1))
but support.
Pretty much the same thing as what I put, just with different wording.
medians
Scratcher
1000+ posts

(round ()) block change

MagentaDude1359 wrote:

no support, everyone's used to the current block and changing it to the block suggested would break lots of scripts.
No, there have been blocks like the old go to front block, and if you upload it to 3.0, it just becomes the go to front layer option. Forever if loop becomes an if statement inside a forever loop. Set pen shade doesn't change at all.
Also, you could say that about any name change to blocks/removed blocks.
Edit: Anyway new dropdown options

Last edited by medians (July 26, 2023 19:08:07)

Powered by DjangoBB