Discuss Scratch

Frenzyboyz33
Scratcher
100+ posts

Update the Scripts Category

I have almost finished a good concept for finalizing the Make a Block menu.
Menu not made yet.

First of all, Branches. This may seem a bit confusing at first, so I added the info buttons for Conditional? and Loop Count.
-Conditional is used by If, Else, Repeat Until, and While. When toggled, you can insert a boolean value from the block into the Condition Slot, and will only run the branch if it's True.
-Loop Count is used by Each, and Repeat. It specifies how many times it runs the branch.
You can also insert code above and below the branch-child.

We also have Cap, a toggle between Cap and Stack. Not compatible with Hat Toggle

Hat - incompatible with the Cap toggle, since that would be impossible to show in forums, and would have no purpose.
-Block-Triggered is a toggle used by Broadcast and Recieve, no final concept yet.
-Conditional - used by When <>. Pretty Obvious what it's for.
Hat Mock-Up: https://piskel-imgstore-b.appspot.com/img/9aba197d-91ab-11ed-ae09-9fe8a74236a4.gif
Frenzyboyz33
Scratcher
100+ posts

Update the Scripts Category

Custom Branches are done!

Concept for
run if () is even{

}

https://piskel-imgstore-b.appspot.com/img/e06acae6-91af-11ed-b67a-9fe8a74236a4.gif
Frenzyboyz33
Scratcher
100+ posts

Update the Scripts Category

you can't remove the branch child block, but can stack above and below. removing a stack from above just removes the stack until that point
cookieclickerer33
Scratcher
1000+ posts

Update the Scripts Category

I literally don’t understand this at all
If I (a girl who understands c++) doesn’t understand it
Then it’s probably not a good fit for a children’s programming language
PkmnQ
Scratcher
1000+ posts

Update the Scripts Category

Frenzyboyz33 wrote:

Custom Branches are done!

Concept for
run if () is even{

}

https://piskel-imgstore-b.appspot.com/img/e06acae6-91af-11ed-b67a-9fe8a74236a4.gif
[offtopic]
<((number or text :: custom-arg) mod (2)) = [0]>
[/offtopic]
What if you wanted to run something before and after the script inside, for example if you needed to position the sprite in a correct way?
Maximouse
Scratcher
1000+ posts

Update the Scripts Category

PkmnQ wrote:

What if you wanted to run something before and after the script inside, for example if you needed to position the sprite in a correct way?

Frenzyboyz33 wrote:

you can't remove the branch child block, but can stack above and below. removing a stack from above just removes the stack until that point
blablablahello
Scratcher
1000+ posts

Update the Scripts Category

please either explain using simple words, or link to an article that documents similar functions in other programming languages

I am having a really hard time understanding what in the world this is supposed to do
PkmnQ
Scratcher
1000+ posts

Update the Scripts Category

blablablahello wrote:

please either explain using simple words, or link to an article that documents similar functions in other programming languages

I am having a really hard time understanding what in the world this is supposed to do
They allow you to make more custom blocks, like custom if-like blocks or hat blocks. Like Snap, except because of the way Scratch works, it has to be more convoluted.

Powered by DjangoBB