Discuss Scratch

medians
Scratcher
1000+ posts

Better Custom Blocks

cookieclickerer33 wrote:

MagicCoder330 wrote:

Looks like a great idea, even if it is ancient. This seems like it would help a LOT. also looks like its been discussed for a while… Why has ST not added it?
They did have it but it was removed right before 1.4
It was removed before the release of 1.0.

NEW: Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Fun_Cupcake_i81: https://scratch.mit.edu/projects/850535211/
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @ straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;
lapisi
Scratcher
1000+ posts

Better Custom Blocks

cookieclickerer33 wrote:

(#2494)

MagicCoder330 wrote:

Looks like a great idea, even if it is ancient. This seems like it would help a LOT. also looks like its been discussed for a while… Why has ST not added it?
They did have it but it was removed right before 1.4
what? sorry, what version had this exact suggestion?

don't forget

by the way MagicCoder330 is hosting a social experiment, I'm curious to see where it goes, please comment on it I want to see what the next phase is

uh… I just reported a project for including a swear word but in typing the report I accidentally reported it as the wrong swear word… well excrement
medians
Scratcher
1000+ posts

Better Custom Blocks

lapisi wrote:

cookieclickerer33 wrote:

(#2494)

MagicCoder330 wrote:

Looks like a great idea, even if it is ancient. This seems like it would help a LOT. also looks like its been discussed for a while… Why has ST not added it?
They did have it but it was removed right before 1.4
what? sorry, what version had this exact suggestion?
Well, not exactly and it was a prototype, but there was an output block in old vers of 0.x, and you could put it under a custom block (there were custom blocks) to create custom reporters.

NEW: Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Fun_Cupcake_i81: https://scratch.mit.edu/projects/850535211/
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @ straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;
HataDad
Scratcher
19 posts

Better Custom Blocks

“Custom reporters” seems like the most critical feature suggestion. This is rather important for teaching proper programming later. They are also equivalent to mathematical functions which is a 6th grade concept at most. They should be implemented in such a way as to disallow side effects.
medians
Scratcher
1000+ posts

Better Custom Blocks

Why did this just post now

Last edited by medians (Nov. 4, 2023 03:08:52)


NEW: Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Fun_Cupcake_i81: https://scratch.mit.edu/projects/850535211/
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @ straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;
TheMonsterOfTheDeep
Scratcher
1000+ posts

Better Custom Blocks

10 year anniversary bump

I haven't touched Scratch in a few years and opening up some of my old projects I was honestly surprised at how limited Scratch is with respect to functions… in particular, the total lack of support for local variables is something I completely forgot about, it is honestly kind of bananas to me that I wrote significant amounts of Scratch code where all functions were built on computing with global variables and lists.

It is funny to me how my original post was worded, when I literally did not understand how programming really worked. Suffice to say that nowadays, I unquestionably believe that custom reporters and local variables are extremely nice features for writing code, and I would still love to see at least some version of them in Scratch one day.

Perhaps in another 10 years.

my latest extension: 2d vector math
medians
Scratcher
1000+ posts

Better Custom Blocks

Bringing this topic up.
Also, nice, the original poster did a 10 year anniversary.. wait 2013 was 10 years ago??

NEW: Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Fun_Cupcake_i81: https://scratch.mit.edu/projects/850535211/
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @ straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;
Wonkymoon8
Scratcher
100+ posts

Better Custom Blocks

but..there is.. custom booleans… you mean like on their own?

define Wonkymoon8
A true up and coming scratcher! :D
Dont forget to follow me!
Wii For Scratch! https://scratch.mit.edu/projects/928218023/
medians
Scratcher
1000+ posts

Better Custom Blocks

Wonkymoon8 wrote:

but..there is.. custom booleans… you mean like on their own?
No there isn’t, can you explain what you’re referring to?

NEW: Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Fun_Cupcake_i81: https://scratch.mit.edu/projects/850535211/
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @ straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;
cookieclickerer33
Scratcher
1000+ posts

Better Custom Blocks

medians wrote:

Wonkymoon8 wrote:

but..there is.. custom booleans… you mean like on their own?
No there isn’t, can you explain what you’re referring to?
I think they ment Boolean input slots

Actually the correct term would be a custom predicate. A function that returns true or false is called a predicate. But a true or false value itself is called a Boolean

Last edited by cookieclickerer33 (Nov. 20, 2023 18:48:05)


⠀ ⠀ I beat Mario 64 yay! ⠀⠀ ⠀ ⠀ ⠀ ⠀ I love you ivy & may :3
⠀ ⠀ ⠀ ⠀ ⠀ ⠀⠀ ⠀ ⠀GEOMETRY DASH

⠀ ⠀ ⠀ ⠀ ⠀ ⠀ MecanX Disk 0 : Coming march 27th
Wonkymoon8
Scratcher
100+ posts

Better Custom Blocks

cookieclickerer33 wrote:

medians wrote:

Wonkymoon8 wrote:

but..there is.. custom booleans… you mean like on their own?
No there isn’t, can you explain what you’re referring to?
I think they ment Boolean input slots

Actually the correct term would be a custom predicate. A function that returns true or false is called a predicate. But a true or false value itself is called a Boolean
yeah pretty much. ive never used custom boolean input slots though

define Wonkymoon8
A true up and coming scratcher! :D
Dont forget to follow me!
Wii For Scratch! https://scratch.mit.edu/projects/928218023/
RobotChickens
Scratcher
500+ posts

Better Custom Blocks

TheMonsterOfTheDeep wrote:

(#2506)
Perhaps in another 10 years.
Like what @cookieclickerer33 said last page, we need to make a pull request to the GitHub if we want this added. When I asked the ST about USB Controller support, they said they aren't focusing on new features as they are going through reorganization at the moment. Basically, if people want this, they need to develop it themselves.


Replying to SPAM is only adding more off-topic SPAM. Just report it.


Support the suggestion HERE by adding this button to your signature
Get cool forum emojis HERE
;


Fourmoji is back and updated!!

Google Noto Emoji is superior as you can see



finally fixed the button lol



;
medians
Scratcher
1000+ posts

Better Custom Blocks

Bringing this topic up.

NEW: Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Fun_Cupcake_i81: https://scratch.mit.edu/projects/850535211/
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @ straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;
96498cb
Scratcher
100+ posts

Better Custom Blocks

+1!!!!!!!

highlight (double click) a piece of text + control (command on mac) + shift + down arrow key to see my full siggy.
define 96498cb
forever
help forums :: custom
end
Come to this link for awesome code, employees, and service!
100th post!!!!!!!!! https://scratch.mit.edu/discuss/topic/706823/?page=185#post-7670932

This is Mira. She is my siggy protector.
(= ^ •⩊• ^ = :: #aaaaaa)
Hey, I am a small creator that doesn't have a lot of projects, but i would appreciate if you liked and faved them. (you don't have to)
Super_Basher
Scratcher
66 posts

Better Custom Blocks

No there isn’t, can you explain what you’re referring to?
I think they ment Boolean input slots

Actually the correct term would be a custom predicate. A function that returns true or false is called a predicate. But a true or false value itself is called a Boolean

Well, the Boolean would be referred to as “
<[uwu] ”placeholder [uwu] ?>

No offense!

Remember, Follow @Super_Basher!
____________________________________
when green flag clicked
become a new scratcher ::sound
forever

move (Keep On Scratching ::red) steps
end
________________________________________________
Remember, the first one is a RED HAT BLOCK, and the second one is a RED CAP BLOCK. :: looks

:: hat

::cap

when hit by nuke :: hat :: motion
try to avoid it before getting hit :: motion
run away (12) miles per hour :: motion
take cover :: cap :: motion
RobotChickens
Scratcher
500+ posts

Better Custom Blocks

Super_Basher wrote:

(#2515)

cookieclickerer33 wrote:

(#2510)

medians wrote:

Wonkymoon8 wrote:

but..there is.. custom booleans… you mean like on their own?
No there isn’t, can you explain what you’re referring to?
I think they ment Boolean input slots

Actually the correct term would be a custom predicate. A function that returns true or false is called a predicate. But a true or false value itself is called a Boolean

Well, the Boolean would be referred to as “
<[uwu] ”placeholder [uwu] ?>

No offense!
Who were you replying to?
Edit: nvm I fixed it :-)

Last edited by RobotChickens (Dec. 3, 2023 01:56:53)



Replying to SPAM is only adding more off-topic SPAM. Just report it.


Support the suggestion HERE by adding this button to your signature
Get cool forum emojis HERE
;


Fourmoji is back and updated!!

Google Noto Emoji is superior as you can see



finally fixed the button lol



;
marsmark
Scratcher
59 posts

Better Custom Blocks

BUMP until ST adds this!

My Projects

Scratch++ | Interpreted coding Engine
An introductory text-based programming language made in Scratch; designed for experienced scratchers; that transforms scratch blocks into text form.
medians
Scratcher
1000+ posts

Better Custom Blocks

Bringing this topic up.

NEW: Medians bamboozled by 3.0 (version 3.0): https://scratch.mit.edu/projects/979822351/
hi875230163394: You're similar to valve in that you both hate a certain number…
Scratch 0.x, 1.x, 2.x, 3.x and LogoBlocks Archives
Bamboozlement: https://scratch.mit.edu/studios/33739789
Fun_Cupcake_i81: https://scratch.mit.edu/projects/850535211/
Years on internet: 15 (soon 16)
medians: Oh god not this utc - 12 thing again..
Fun_Cupcake_i81: What, were you expecting not to see the utc - 12 thing again? THE UTC - 12 THIGN ALWAYS RETURNS. ALWAYS.
medians: I knew it would happen. I was the one who started it last year.
Fun_Cupcake_i81: Well then if you didn't want it back maybe you need to time travel to last year and fix that

Oh wait if you could time travel I think we all know exactly when you would go-
user1: That picture is from 2.0. Now he’s at my house and is my pet.
user2: But this is medians we're talking about, so “from 2.0” can mean the same thing as “from five seconds ago”.

Detect Scratch version here
My other accounts: @selfexplanatory @modesties @chaircard @fireflyhero @dividendyield @colloids @radians @skeuamorphism @dihectogon @anglebisector @aau- @EditBlockColors @AdamantOrb @MoongeistBeam @festively @Ampharos_ @ straightforwardness
i trolled redcat LOL





if you see this
{what method did you use::control hat
answer on profile ::motion
} ::operators
;
Jonathan50
Scratcher
1000+ posts

Better Custom Blocks

TheMonsterOfTheDeep wrote:

10 year anniversary bump

I haven't touched Scratch in a few years and opening up some of my old projects I was honestly surprised at how limited Scratch is with respect to functions… in particular, the total lack of support for local variables is something I completely forgot about, it is honestly kind of bananas to me that I wrote significant amounts of Scratch code where all functions were built on computing with global variables and lists.

It is funny to me how my original post was worded, when I literally did not understand how programming really worked. Suffice to say that nowadays, I unquestionably believe that custom reporters and local variables are extremely nice features for writing code, and I would still love to see at least some version of them in Scratch one day.

Perhaps in another 10 years.
The monster arose from the deep :package: :thisandagainplsexplain:

On the one hand, custom reporters would definitely make the absence of local variables much easier to bear. OTOH, local variables shouldn't be hard to understand, so why not — it's more essential than other things that get added.

Last edited by Jonathan50 (Dec. 3, 2023 22:10:39)


Not yet a Knight of the Mu Calculus.
TerryLeeStudio
Scratcher
100+ posts

Better Custom Blocks

Jonathan50 wrote:

TheMonsterOfTheDeep wrote:

10 year anniversary bump

I haven't touched Scratch in a few years and opening up some of my old projects I was honestly surprised at how limited Scratch is with respect to functions… in particular, the total lack of support for local variables is something I completely forgot about, it is honestly kind of bananas to me that I wrote significant amounts of Scratch code where all functions were built on computing with global variables and lists.

It is funny to me how my original post was worded, when I literally did not understand how programming really worked. Suffice to say that nowadays, I unquestionably believe that custom reporters and local variables are extremely nice features for writing code, and I would still love to see at least some version of them in Scratch one day.

Perhaps in another 10 years.
The monster arose from the deep :package: :thisandagainplsexplain:

On the one hand, custom reporters would definitely make the absence of local variables much easier to bear. OTOH, local variables shouldn't be hard to understand, so why not — it's more essential than other things that get added.
There is local in sprite variable, just add a variable and select local. Maybe you mean in a group of blocks. I still think ‘report’ is an unintuitive name and scratch already have unconventional names like custom blocks instead of functions or repeat until instead of while

Last edited by TerryLeeStudio (Dec. 6, 2023 12:45:03)


Check out my project
SATS
NextDOS

Powered by DjangoBB