Discuss Scratch

LuckyLucky7
Scratcher
1000+ posts

Lucky7 Blocks - A ScratchX Extension

Introduction:

Welcome to my extension, Lucky7 Blocks! Are you wondering how to get this extension? Follow the step-by-step here!
I've been developing this extension ever since July 25.

Want something to be added this this extension? Suggest it!

This extension will update very slowly or end on August 20.

Last edited by LuckyLucky7 (Aug. 10, 2018 10:45:18)


I have about 1600 posts, 75 projects, and 65 followers.

LuckyLucky7
Scratcher
1000+ posts

Lucky7 Blocks - A ScratchX Extension

Blocks:
when <>::events//Does a script when the boolean is true.

forever if <>{

}::control loop//Does something forever if the boolean is true.

([Hello] to [UPPERCASE v]::operators)//Converts a string to UPPERCASE or lowercase.

(() ^ ()::operators)//Reports the power of a number.

(pi::operators)//Returns the main digits of pi.

(negative()::operators//Reports the negative value of any number, even if it is already negative.

(positive()::operators//Reports the positive value of any number, even if it is already positive.

<[#f00] = [#f00]::operators>//Exactly like the "<[2] = [2]>" block, but compares colors to each other instead

(the answer to life and everything::operators)//Reports 42, this is a test block

(report [thing]::operators)//Reports a string, a value of a reporter, and a value of a boolean.

Last edited by LuckyLucky7 (Aug. 1, 2018 23:46:38)


I have about 1600 posts, 75 projects, and 65 followers.

LuckyLucky7
Scratcher
1000+ posts

Lucky7 Blocks - A ScratchX Extension

To-Do List:

Key:
✔: Functional and Finished
̶✔̶: Anything besides Functional and Finished
X: Canceled and slight chance of it being added back
̶X̶: Most likely to be eliminated from this block list
?: Most likely to be removed or added back
#: Update
#(4 blocks were recently eliminated from this block list)
#(2 secret blocks were added to this extension, but not to this list because these blocks are secrets)
#(6 blocks were recently added to this block list)
create variable [my variable]::variables//̶X̶

when [var v][> v](10)::events//X

when <>::events//✔, doesn't execute forever like how this block was removed from Scratch

forever if <>{
}::control loop cap// ̶✔̶

restart project::control cap//̶X̶

([Hello] in [UPPERCASE v]::operators// ̶✔̶

(() ^ ()::operators)//✔

(negative()::operators//✔

(positive()::operators//✔

(pi::operators)//✔

<true?::operators>//X

<false?::operators>//X

<[#f00] = [#f00]>//✔

(the answer to everything::operators)//✔, shortened name of 'the answer to the universe and everything'

(report[thing]::operators)//✔

Last edited by LuckyLucky7 (Aug. 1, 2018 23:48:17)


I have about 1600 posts, 75 projects, and 65 followers.

LuckyLucky7
Scratcher
1000+ posts

Lucky7 Blocks - A ScratchX Extension

Hello? Is anybody here?

Last edited by LuckyLucky7 (July 27, 2018 12:56:30)


I have about 1600 posts, 75 projects, and 65 followers.

--_Nova_--
Scratcher
100+ posts

Lucky7 Blocks - A ScratchX Extension

A few things

1. Why is stop nothing a cap block? Why would someone add extra assets for “decoration”? When would I use a decoration block?
2. When hat block is kinda pointless - if block and operators are more flexible anyways
3. How many digits of pi are supported in the pi block?
4. Vars aren't a ridiculous amount of assets - why not just create them beforehand? How would that work in terms of changing data and extracting data?
5. Everything else is a great idea!

LuckyLucky7
Scratcher
1000+ posts

Lucky7 Blocks - A ScratchX Extension

--_Nova_-- wrote:

A few things

1. Why is stop nothing a cap block? Why would someone add extra assets for “decoration”? When would I use a decoration block?
2. When hat block is kinda pointless - if block and operators are more flexible anyways
3. How many digits of pi are supported in the pi block?
4. Vars aren't a ridiculous amount of assets - why not just create them beforehand? How would that work in terms of changing data and extracting data?
5. Everything else is a great idea!
1. The block was mainly a test, it would be used if someone just wanted to put it in their scripts.
2. It might be pointless, but it can be an alternative to those blocks.
3. About 10, if Scratch reported all the digits of pi, then it would probably crash
4. (Not too sure about the answer) It would be easier, practicing my experience of programming Scratch extensions.
5. Thanks!

I have about 1600 posts, 75 projects, and 65 followers.

SwoopyDoopy1
Scratcher
92 posts

Lucky7 Blocks - A ScratchX Extension

My opinions:
These look useful, but gliding in patterns is useless. It's easy to program it.
Creating variables is only useful when you can specify if they're global or private, and can put strings and reporters into, say,
change (item (1) of [list]) by (1)
. Otherwise, it's easier to do it manually.
Playing a sound and then stopping all sounds literally (in the literal sense of the word) requires two blocks.
The 'When (number)' should be replaced with ‘when <boolean>’.
You don't need a decorative cap block.
I don't see why you'd need to restart the project, but it's probably useful.
(() ^ ()) is EXTREMELY USEFUL, thank you so much.
We can remember or copy and paste digits of Pi.
True and false reporters aren't very useful and I like using
<((1)+(1)) = [3]>
blocks as a secret in my programming.
Custom reporters are EXTREMELY GOOD, I NEED THIS.

Last edited by SwoopyDoopy1 (Aug. 4, 2018 07:26:54)


~SwoopyDoopy1
Creator of the Stop Stopper, the physics game Fishy, the incremental game Kittens and more!
LuckyLucky7
Scratcher
1000+ posts

Lucky7 Blocks - A ScratchX Extension

SwoopyDoopy1 wrote:

My opinions:
These look useful, but gliding in patterns is useless. It's easy to program it.
Creating variables is only useful when you can specify if they're global or private, and can put strings and reporters into, say,
change (item (1) of [list]) by (1)
. Otherwise, it's easier to do it manually.
Playing a sound and then stopping all sounds literally (in the literal sense of the word) requires two blocks.
The 'When (number)' should be replaced with ‘when <boolean>’.
You don't need a decorative cap block.
I don't see why you'd need to restart the project, but it's probably useful.
(() ^ ()) is EXTREMELY USEFUL, thank you so much.
We can remember or copy and paste digits of Pi.
True and false reporters aren't very useful and I like using
<((1)+(1)) =[3]>
blocks as a secret in my programming.
Custom reporters are EXTREMELY GOOD, I NEED THIS.
1. The gliding patterns were removed due to how hard they would be to program them
2. The “create variable” block was removed due to it malfunctioning, but might be added back
3. That sound was removed due to the easy workaround
4. Added
5. The cap block was removed
6. The “restart project” block was unfortunately removed, even though it might be possible to implement, but I just don't know how
7. Thanks for the positive feedback on the block! This will increase the chance of it not being removed.
8. Same as 7.
9. Blocks removed because of it not being very useful
10. Same as 7. Anyways, the block was not hard to program.
11. I sort of fixed your post with the “1 + 1 = 3” block

I have about 1600 posts, 75 projects, and 65 followers.

GC123456789
Scratcher
100+ posts

Lucky7 Blocks - A ScratchX Extension

Lol Please don't post XD emojis. It is disrespectful according to the Community Guidelines.

The “pi” block reports as many digits of pi as I can memorize Please don't post XD emojis. It is disrespectful according to the Community Guidelines.

when gf clicked
forever
if \<touching \[edge v]?> then
move \(10) steps
end
end

Eknous wrote:

What? That's crazy!
GC123456789
Scratcher
100+ posts

Lucky7 Blocks - A ScratchX Extension

positive (-8) :: operators reporter
is just the same as
[abs v] of (-8)

when gf clicked
forever
if \<touching \[edge v]?> then
move \(10) steps
end
end

Eknous wrote:

What? That's crazy!
GC123456789
Scratcher
100+ posts

Lucky7 Blocks - A ScratchX Extension

Is the
(the answer to everything :: operators)
like the
(Lucky7 :: operators)
block from Lucky7 Mod,except that it reports “42” instead of “Lucky7”?

when gf clicked
forever
if \<touching \[edge v]?> then
move \(10) steps
end
end

Eknous wrote:

What? That's crazy!
LuckyLucky7
Scratcher
1000+ posts

Lucky7 Blocks - A ScratchX Extension

GC123456789 wrote:

Is the
(the answer to everything :: operators)
like the
(Lucky7 :: operators)
block from Lucky7 Mod,except that it reports “42” instead of “Lucky7”?
Yes.

I have about 1600 posts, 75 projects, and 65 followers.

SwoopyDoopy1
Scratcher
92 posts

Lucky7 Blocks - A ScratchX Extension

GC123456789 wrote:

positive (-8) :: operators reporter
is just the same as
[abs v] of (-8)
In my programs, when I need a negative number, I just use
(([abs v] of (-8))*(-1))

Last edited by SwoopyDoopy1 (Aug. 4, 2018 07:30:41)


~SwoopyDoopy1
Creator of the Stop Stopper, the physics game Fishy, the incremental game Kittens and more!
SwoopyDoopy1
Scratcher
92 posts

Lucky7 Blocks - A ScratchX Extension

I'll go through everything in your post.

LuckyLucky7 wrote:

when <>::events//Does a script when the boolean is true.
//This is useful, thank you.

forever if <>{

}::control loop//Does something forever if the boolean is true.

//No. This was removed in Scratch 2, because it's too ambiguous and confusing. It could mean 'While <boolean>',
//in which case you should sat 'Repeat until <not <boolean>>.
//But it could also mean a forever loop inside an 'if', like you say.

([Hello] to [UPPERCASE v]::operators)//Converts a string to UPPERCASE or lowercase.
//Yes! This seems useful.

(() ^ ()::operators)//Reports the power of a number.
//As I said before, extremely useful.

(pi::operators)//Returns the main digits of pi.
//Not useful when you could just set a variable, maybe more convenient and constant, though.

(negative()::operators//Reports the negative value of any number, even if it is already negative.
//(Abs ()) * (-1). Two block workaround.
(positive()::operators//Reports the positive value of any number, even if it is already positive.
//Exactly the same as abs.

<[#f00] = [#f00]::operators>//Exactly like the "<[2] = [2]>" block, but compares colors to each other instead
//Probably useful, when scanning through images.

(the answer to life and everything::operators)//Reports 42, this is a test block.
//YES. Keep this, instead of 'Undefined', but for reporters. :P

(report [thing]::operators)//Reports a string, a value of a reporter, and a value of a boolean.
//This is good, but I think 'join' does this already.

Last edited by SwoopyDoopy1 (Aug. 9, 2018 14:55:25)


~SwoopyDoopy1
Creator of the Stop Stopper, the physics game Fishy, the incremental game Kittens and more!
SwoopyDoopy1
Scratcher
92 posts

Lucky7 Blocks - A ScratchX Extension

Oh, no, what happened? I think it's still readable..?

~SwoopyDoopy1
Creator of the Stop Stopper, the physics game Fishy, the incremental game Kittens and more!
LuckyLucky7
Scratcher
1000+ posts

Lucky7 Blocks - A ScratchX Extension

SwoopyDoopy1 wrote:

Oh, no, what happened? I think it's still readable..?
No worries, I'll fix it

I have about 1600 posts, 75 projects, and 65 followers.

LuckyLucky7
Scratcher
1000+ posts

Lucky7 Blocks - A ScratchX Extension

SwoopyDoopy1 wrote:

I'll go through everything in your post.

LuckyLucky7 wrote:

when <>::events//Does a script when the boolean is true.
//This is useful, thank you.

forever if <>{

}::control loop//Does something forever if the boolean is true.

//No. This was removed in Scratch 2, because it's too ambiguous and confusing. It could mean 'While <boolean>',
//in which case you should sat 'Repeat until <not <boolean>>.
//But it could also mean a forever loop inside an 'if', like you say.

([Hello] to [UPPERCASE v]::operators)//Converts a string to UPPERCASE or lowercase.
//Yes! This seems useful.

(() ^ ()::operators)//Reports the power of a number.
//As I said before, extremely useful.

(pi::operators)//Returns the main digits of pi.
//Not useful when you could just set a variable, maybe more convenient and constant, though.

(negative()::operators//Reports the negative value of any number, even if it is already negative.
//(Abs ()) * (-1). Two block workaround.
(positive()::operators//Reports the positive value of any number, even if it is already positive.
//Exactly the same as abs.

<[#f00] = [#f00]::operators>//Exactly like the "<[2] = [2]>" block, but compares colors to each other instead
//Probably useful, when scanning through images.

(the answer to life and everything::operators)//Reports 42, this is a test block.
//YES. Keep this, instead of 'Undefined', but for reporters. :P

(report [thing]::operators)//Reports a string, a value of a reporter, and a value of a boolean.
//This is good, but I think 'join' does this already.
Fixed

Last edited by LuckyLucky7 (Aug. 4, 2018 12:16:30)


I have about 1600 posts, 75 projects, and 65 followers.

red_king_cyclops
Scratcher
500+ posts

Lucky7 Blocks - A ScratchX Extension

Interesting blocks. Can you make a while loop?:
while <> {
} ::control

2+2=4
2*2=4
2^2=4
2^^2=4
2^^^2=4

I see a pattern.
LuckyLucky7
Scratcher
1000+ posts

Lucky7 Blocks - A ScratchX Extension

red_king_cyclops wrote:

Interesting blocks. Can you make a while loop?:
while <> {
} ::control
I am planning to add that block, but unfortunately c-blocks are not functional.
It will be a hat block instead.

I have about 1600 posts, 75 projects, and 65 followers.

SwoopyDoopy1
Scratcher
92 posts

Lucky7 Blocks - A ScratchX Extension

Thank you for fixing it! I didn't know that commenting is //'ing.

~SwoopyDoopy1
Creator of the Stop Stopper, the physics game Fishy, the incremental game Kittens and more!

Powered by DjangoBB

Standard | Mobile