Discuss Scratch

kccuber
Scratcher
1000+ posts

MeowBlocks - A (Real) Scratch 3 Mod

CST1229 wrote:

also, what blocks will this have?
Hmm. I want to get stage scrolling working.
Probably the scroll blocks, and I'll also add the removed ones that still exist like:
while <> {

} :: control

(counter :: control)
increment counter :: control
clear counter :: control
<loud? :: sensing>
for each [foo v] in (10) {

} :: control
when this sprite touches (mouse-pointer v) :: hat events

Plus a lot of new ones like:
(operating system :: sensing)
(browser :: sensing)
(user agent :: sensing)
(get data [] from JSON [] :: operators)
(convert [list v] to JSON :: list)
<is on [edge v]? :: sensing>
[whisper v] [] :: looks stack
[whisper v] [] for () secs :: looks
[sign v] of () :: operators // "reports 1 if it is positive, 0 if it is zero and -1 if it is negative" ~ BanMeOS
(is () a [positive v] ::operators)
(is () a [negative v] ::operators)
(is () a [decimal v] ::operators)
(is () a [string v] ::operators)
(is () a [zero v] ::operators)
(is () a [negative integer v] ::operators)
(is () a [integer v] ::operators)
(is () a [whole v] ::operators)
(is () a [natural v] ::operators)
(()^() :: operators)
bounce :: motion
More stop blocks like stop all but this script
(- () :: operators) // reverse the number (multiply by -1)
(get data from url [] :: extension)
(convert [CSV v] data [] to costume :: looks)
(convert [SVG/XML v] data [] to costume :: looks)
(convert [Base64 v] data [] to costume :: looks)
<() xor () :: operators>
(days since year () :: sensing)
Maximouse
Scratcher
1000+ posts

MeowBlocks - A (Real) Scratch 3 Mod

kccuber wrote:

(user agent :: sensing)
I like most of the blocks, but I don't think this one is very useful – parsing it would be difficult.
u7p
Scratcher
100+ posts

MeowBlocks - A (Real) Scratch 3 Mod

Can you clone the scratch-gui and scratch-vm on github?
Tadpole971
Scratcher
71 posts

MeowBlocks - A (Real) Scratch 3 Mod

kccuber wrote:

CST1229 wrote:

also, what blocks will this have?
Hmm. I want to get stage scrolling working.
Probably the scroll blocks, and I'll also add the removed ones that still exist like:
while <> {

} :: control

(counter :: control)
increment counter :: control
clear counter :: control
<loud? :: sensing>
for each [foo v] in (10) {

} :: control
when this sprite touches (mouse-pointer v) :: hat events

Sounds like it would be easy to add them back into the block palette. Maybe even add functionality to ones that no longer work.
dhuls
Scratcher
1000+ posts

MeowBlocks - A (Real) Scratch 3 Mod

u7p wrote:

Can you clone the scratch-gui and scratch-vm on github?
they don't have a github account.

How about
if on [edge v], bounce::motion
Tadpole971
Scratcher
71 posts

MeowBlocks - A (Real) Scratch 3 Mod

dhuls wrote:

u7p wrote:

Can you clone the scratch-gui and scratch-vm on github?
they don't have a github account.

How about
if on [edge v], bounce::motion
i think i already requested that, oh wait! I did.

Tadpole971 wrote:

ideas:

if on [edge v], bounce :: motion
(numbers from (1) to (10) :: operators //from snap but its in the operators category
kccuber
Scratcher
1000+ posts

MeowBlocks - A (Real) Scratch 3 Mod

Maximouse wrote:

kccuber wrote:

(user agent :: sensing)
I like most of the blocks, but I don't think this one is very useful – parsing it would be difficult.
oops. i feel like it should report something like this:
OS and Version, Browser and Version
So
Windows NT 10.0, Firefox 92.0
Much more readable than
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0
right? Even though it's not exactly a “user agent”
Maximouse
Scratcher
1000+ posts

MeowBlocks - A (Real) Scratch 3 Mod

kccuber wrote:

Maximouse wrote:

kccuber wrote:

(user agent :: sensing)
I like most of the blocks, but I don't think this one is very useful – parsing it would be difficult.
oops. i feel like it should report something like this:
OS and Version, Browser and Version
So
Windows NT 10.0, Firefox 92.0
Much more readable than
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0
right? Even though it's not exactly a “user agent”
That would probably be the same as
(join (operating system :: sensing) (join [, ] (browser :: sensing))
so it still wouldn't add much.
gdpr70f61245d597c25631fbb669
Scratcher
100+ posts

MeowBlocks - A (Real) Scratch 3 Mod

There's also no guarantee a user agent would contain that information at all, you can set your user agent to be any string of text you want.
Chiroyce
Scratcher
1000+ posts

MeowBlocks - A (Real) Scratch 3 Mod

Naleksuh wrote:

There's also no guarantee a user agent would contain that information at all, you can set your user agent to be any string of text you want.
Yes, Safari —
Tadpole971
Scratcher
71 posts

MeowBlocks - A (Real) Scratch 3 Mod

Idea, dont add the new join blocks to the palette, do this:

Original Project:

(join (join [Hello] [there]) [world])

When you save the project it gets converted to

(join [Hello] [There] [World] :: operators)

(i have no idea if this is possible but it might be)
u7p
Scratcher
100+ posts

MeowBlocks - A (Real) Scratch 3 Mod

I've had this idea of making a scratch mod that has a bunch of advanced blocks like a for loop (like the in snap that stores the index as a script variable) and when you save the project to your computer it replaces the blocks with their workarounds (so a variable named “i” and a repeat until loop would be created for the for loop I mentioned earlier).
Tadpole971
Scratcher
71 posts

MeowBlocks - A (Real) Scratch 3 Mod

u7p wrote:

I've had this idea of making a scratch mod that has a bunch of advanced blocks like a for loop (like the in snap that stores the index as a script variable) and when you save the project to your computer it replaces the blocks with their workarounds (so a variable named “i” and a repeat until loop would be created for the for loop I mentioned earlier).
Nice.
CST1229
Scratcher
1000+ posts

MeowBlocks - A (Real) Scratch 3 Mod

u7p wrote:

I've had this idea of making a scratch mod that has a bunch of advanced blocks like a for loop (like the in snap that stores the index as a script variable) and when you save the project to your computer it replaces the blocks with their workarounds (so a variable named “i” and a repeat until loop would be created for the for loop I mentioned earlier).
The for loop is actually already in vanilla Scratch, as a hacked block!
u7p
Scratcher
100+ posts

MeowBlocks - A (Real) Scratch 3 Mod

CST1229 wrote:

u7p wrote:

I've had this idea of making a scratch mod that has a bunch of advanced blocks like a for loop (like the in snap that stores the index as a script variable) and when you save the project to your computer it replaces the blocks with their workarounds (so a variable named “i” and a repeat until loop would be created for the for loop I mentioned earlier).
The for loop is actually already in vanilla Scratch, as a hacked block!
I know, I was just giving it as a example and its not as advanced as the one in snap. Anyways I'm probably never going to create it since I don't have any experience with the scratch gui and vm.

Last edited by u7p (Sept. 27, 2021 17:04:19)

selfexplanatory
Scratcher
100+ posts

MeowBlocks - A (Real) Scratch 3 Mod

Tadpole971 wrote:

Windowscreator7 wrote:

Tadpole971 wrote:

dhuls wrote:

Ideas:
(web browser::sensing) // Reports as Chrome 93, Firefox 91, Safari 14, etc.
(operating system::sensing) // Reports as Windows 11, macOS 12, Android 12, iOS 15, etc.
has flash player? :: sensing boolean
flash player version :: sensing reporter
flash player has ended
i know
oh wait, I get what you mean. the forums were made back when flash was still supported and scratch ran on it. the forums haven't been updating in a while. they haven't removed the flash player thing yet

kccuber wrote:

BanMeOS wrote:

kccuber the name made it confusing. should of been if touching edge
Oh, so like this?
<if on edge? :: sensing>
or
<touching (edge v) ?>
(sorry for the messed up looking dropdown on this last one, 3.0 blocks use a rounded drop down)
well i have a redacted that shows 3.0 blocks on forums
selfexplanatory
Scratcher
100+ posts

MeowBlocks - A (Real) Scratch 3 Mod

more ideas:
Motion
point towards [random position v]

point towards x: () y: () ::motion

point towards [sprite v]

point towards [random sprite v]

point towards [random sprite v]

glide () secs to [sprite v] ::motion

glide () secs to [random sprite v] ::motion

go to [sprite v]

go to [random sprite v]

go to [center v]

point towards [center v]

glide () secs to [center v] ::motion
Looks
clear speech bubbles in [sprite v] ::looks

clear speech bubbles in [other sprites v] ::looks

clear speech bubbles in [all sprites v] ::looks

clear speech bubbles in [this sprite v] ::looks

[say v] () for () secs in [sprite v] ::looks

[say v] () for () secs in [all sprites v] ::looks

[say v] () for () secs in [other sprites v] ::looks

[say v] () for () secs in [this sprite v] ::looks

[previous v] costume ::looks

[random v] costume::looks

[next v] costume::looks

([ v] effect ::looks)
Sound:
([pitch v] ::sound)

([volume v] ::sound)

([pan left/right v] ::sound)
Events:
when this sprite clicked () times in () seconds ::events hat

when <> is [true v] ::events hat

when <> is [false v] ::events hat
Control:
(number of clones ::control)
(counter ::control)
Operator:
None
Variables:
([foo v] ::variables)
Lists:
([list v] ::list)
My Blocks
custom block ::#4C0099 hat
if you have questions you can ask below
kccuber
Scratcher
1000+ posts

MeowBlocks - A (Real) Scratch 3 Mod

selfexplanatory wrote:

more ideas:
-snip-
when <> is [true v] ::events hat

when <> is [false v] ::events hat

if you have questions you can ask below
the false one is the most useless block ever, aside from say nothing, because you can just use a
<not <>>
selfexplanatory
Scratcher
100+ posts

MeowBlocks - A (Real) Scratch 3 Mod

kccuber wrote:

selfexplanatory wrote:

more ideas:
-snip-
when <> is [true v] ::events hat

when <> is [false v] ::events hat

if you have questions you can ask below
the false one is the most useless block ever, aside from say nothing, because you can just use a
<not <>>
yes you can though i think just a dropdown would be a bit faster (yes its 2 blocks though still)
say nothing would require putting the say () block with no input in all of the sprites with the text bubbles
han614698
Scratcher
1000+ posts

MeowBlocks - A (Real) Scratch 3 Mod

selfexplanatory wrote:

kccuber wrote:

selfexplanatory wrote:

more ideas:
-snip-
when <> is [true v] ::events hat

when <> is [false v] ::events hat

if you have questions you can ask below
the false one is the most useless block ever, aside from say nothing, because you can just use a
<not <>>
yes you can though i think just a dropdown would be a bit faster (yes its 2 blocks though still)
say nothing would require putting the say () block with no input in all of the sprites with the text bubbles
But the workaround is like really simple:
when <>::control hat
when <not <>>::control hat

Powered by DjangoBB