Discuss Scratch
- Discussion Forums
- » Suggestions
- » Scratch Workaround Guide VII
- musicROCKS013
-
1000+ posts
Scratch Workaround Guide VII
Also, for the previous costume block, you can (surprisingly) do this:
King of the Page, no edit.
switch costume to (join [previous costume] [])
King of the Page, no edit.
- AIGamesDeveloper
-
1000+ posts
Scratch Workaround Guide VII
Congrats on the sticky! It looks so wonderful!
- TheAnimalKingdom42
-
1000+ posts
Scratch Workaround Guide VII
Wow, this is awesome! I think everything is explained very thoroughly. Congratulations, and thank you!
- _nix
-
1000+ posts
Scratch Workaround Guide VII
Thanks, AIGamesDeveloper and TheAnimalKingdom42 

I don't really know if there's a workaround for that since having a bunch of [scratchblocks] is a little bit totally necessary
I could reserve a post near the top of several successive (but separate) pages of this thread… but that seems like maybe more effort than it's worth ^_^

Good catch! I added that as another method. I also added the “delete last of list” method, which works kinda similarly (the same way as “item last/random of list” works too). I don't have “delete random of list” specifically mentioned, but it's probably easy to intuit, and I included it in the demo/backpack project I made for this thread Also, for the previous costume block, you can (surprisingly) do this:switch costume to (join [previous costume] [])

Wow this topic is lagging my tabletI tried opening the thread on my (not even that old!) phone and it literally couldn't scroll past halfway through. Oops. lol
I don't really know if there's a workaround for that since having a bunch of [scratchblocks] is a little bit totally necessary

I could reserve a post near the top of several successive (but separate) pages of this thread… but that seems like maybe more effort than it's worth ^_^
- starhero5697
-
1000+ posts
Scratch Workaround Guide VII
I know I’m late, but congrats for the sticky!
- SansStudios
-
1000+ posts
Scratch Workaround Guide VII
A return to the forums! Amazing sticky, great job! Everything is so nicely organized 

- _nix
-
1000+ posts
Scratch Workaround Guide VII
Hey, I never went anywhere! I'm just less active from time to time A return to the forums! Amazing sticky, great job! Everything is so nicely organized

And thank you ^_^
Last edited by _nix (June 20, 2022 21:46:55)
- _3qp
-
18 posts
Scratch Workaround Guide VII
This is nicely organized and formatted, great job!
- D-ScratchNinja
-
1000+ posts
Scratch Workaround Guide VII
I know a workaround for an XOR gate (only 1 of 2 conditions are true = the XOR is true).
So feel free to add it in.
<(<some condition :: grey> + <some condition :: grey>) = [1]>
So feel free to add it in.
- _nix
-
1000+ posts
Scratch Workaround Guide VII
Thank you! I added it (with credits) to the I know a workaround for an XOR gate (only 1 of 2 conditions are true = the XOR is true).Operators & Sensing post. I also included two other ways to code the “xor” block. I hope having all three methods helps show Scratchers there are several different ways of thinking about booleans, and introduces the idea of thinking about them as more than just “mysterious” true and false values<(<some condition :: grey> + <some condition :: grey>) = [1]>
So feel free to add it in.

Edit: Also, thank you, _3qp!
PS: I also edited the very first post to fix the link to Operators & Sensing, which was accidentally linking to the Events & Control post instead, oops lol.
Last edited by _nix (June 25, 2022 01:21:51)
- Hotwheels_Fan101
-
15 posts
Scratch Workaround Guide VII
suggestion: (i used block images instead of text blocks)
“right click” menu script (double click menu, can also be used in mobile friendly projects)
scratch doesn't have a when right mouse clicked block, and the workaround doesn't seem to work, so this may help.
first, copy the script below into the stage/desktop

then add this script to the right click menu button. add it to ALL the buttons you have

if you have some backdrops as program windows, or you don't want the menu to appear when a certain backdrop is showing, add this script to the stage instead:

———————————————————————————————————————————————————————————–
to put the script in your backpack, head over to here: https://scratch-mit-edu.ezproxyberklee.flo.org/projects/579805952/editor
i hope this helps! thank you for reading! (Be sure to read the notes and credits section on the project page to properly credit : )
“right click” menu script (double click menu, can also be used in mobile friendly projects)
scratch doesn't have a when right mouse clicked block, and the workaround doesn't seem to work, so this may help.
first, copy the script below into the stage/desktop

then add this script to the right click menu button. add it to ALL the buttons you have

if you have some backdrops as program windows, or you don't want the menu to appear when a certain backdrop is showing, add this script to the stage instead:

———————————————————————————————————————————————————————————–
to put the script in your backpack, head over to here: https://scratch-mit-edu.ezproxyberklee.flo.org/projects/579805952/editor
i hope this helps! thank you for reading! (Be sure to read the notes and credits section on the project page to properly credit : )
Last edited by Hotwheels_Fan101 (July 2, 2022 22:05:04)
- Hotwheels_Fan101
-
15 posts
Scratch Workaround Guide VII
Suggestion: gifs in scratch
you can't directly run a gif in scratch, but you can use the costumes feature
first, split the gif into frames. i use this website: https://ezgif.com/split
then, upload the frames you want into a new sprite, each as a separate costume.
finally, add this script to the sprite (adapt it to how ever many frames you have)
there you go!
to put this script in your backpack, go here: https://scratch-mit-edu.ezproxyberklee.flo.org/projects/708207926/
i hope this helps! thanks for reading! (make sure to read the notes and credits to credit for this script: )
you can't directly run a gif in scratch, but you can use the costumes feature
first, split the gif into frames. i use this website: https://ezgif.com/split
then, upload the frames you want into a new sprite, each as a separate costume.
finally, add this script to the sprite (adapt it to how ever many frames you have)
when green flag clicked
go to front
show
go to x: (0) y: (0)
switch costume to [ 1]
wait (1) secs
switch costume to [ 2]
wait (1) secs
there you go!
to put this script in your backpack, go here: https://scratch-mit-edu.ezproxyberklee.flo.org/projects/708207926/
i hope this helps! thanks for reading! (make sure to read the notes and credits to credit for this script: )
- _nix
-
1000+ posts
Scratch Workaround Guide VII
Thank you for sharing! This is a little more complicated than the sort of workaround I'm looking to include in entirety within the guide, but I included it in the suggestion: (i used block images instead of text blocks)Miscellaneous section (and the main list).
“right click” menu script (double click menu, can also be used in mobile friendly projects)
I think I would like to make an index of other tutorials (and maybe tutorial studios) so that people can discover all sorts of examples and coding tutorials to learn from (but which aren't really workarounds for individual suggestions per se). If anybody follows this topic and has some ideas, please feel welcomed to share Scratchers, projects, or studios with tutorials that have helped you code with Scratch

I'm not 100% decided on what I think this section should look like or include yet, but I think it could be cool, and I'd like to hear what others want to see! So, to everyone: What kinds of tutorials or demos do you want to be easier to find? If you think it might fit this thread, I'd love it if you shared!
Edit: clarification!
Last edited by _nix (July 2, 2022 23:27:22)
- 1080GBA
-
500+ posts
Scratch Workaround Guide VII
just upload the gif you dont need to split it Suggestion: gifs in scratch
you can't directly run a gif in scratch, but you can use the costumes feature
first, split the gif into frames. i use this website: https://ezgif.com/split
then, upload the frames you want into a new sprite, each as a separate costume.
finally, add this script to the sprite (adapt it to how ever many frames you have)when green flag clicked
go to front
show
go to x: (0) y: (0)
switch costume to [ 1]
wait (1) secs
switch costume to [ 2]
wait (1) secs
there you go!
to put this script in your backpack, go here: https://scratch-mit-edu.ezproxyberklee.flo.org/projects/708207926/
i hope this helps! thanks for reading! (make sure to read the notes and credits to credit for this script: )
- 1080GBA
-
500+ posts
Scratch Workaround Guide VII
thats how i would structure the workarounds if i could be the new owner Congratulations on the pending sticky, _nix! It seems like you've worked extremely hard on this, I'm glad that we had a great successor to Nezon's sticky and I really like the style of how it's structured.
Last edited by 1080GBA (July 3, 2022 11:54:36)
- 1080GBA
-
500+ posts
Scratch Workaround Guide VII
<(a) is an integer?::operators>Workaround:
<(a) = (round(a))>
- 10274837
-
100+ posts
Scratch Workaround Guide VII
<(a) is an integer?::operators>Workaround:<(a) = (round(a))>
- 10274837
-
100+ posts
Scratch Workaround Guide VII
Congrats on the sticky! It looks so wonderful!
- Discussion Forums
- » Suggestions
-
» Scratch Workaround Guide VII