Discuss Scratch

tycable
Scratcher
100+ posts

Better Custom Blocks

We need better custom blocks!
define block if [<>] then {} else use [[]] and {} and repeat [()] {} (... :: tip stack)
(<>) {if <<>> then
...
end} ([]) {
else ([]){... ([]) :: tip stack} :: custom-arg} (()) {repeat (())
...
end} :: custom-arg cap

set [foo v] to [0]
block if <mouse down?> then {think [Mouse down.] for (2) secs} else use ([hi]) and {say ([hi]) for (2) secs} and repeat (10) {change [foo v] by (1)}

define <true>
<[0] = [0]> :: custom-arg cap

define (pi)
(3.14159265359) :: custom-arg cap

define <(broadcast ⛛ :: custom-arg) received?>
<((broadcast ⛛ :: custom-arg) :: variables) = [true]> :: custom-arg cap

when I receive [message1 v]
set [message1 v] to [true]
wait (0.00001) secs
set [message1 v] to [false]

<[message1 v] received? :: custom-arg>

Hi! I'm Platformy! I'm a host for an object show called LC( named after the moderators on Level Palace), click my PFP and you should see it.
-Accio-
Scratcher
1000+ posts

Better Custom Blocks

What are you suggesting here, please use words, and give each new block it's own suggestion topic.

Hi There! I'm -Accio-


I am currently attending university for a Bachelor's of Science in Chemistry.

“If you are not part of the solution, you are part of the precipitate”
tycable
Scratcher
100+ posts

Better Custom Blocks

Oh, okay. Typing {} in a custom block would make it have a C-block mouth. Drag the “…” to a mouth to show what will be the real mouth.

Hi! I'm Platformy! I'm a host for an object show called LC( named after the moderators on Level Palace), click my PFP and you should see it.
NilsTheBest
Scratcher
1000+ posts

Better Custom Blocks

I don't understand what you are suggesting. Could you explain in detail what each function would do?

NilsTheChair | 5 years on Scratch | 4000+ posts | former wiki editor | 332nd FPC | CoR founder
UstedButler
New to Scratch
2 posts

Better Custom Blocks

I agree I like better custom blocks too!
tycable
Scratcher
100+ posts

Better Custom Blocks

NilsTheBest wrote:

I don't understand what you are suggesting. Could you explain in detail what each function would do?
Here I go: If you add {} to a custom block, it'll have a “mouth” for a C block, or an E block if you add 2. Take the “…” and put 1 in every mouth. Put another C block around the … as well! That's the C one, and the boolean/reporter: It would be a define block, but there'd be a boolean/reporter slot at the bottom. Like this!
define <...>
<> :: cap custom
define (...)
() :: cap custom
You could just put a bunch of boolean/reporters-and-numbers at the bottom hole. The boolean/reporter you made would act like all those booleans/reporters at once.

Hi! I'm Platformy! I'm a host for an object show called LC( named after the moderators on Level Palace), click my PFP and you should see it.
tycable
Scratcher
100+ posts

Better Custom Blocks

We also need dropdowns and colors and Added Inputs for custom blocks. We can select which kind it is from a list. One is “position”, one is “sprites”, one is “sprites, stage, and mice”, one is “variable” and so on. Maybe even “custom”!
define [var ▼] color to with colors {[1l]>[2l]>[3l]>[4l]>[5l]>} until <dun> :: custom_arg
repeat until <dun>
set (variable ▼) color to (1l) :: variables
set (variable ▼) color to (2l) :: variables
set (variable ▼) color to (3l) :: variables
set (variable ▼) color to (4l) :: variables
set (variable ▼) color to (5l) :: variables
end

Last edited by tycable (Jan. 17, 2019 19:28:38)


Hi! I'm Platformy! I'm a host for an object show called LC( named after the moderators on Level Palace), click my PFP and you should see it.
HedwigsHat
Scratcher
1000+ posts

Better Custom Blocks

this is a duplicate of https://scratch.mit.edu/discuss/topic/20661/

ctrl shift down or shift down to see the rest of my signature
hello this is my signature
30000+ hours work scratch project of mine
why do people not realize that kumquats are fruit you can just eat the evil kumquats
my kumquat eaters:
<O_O :: #ff0000> // gary 
<⌐_⌐ :: #FFA500> // bob
<:) :: #fff000> // james
<0_0 :: #00ff00> // noah
<v_v :: #0000ff> // felix
<*_* :: #800080> // lucas
Last edited by kaj (Tomorrow 0:00:00)
mmnagelia
Scratcher
100+ posts

Better Custom Blocks

HedwigsHat wrote:

this is a duplicate of https://scratch.mit.edu/discuss/topic/20661/
Don't necropost, this has been a dead thread for over 2 years.

Learning Node.js? Great! But, don't waste your time creating a web server. I already created a fully functional Node.js server on Github right here! It also has a very detailed documentation!
Or are you interested in making games in Unity? Want to see how I'm making my very own FPS game? Then see my FPS-Game repo right here!
han614698
Scratcher
1000+ posts

Better Custom Blocks

mmnagelia wrote:

HedwigsHat wrote:

this is a duplicate of https://scratch.mit.edu/discuss/topic/20661/
Don't necropost, this has been a dead thread for over 2 years.

scratch wiki wrote:

there's no necroposting in suggestions

<Scratch Wikian | Forum Helper | Almost to 6000 Posts! | Please be aware I may mistype things, my wrist is fractured>

Credit to -gge for the icons in my signature | I condensed all this code into five lines using [p] tags, idk why




wvj
Scratcher
1000+ posts

Better Custom Blocks

necroposting doesn't exist in Suggestions

mmnagelia
Scratcher
100+ posts

Better Custom Blocks

han614698 wrote:

mmnagelia wrote:

HedwigsHat wrote:

this is a duplicate of https://scratch.mit.edu/discuss/topic/20661/
Don't necropost, this has been a dead thread for over 2 years.

scratch wiki wrote:

there's no necroposting in suggestions Okay, sorry I'm too used to the Help With Scripts sub-forum.

Learning Node.js? Great! But, don't waste your time creating a web server. I already created a fully functional Node.js server on Github right here! It also has a very detailed documentation!
Or are you interested in making games in Unity? Want to see how I'm making my very own FPS game? Then see my FPS-Game repo right here!
sathvikrias
Scratcher
500+ posts

Better Custom Blocks

dupe!!!

Moving from Scratch? Don't learn C or Java, try Snap!
han614698
Scratcher
1000+ posts

Better Custom Blocks

sathvikrias wrote:

dupe!!!
Someone already said that.

HedwigsHat wrote:

this is a duplicate of https://scratch.mit.edu/discuss/topic/20661/
Ninja'd by 3 hours.

<Scratch Wikian | Forum Helper | Almost to 6000 Posts! | Please be aware I may mistype things, my wrist is fractured>

Credit to -gge for the icons in my signature | I condensed all this code into five lines using [p] tags, idk why




gosoccerboy5
Scratcher
1000+ posts

Better Custom Blocks

han614698 wrote:

mmnagelia wrote:

HedwigsHat wrote:

this is a duplicate of https://scratch.mit.edu/discuss/topic/20661/
Don't necropost, this has been a dead thread for over 2 years.

scratch wiki wrote:

there's no necroposting in suggestions
Still, there's no need to bump up an old thread to tell it that it's a dupe.
also, don't add random tags to annoy people.

Last edited by gosoccerboy5 (April 23, 2021 15:33:10)


Powered by DjangoBB