Discuss Scratch

iiucandyfloss
Scratcher
1000+ posts

Is comment stacking to hide code allowed?

cheddargirl* wrote:

As others have put it, if you have to hide something, you can use a block stack to hide another, but that's about as far as we allow in terms of block hiding. The entirety of the code otherwise has to be accessible and within the bounds of the vanilla Scratch editor.
link to cheddargirl's post
So block stacking is fine, but what about comment stacking? Placing a bunch of comments over code to stop users from seeing it?


BigNate469
Scratcher
1000+ posts

Is comment stacking to hide code allowed?

I would guess that that would also be allowed, considering that comments tend to be somewhat easier to move and remove without breaking the project.

Still, that's not really the purpose of comments.
50_scratch_tabs
Scratcher
1000+ posts

Is comment stacking to hide code allowed?

You might be able to… If you think someone stole your project… Get some variable IDs from your project Json and compare them with the project you think copied you. AFAIK those are random, but they'll be the same if you copy the project.

Geez, why do I keep quoting the OP? I'm out of practice foruming!

Last edited by 50_scratch_tabs (Jan. 31, 2025 13:38:39)

hotcrystal
Scratcher
500+ posts

Is comment stacking to hide code allowed?

50_scratch_tabs wrote:

You might be able to… If you think someone stole your project… Get some variable IDs from your project Json and compare them with the project you think copied you. AFAIK those are random, but they'll be the same if you copy the project.
Wouldn’t looking at the JSON of the project be breaking Section 4.4?

Last edited by hotcrystal (Jan. 31, 2025 13:41:31)

50_scratch_tabs
Scratcher
1000+ posts

Is comment stacking to hide code allowed?

hotcrystal wrote:

(#4)

50_scratch_tabs wrote:

You might be able to… If you think someone stole your project… Get some variable IDs from your project Json and compare them with the project you think copied you. AFAIK those are random, but they'll be the same if you copy the project.
Wouldn’t looking at the JSON of the project be breaking Section 4.4?
Not looking at the JSON. Just editing it. Plus, they can't prove you looked at it. And even if you edited the JSON, it'd only break the ToU if you uploaded it back up Scratch. Edit the JSON and upload to Turbowarp to your heart's content. And reading it is definitely fine.
GarbagePanda
Scratcher
100+ posts

Is comment stacking to hide code allowed?

You can cover them in comments. There are actually games where you find stuff hidden under comments or layers of blocks.
its_real1
Scratcher
4 posts

Is comment stacking to hide code allowed?

no idea
TheAutocorrectingCat
Scratcher
1000+ posts

Is comment stacking to hide code allowed?

its_real1 wrote:

no idea
Please don’t reply to posts if you don’t know the answer.
I believe that if hiding with code is allowed, hiding with comments should be fine.
SidewaysCoder
Scratcher
500+ posts

Is comment stacking to hide code allowed?

IGNITEstudios
Scratcher
1000+ posts

Is comment stacking to hide code allowed?

SidewaysCoder wrote:

Yes.

The Scratch Team has actually done this before.

This is true, although there is an important difference.
This is just one comment, whereas comment stacking insinuates a very large amount of comments actively making it more difficult to see the code.

To attempt to answer OP's question, I'd say that I'm not sure if this is allowed or not but I wouldn't do it.
iiucandyfloss
Scratcher
1000+ posts

Is comment stacking to hide code allowed?

Looks like the general consensus is that it's allowed

Thanks people

Powered by DjangoBB