Discuss Scratch

Spooky_Lukey
Scratcher
49 posts

Helpful Workarounds for Frequently Suggested Blocks!

make this
when stop sign clicked
MistyHH
Scratcher
100+ posts

Helpful Workarounds for Frequently Suggested Blocks!

RealGTheKid wrote:

-snip-
i dont know if this is possible but cloud lists and the ability to make cloud variables unique to eache user
Do you mean like if you had a game that saved your progress to the cloud, each user would have their own cloud space?
That would take up too much room on the cloud storage thing, I think. Project size limits are extremely small.
The best way to save progress in that example would be to use a savecode that the person copies and pastes. But it would still be really cool to be able to have that kind of cloud storage. Highly doubt it'll be added, though. I mean, they haven't even added a previous costume block. And that is VeRy frustrating and confusing when you're trying to learn how to program.

Thisisacharacteraccount!SometimesIenduppostingonthisoneanywayjust'causeIhappenedtobehereatthetime,soifyouseethisit'sprobablynotthecharacter talking.

Fun fact: When you invert the colors of the stop sign and flag, they reverse.
The green flag is red flag and red stop is green stop.


See? The corners are rounded. ezgif doesn't really do a good job on it though lol it's really hard to see.
HEY. IT'S CLEAR. HOW'D IT DO THAT?
YAAAAAY
Uhh anyway- I just FINALLY learned how to post images now so now I want to use it lots.
xD


when [location v] reaches (Scratch Discuss v) :: hat sensing
if <[cat_tap] is (looking for help v)::sensing> then
if <(thoughts of [cat_tap]::sensing) is (I have a question. v)::sensing> then
go to (Questions About Scratch v)
Make topic
end
if <(thoughts of [cat_tap]::sensing) is (I can't code. v)::sensing> then
go to (Help With Scripts v)
Make topic
end
else
if <[cat_tap] is (wanting to help v)::sensing> then
if <(thoughts of [cat_tap]::sensing) is (Maybe I can answer a few questions. v)::sensing> then
go to (Questions About Scratch v)
Search
end
if <(thoughts of [cat_tap]::sensing) is (Maybe I can code. v)::sensing> then
go to (Help With Scripts v)
Search
end
else
repeat until <(Change signature::#0066cc ring) visible?::sensing>
scroll y by (-1)::motion
end
set [mouse x v] to (Change signature::#0066cc ring)::control
click mouse::control
enter input (thoughts of [cat_tap]::sensing)::looks
end
end
define Make topic
set [mouse x v] to (New Topic::#1a8cff ring) ::control
click mouse::control
enter input (thoughts of [cat_tap]::sensing)::looks
define Search
run Google Search for (thoughts of [cat_tap]::sensing)::extension
move mouse to (Search results::extension)::control
click mouse::control
think (answer) until <i receive [Idea!!! v]::control>::looks
enter input (answer)::looks
MistyHH
Scratcher
100+ posts

Helpful Workarounds for Frequently Suggested Blocks!

Spooky_Lukey wrote:

make this
when stop sign clicked
when green flag clicked
forever
reset timer
end
when [timer v] > (0.01)
...



   ↕

when (::#ff0000) clicked ::  events hat

Last edited by MistyHH (March 8, 2022 20:25:17)


Thisisacharacteraccount!SometimesIenduppostingonthisoneanywayjust'causeIhappenedtobehereatthetime,soifyouseethisit'sprobablynotthecharacter talking.

Fun fact: When you invert the colors of the stop sign and flag, they reverse.
The green flag is red flag and red stop is green stop.


See? The corners are rounded. ezgif doesn't really do a good job on it though lol it's really hard to see.
HEY. IT'S CLEAR. HOW'D IT DO THAT?
YAAAAAY
Uhh anyway- I just FINALLY learned how to post images now so now I want to use it lots.
xD


when [location v] reaches (Scratch Discuss v) :: hat sensing
if <[cat_tap] is (looking for help v)::sensing> then
if <(thoughts of [cat_tap]::sensing) is (I have a question. v)::sensing> then
go to (Questions About Scratch v)
Make topic
end
if <(thoughts of [cat_tap]::sensing) is (I can't code. v)::sensing> then
go to (Help With Scripts v)
Make topic
end
else
if <[cat_tap] is (wanting to help v)::sensing> then
if <(thoughts of [cat_tap]::sensing) is (Maybe I can answer a few questions. v)::sensing> then
go to (Questions About Scratch v)
Search
end
if <(thoughts of [cat_tap]::sensing) is (Maybe I can code. v)::sensing> then
go to (Help With Scripts v)
Search
end
else
repeat until <(Change signature::#0066cc ring) visible?::sensing>
scroll y by (-1)::motion
end
set [mouse x v] to (Change signature::#0066cc ring)::control
click mouse::control
enter input (thoughts of [cat_tap]::sensing)::looks
end
end
define Make topic
set [mouse x v] to (New Topic::#1a8cff ring) ::control
click mouse::control
enter input (thoughts of [cat_tap]::sensing)::looks
define Search
run Google Search for (thoughts of [cat_tap]::sensing)::extension
move mouse to (Search results::extension)::control
click mouse::control
think (answer) until <i receive [Idea!!! v]::control>::looks
enter input (answer)::looks
1080GBA
Scratcher
500+ posts

Helpful Workarounds for Frequently Suggested Blocks!

<(list::lists) contains [thing] ?::operators>
<[list v] contains [thing] ?::lists>
doesn't work the same

Follow 1080GBA forever::#1080ba hat
⠀⠀⠀⠀
Made by 1080GBA. All copyrights reserved.
————————————————————————————————————————————————————————————————————

custom cat block fixed
————————————————————————————————————————————————————————————————————
3000th post

500th post
————————————————————————————————————————————————————————————————————
(((((((((((KING::#ff0000 ring)::#ff8800 ring)::#ffff00 ring)::#88ff00 ring)::#00ff88 ring)::#00ffff ring)::#0088ff ring)::#0000ff ring)::#8800ff ring)::#ff00ff ring)::#ff0088 ring)
————————————————————————————————————————————————————————————————————
<<<<<<<<1080GBA::#000>::#222>::#444>::#666>::#888>::#aaa>::#ccc>::#eee>
————————————————————————————————————————————————————————————————————
1080GBA
Scratcher
500+ posts

Helpful Workarounds for Frequently Suggested Blocks!

MistyHH wrote:

Spooky_Lukey wrote:

make this
when stop sign clicked
when green flag clicked
forever
reset timer
end
when [timer v] > (0.01)
...



   ↕

when (::#ff0000) clicked ::  events hat
you also need a
when [timer v] > (0.01)
forever
reset timer
end

Follow 1080GBA forever::#1080ba hat
⠀⠀⠀⠀
Made by 1080GBA. All copyrights reserved.
————————————————————————————————————————————————————————————————————

custom cat block fixed
————————————————————————————————————————————————————————————————————
3000th post

500th post
————————————————————————————————————————————————————————————————————
(((((((((((KING::#ff0000 ring)::#ff8800 ring)::#ffff00 ring)::#88ff00 ring)::#00ff88 ring)::#00ffff ring)::#0088ff ring)::#0000ff ring)::#8800ff ring)::#ff00ff ring)::#ff0088 ring)
————————————————————————————————————————————————————————————————————
<<<<<<<<1080GBA::#000>::#222>::#444>::#666>::#888>::#aaa>::#ccc>::#eee>
————————————————————————————————————————————————————————————————————
DIAVLODUDE
Scratcher
76 posts

Helpful Workarounds for Frequently Suggested Blocks!

I have a question. How do I make it check if a sprite has a costume name? Thanks! Workaround, please!
k0d3rrr
Scratcher
1000+ posts

Helpful Workarounds for Frequently Suggested Blocks!

DIAVLODUDE wrote:

I have a question. How do I make it check if a sprite has a costume name? Thanks! Workaround, please!
costume [name v]:: looks reporter
Or:
<(costume [name v]:: looks reporter) = [whatever costume name you want to type here]>
Or:
delete all of [name v]:: list
set [number v] to [0]
set [name v] to []
repeat (amount of costumes)
change [number v] by [1]
switch costume to (number)
set [name v] to (costume [name v]:: looks reporter)
add (name:: variables) to [name v]
end
if <[name v] contains [costume name]?> then
do something
else

end
Edit: This is a cursed post (1111# tsoP).

Last edited by k0d3rrr (March 9, 2022 12:08:54)


k0d3rrr




3 forum tips for experienced forumers (in no particular order):
  1. If you are reporting a new forumer's topic to be closed, or moved to another forum, don't mention it, because then, the topic creator will think they will receive either an alert or a ban.

  2. New forumers won't immediately know the rules or terminology of the forums. I have seen this happen hundreds of times (exaggeratedly), especially when experienced forumers (I won't name any) tell new forumers that they are "necroposting", which is when someone posts on an old and resolved topic (especially in the Questions about Scratch forum), causing said topic to be moved to the front page of that forum.

  3. Using Scratchblocks as a writing style is not blockspam, unless it is irrelevant to the discussion. For example, this

    ExampleScratcher1 wrote:

    How do I make a smooth gliding animation?
    when green flag clicked
    repeat until <(my question) = [answered]>
    ask [How do I make a smooth gliding animation?] and wait
    end
    say [Thank you!]
    is not blockspam, but these

    ExampleScratcher2 (first post) wrote:

    when green flag clicked
    move (58) steps
    play sound [Stock Laughter Sound Effect HD - 1 Hour v]
    forever
    play sound [Stock Screaming Sound Effect HD - 1 Hour v]
    switch backdrop to [internet v]
    say [i broke the internet] for (2) secs
    turn cw (15) degrees
    go to [nearby restaurant v]
    next costume
    end

    ExampleScratcher2 (second post) wrote:

    when green flag clicked
    repeat until <(out of dorito's) = [true]>
    broadcast [eat dorito chip v]
    end
    say [IM OUT OF DORITO'S!!!!!!!!! :(]
    play sound [Scream2 v] until done
    forever
    turn cw (120) degrees
    play sound [Scream2 v]
    play sound [we have no dorito's sorry v]
    end
    are blockspam, and must be reported.
1080GBA
Scratcher
500+ posts

Helpful Workarounds for Frequently Suggested Blocks!

k0d3rrr wrote:

DIAVLODUDE wrote:

I have a question. How do I make it check if a sprite has a costume name? Thanks! Workaround, please!
costume [name v]:: looks reporter
Or:
<(costume [name v]:: looks reporter) = [whatever costume name you want to type here]>
Or:
delete all of [name v]:: list
set [number v] to [0]
set [name v] to []
repeat (amount of costumes)
change [number v] by [1]
switch costume to (number)
set [name v] to (costume [name v]:: looks reporter)
add (name:: variables) to [name v]
end
if <[name v] contains [costume name]?> then
do something
else

end
Edit: This is a cursed post (#1111)
the number is supposed to be named index
Don't overthink the 2nd one:
delete all of [costume names v]:: list
repeat (amount of costumes)
next costume
add (costume [name v]::looks) to [costume names v]
end
if <[costume names v] contains [costume name]?> then
...
else

end
Edit: This is the real post #1111

Last edited by 1080GBA (March 10, 2022 10:01:22)


Follow 1080GBA forever::#1080ba hat
⠀⠀⠀⠀
Made by 1080GBA. All copyrights reserved.
————————————————————————————————————————————————————————————————————

custom cat block fixed
————————————————————————————————————————————————————————————————————
3000th post

500th post
————————————————————————————————————————————————————————————————————
(((((((((((KING::#ff0000 ring)::#ff8800 ring)::#ffff00 ring)::#88ff00 ring)::#00ff88 ring)::#00ffff ring)::#0088ff ring)::#0000ff ring)::#8800ff ring)::#ff00ff ring)::#ff0088 ring)
————————————————————————————————————————————————————————————————————
<<<<<<<<1080GBA::#000>::#222>::#444>::#666>::#888>::#aaa>::#ccc>::#eee>
————————————————————————————————————————————————————————————————————
MTT-BRAND
Scratcher
7 posts

Helpful Workarounds for Frequently Suggested Blocks!

WOAH.

Last edited by MTT-BRAND (March 9, 2022 12:06:22)

shradibop
Scratcher
100+ posts

Helpful Workarounds for Frequently Suggested Blocks!

I'm going to be giving up my role as owner of this sticky. Much like @BearSlothCoding , I'm gonna be having anyone who's interested comment on my profile, so we don't have multiple people trying to own it. Yeah.

Last edited by shradibop (March 9, 2022 12:08:35)


hey. what's good

hopefully, i'm having fun right now
SeuAmigo35
Scratcher
500+ posts

Helpful Workarounds for Frequently Suggested Blocks!

memario1763 wrote:

k0d3rrr wrote:

Jerememes wrote:

I would like to have a work around for a block a bunch of people wanted to suggest
<sprite [Sprite1] is touching [Sprite2] ?>
The workaround is this: (Both scripts are placed in Sprite1)
when green flag clicked
forever
if <touching [Sprite2 v]> then
set [touching v] to [true]


else
if <not <touching [Sprite2 v]>> then
set [touching v] to [false]
end
end
Now for detection…
when green flag clicked
forever
wait until <<(touching) = [true]> or <(touching) = [false]>>
if <(touching) = [true]> then
say [True]
else
if <(touching) = [false]> then
say [False]
end
end
Don't Over Think It!?!?
when green flag clicked
if <touching [Sprite Name Here v] ?> then
say [True]
end
if <not <touching [Sprite Name Here v] ?>> then
say [False]
end
I didn't saw the other quotes, but you forgot the forever block.

dante_ksk wrote:

<[ message1 v] broadcasted?::events> 
when green flag clicked
broadcast [message1 v]
set [broadcasted v] to <([1] + [1]) = [2] >


when I receive [ message1 v]
...
broadcast [finished v]

when I recieve [ finished v] :: events hat
set [broadcasted v] to <(1) = [Infinity]>
An really funny way I guess.

Last edited by SeuAmigo35 (March 9, 2022 23:04:55)


I play Roblox and that's all.
I'm fun and random.
THE FIGHT
1080GBA
Scratcher
500+ posts

Helpful Workarounds for Frequently Suggested Blocks!

shradibop wrote:

I'm going to be giving up my role as owner of this sticky. Much like @BearSlothCoding , I'm gonna be having anyone who's interested comment on my profile, so we don't have multiple people trying to own it. Yeah.
commented

Follow 1080GBA forever::#1080ba hat
⠀⠀⠀⠀
Made by 1080GBA. All copyrights reserved.
————————————————————————————————————————————————————————————————————

custom cat block fixed
————————————————————————————————————————————————————————————————————
3000th post

500th post
————————————————————————————————————————————————————————————————————
(((((((((((KING::#ff0000 ring)::#ff8800 ring)::#ffff00 ring)::#88ff00 ring)::#00ff88 ring)::#00ffff ring)::#0088ff ring)::#0000ff ring)::#8800ff ring)::#ff00ff ring)::#ff0088 ring)
————————————————————————————————————————————————————————————————————
<<<<<<<<1080GBA::#000>::#222>::#444>::#666>::#888>::#aaa>::#ccc>::#eee>
————————————————————————————————————————————————————————————————————
1080GBA
Scratcher
500+ posts

Helpful Workarounds for Frequently Suggested Blocks!

the workaround for
(remove (letter to remove) from (original text)::operators)
(remove [a] from [any]::operators)
i expect it to report ‘ny’, which is the opposite of
(join [] [])
the workaround:
set [remove index v] to [1]
set [removed v] to []
repeat (length of (original text))
if <not <(letter (remove index) of (original text))=(letter to remove)>> then
set [removed v] to (join (removed)(letter (remove index) of (original text))
end
change [remove index v] by [1]
end

Last edited by 1080GBA (March 10, 2022 03:57:41)


Follow 1080GBA forever::#1080ba hat
⠀⠀⠀⠀
Made by 1080GBA. All copyrights reserved.
————————————————————————————————————————————————————————————————————

custom cat block fixed
————————————————————————————————————————————————————————————————————
3000th post

500th post
————————————————————————————————————————————————————————————————————
(((((((((((KING::#ff0000 ring)::#ff8800 ring)::#ffff00 ring)::#88ff00 ring)::#00ff88 ring)::#00ffff ring)::#0088ff ring)::#0000ff ring)::#8800ff ring)::#ff00ff ring)::#ff0088 ring)
————————————————————————————————————————————————————————————————————
<<<<<<<<1080GBA::#000>::#222>::#444>::#666>::#888>::#aaa>::#ccc>::#eee>
————————————————————————————————————————————————————————————————————
1080GBA
Scratcher
500+ posts

Helpful Workarounds for Frequently Suggested Blocks!

MistyHH wrote:

RealGTheKid wrote:

-snip-
i dont know if this is possible but cloud lists and the ability to make cloud variables unique to eache user
Do you mean like if you had a game that saved your progress to the cloud, each user would have their own cloud space?
That would take up too much room on the cloud storage thing, I think. Project size limits are extremely small.
The best way to save progress in that example would be to use a savecode that the person copies and pastes. But it would still be really cool to be able to have that kind of cloud storage. Highly doubt it'll be added, though. I mean, they haven't even added a previous costume block. And that is VeRy frustrating and confusing when you're trying to learn how to program.
yes its super complicated

Follow 1080GBA forever::#1080ba hat
⠀⠀⠀⠀
Made by 1080GBA. All copyrights reserved.
————————————————————————————————————————————————————————————————————

custom cat block fixed
————————————————————————————————————————————————————————————————————
3000th post

500th post
————————————————————————————————————————————————————————————————————
(((((((((((KING::#ff0000 ring)::#ff8800 ring)::#ffff00 ring)::#88ff00 ring)::#00ff88 ring)::#00ffff ring)::#0088ff ring)::#0000ff ring)::#8800ff ring)::#ff00ff ring)::#ff0088 ring)
————————————————————————————————————————————————————————————————————
<<<<<<<<1080GBA::#000>::#222>::#444>::#666>::#888>::#aaa>::#ccc>::#eee>
————————————————————————————————————————————————————————————————————
goldenlion06
Scratcher
500+ posts

Helpful Workarounds for Frequently Suggested Blocks!

1080GBA wrote:

MistyHH wrote:

RealGTheKid wrote:

-snip-
i dont know if this is possible but cloud lists and the ability to make cloud variables unique to eache user
Do you mean like if you had a game that saved your progress to the cloud, each user would have their own cloud space?
That would take up too much room on the cloud storage thing, I think. Project size limits are extremely small.
The best way to save progress in that example would be to use a savecode that the person copies and pastes. But it would still be really cool to be able to have that kind of cloud storage. Highly doubt it'll be added, though. I mean, they haven't even added a previous costume block. And that is VeRy frustrating and confusing when you're trying to learn how to program.
yes its super complicated
with a save code if u understand it u can change ur stats

i add a sentence to this every day i enjoy school:
1080GBA
Scratcher
500+ posts

Helpful Workarounds for Frequently Suggested Blocks!

goldenlion06 wrote:

1080GBA wrote:

MistyHH wrote:

RealGTheKid wrote:

-snip-
i dont know if this is possible but cloud lists and the ability to make cloud variables unique to eache user
Do you mean like if you had a game that saved your progress to the cloud, each user would have their own cloud space?
That would take up too much room on the cloud storage thing, I think. Project size limits are extremely small.
The best way to save progress in that example would be to use a savecode that the person copies and pastes. But it would still be really cool to be able to have that kind of cloud storage. Highly doubt it'll be added, though. I mean, they haven't even added a previous costume block. And that is VeRy frustrating and confusing when you're trying to learn how to program.
yes its super complicated
with a save code if u understand it u can change ur stats
there can only be 10 cloud vars

Follow 1080GBA forever::#1080ba hat
⠀⠀⠀⠀
Made by 1080GBA. All copyrights reserved.
————————————————————————————————————————————————————————————————————

custom cat block fixed
————————————————————————————————————————————————————————————————————
3000th post

500th post
————————————————————————————————————————————————————————————————————
(((((((((((KING::#ff0000 ring)::#ff8800 ring)::#ffff00 ring)::#88ff00 ring)::#00ff88 ring)::#00ffff ring)::#0088ff ring)::#0000ff ring)::#8800ff ring)::#ff00ff ring)::#ff0088 ring)
————————————————————————————————————————————————————————————————————
<<<<<<<<1080GBA::#000>::#222>::#444>::#666>::#888>::#aaa>::#ccc>::#eee>
————————————————————————————————————————————————————————————————————
shradibop
Scratcher
100+ posts

Helpful Workarounds for Frequently Suggested Blocks!

Alright. I'm reporting this topic to be closed now. Here's the new one owned by @Nezon ! https://scratch.mit.edu/discuss/post/6105927/

hey. what's good

hopefully, i'm having fun right now
shradibop
Scratcher
100+ posts

Helpful Workarounds for Frequently Suggested Blocks!

It's still being set up, but it shouldn't be too long for Nezon to get it all situated.

hey. what's good

hopefully, i'm having fun right now
shradibop
Scratcher
100+ posts

Helpful Workarounds for Frequently Suggested Blocks!

stop [all v]

hey. what's good

hopefully, i'm having fun right now

Powered by DjangoBB