-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Macros #10
Comments
Ok so it's like this!!! When you have a pie |
Ok quick question!!!
|
To answer 2, you cannot add comments into JSON (comments do not exits in JSON), but you can create extra key-value pairs that Scratch will hopefully ignore. e.g. |
Oh, I mean Scratch comments :P – since nobody uses them (literally nobody, with this mod, since I basically removed the ability to see comments) – plus, if you save the project from Scratch, the comment won't be removed, since it's a thing normal to have in Scratch. |
Scratch doesn't actually follow the JSON spec, and it allows JSON to contain comments. You'd just have to modify skipComment. |
That's cool! Comments would still probably need to be the method of data storage, though. I imagine if you save the project in Scratch, those "JSON" comments would disappear. |
@liam4 you'd better test that |
It would discard the JSON comments. Another data storage option would be the stage's info object. Scratch doesn't appear to discard anything in it, even if it isn't supposed to be there. |
Would Scratch discard a extra JSON file? |
Let's see! ... |
Yes. :P It creates a new SB2 file every time you save; it doesn't modify the opened SB2 file. |
I created a So yeah, it totally breaks it 😞 |
And you contacted the Scratch team... |
..I'm 99.99% sure that doesn't actually notify the ST.. |
From birdoftheday:
@birdoftheday ahem not enough design or info!! !!!!
The text was updated successfully, but these errors were encountered: