Discuss Scratch

Zydrolic
Scratcher
1000+ posts

Showing & hiding a sprite with right-click/context menu

Having to wait for the code pane to load.
This is the major thing that's bugging me to be honest - No matter what, if you haven't added some monotonous workaround you'll have to remove later down the line, you have to load the entirety of the code pane. All the blocks' SVG data in that sprite, which can take quite a long time.

You need to remove workarounds to preserve memory anyway.
I haven't worked on anything insanely largescale, but literally everything at this point in a project I'm working on has added up to a 1.4 MB project.json, with the highest filesize being an audio worth 4.6 MB, not accounting for a good over 100 costumes and such. Not even sure if I'll be either hitting the limit or not yet, either.
The project takes ages to save, but I don't wanna crunch audio quality in favor of saving time.

Workarounds for this are still sloppy
Workarounds need you to code something in on an already laggy pane, which still means loading it - And since it's more blocks, it's just adding a bit to the lag.
They achieve basically the opposite of what they should achieve.

Mock-up:

(credit to mybearworld)

(Original post was revised on the 13th of 2025 in March, at 19:11 CET, 24 hour clock.)

NOTES:
The context menu refers to the right-click menu.

Last edited by Zydrolic (March 13, 2025 18:16:59)

Xzillox
Scratcher
1000+ posts

Showing & hiding a sprite with right-click/context menu

I have the exact same problem as you all the time, and it makes it really time consuming when I'm trying to test my project. This seems like a good solution.

Last edited by Xzillox (Jan. 13, 2024 19:33:36)

medians
Scratcher
1000+ posts

Showing & hiding a sprite with right-click/context menu

I'm not sure if this exists in 3.0, but when you right click a sprite in the sprite pane in 2.0, there's a hide/show option if that's what you mean:


Also, that wasn't really a feature and was fixed if I'm understanding correctly, but yea.
Zydrolic
Scratcher
1000+ posts

Showing & hiding a sprite with right-click/context menu

bump
Zydrolic
Scratcher
1000+ posts

Showing & hiding a sprite with right-click/context menu

Zydrolic wrote:

(#4)
bump
Zydrolic
Scratcher
1000+ posts

Showing & hiding a sprite with right-click/context menu

Zydrolic wrote:

(#5)

Zydrolic wrote:

(#4)
bump
Zydrolic
Scratcher
1000+ posts

Showing & hiding a sprite with right-click/context menu

Zydrolic wrote:

(#6)

Zydrolic wrote:

(#5)

Zydrolic wrote:

(#4)
bump
PaperMarioFan2022
Scratcher
1000+ posts

Showing & hiding a sprite with right-click/context menu

Bump
Sorry, you have to wait 60 seconds between posts.
Zydrolic
Scratcher
1000+ posts

Showing & hiding a sprite with right-click/context menu

Zydrolic wrote:

(#7)

Zydrolic wrote:

(#6)

Zydrolic wrote:

(#5)

Zydrolic wrote:

(#4)
bump
Zydrolic
Scratcher
1000+ posts

Showing & hiding a sprite with right-click/context menu

bump
Zydrolic
Scratcher
1000+ posts

Showing & hiding a sprite with right-click/context menu

bump

wish this was reimplemented
Thiago_le_meilleur
Scratcher
1000+ posts

Showing & hiding a sprite with right-click/context menu

They are only bumps on this topic
Zydrolic
Scratcher
1000+ posts

Showing & hiding a sprite with right-click/context menu

bump
Zydrolic
Scratcher
1000+ posts

Showing & hiding a sprite with right-click/context menu

bump again

if this got implemented itd resolve basically the 2nd thing that i really wish existed in the editor lol
Knightbot63
Scratcher
1000+ posts

Showing & hiding a sprite with right-click/context menu

Finally, a break from bumps
Support. The use I have for this are for debugging features when I'm working on something really big because I'm too lazy to click the hide block in the sprite or it just gets annoyingly tedious after a while.
Zydrolic
Scratcher
1000+ posts

Showing & hiding a sprite with right-click/context menu

Mystery96
Scratcher
100+ posts

Showing & hiding a sprite with right-click/context menu

bump
ajskateboarder
Scratcher
1000+ posts

Showing & hiding a sprite with right-click/context menu

Good idea. Adding these context menu buttons would also avoid having to load all of the code inside the sprite just for you to show/hide the sprite (good for large sprites). A mockup for this will be in order someday

Last edited by ajskateboarder (Feb. 2, 2024 13:52:44)

Zydrolic
Scratcher
1000+ posts

Showing & hiding a sprite with right-click/context menu

ajskateboarder wrote:

(#18)
Good idea. Adding these context menu buttons would also avoid having to load all of the code inside the sprite just for you to show/hide the sprite (good for large sprites). A mockup for this will be in order someday
Yes, changing it like this would be honestly a lot better than waiting 92 eons just so the sprite loads.

I'll try making a mock-up soon as well also.
Zydrolic
Scratcher
1000+ posts

Showing & hiding a sprite with right-click/context menu

bump

Powered by DjangoBB