Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » Scratch is Very complicated instead of easy
- LucaBuca17
-
Scratcher
45 posts
Scratch is Very complicated instead of easy
Scratch is
EASYBut actually harder which is “{”targets":[{“isStage”:true,“name”:“Stage”,“variables”:{"`jEk@4|i[#*?(8x)AV.-my variable":},“lists”:{},“broadcasts”:{},“blocks”:{},“comments”:{},“currentCostume”:0,“costumes”:,“sounds”:,“volume”:100,“layerOrder”:0,“tempo”:60,“videoTransparency”:50,“videoState”:“on”,“textToSpeechLanguage”:null},{“isStage”:false,“name”:“Sprite1”,“variables”:{},“lists”:{},“broadcasts”:{},“blocks”:{},“comments”:{},“currentCostume”:0,“costumes”:,“sounds”:,“volume”:100,“layerOrder”:1,“visible”:true,“x”:-5,“y”:-6,“size”:100,“direction”:90,“draggable”:false,“rotationStyle”:“all around”}],“monitors”:,“extensions”:,“meta”:{“semver”:“3.0.0”,“vm”:“1.5.92”,“agent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36”}}"
- mybearworld
-
Scratcher
1000+ posts
Scratch is Very complicated instead of easy
That's the `project.json` file. It's actually way easier to understand if you properly format it:
As you can see, it stores the setting of every sprite (so its X position, direction, volume and even where its center is), and also every block, in what relation to other blocks it is and where the blocks are. So of course, the `project.json` would be quite long.
{ "targets": [ { "isStage": true, "name": "Stage", "variables": { "`jEk@4|i[#*?(8x)AV.-my variable": ["my variable", 0] }, "lists": {}, "broadcasts": {}, "blocks": {}, "comments": {}, "currentCostume": 0, "costumes": [ { "name": "backdrop1", "dataFormat": "svg", "assetId": "cd21514d0531fdffb22204e0ec5ed84a", "md5ext": "cd21514d0531fdffb22204e0ec5ed84a.svg", "rotationCenterX": 240, "rotationCenterY": 180 } ], "sounds": [ { "name": "pop", "assetId": "83a9787d4cb6f3b7632b4ddfebf74367", "dataFormat": "wav", "format": "", "rate": 48000, "sampleCount": 1123, "md5ext": "83a9787d4cb6f3b7632b4ddfebf74367.wav" } ], "volume": 100, "layerOrder": 0, "tempo": 60, "videoTransparency": 50, "videoState": "on", "textToSpeechLanguage": null }, { "isStage": false, "name": "Sprite1", "variables": {}, "lists": {}, "broadcasts": {}, "blocks": {}, "comments": {}, "currentCostume": 0, "costumes": [ { "name": "costume1", "bitmapResolution": 1, "dataFormat": "svg", "assetId": "08e76821c3444b75d00171b07d98ac01", "md5ext": "08e76821c3444b75d00171b07d98ac01.svg", "rotationCenterX": 121.33398437500001, "rotationCenterY": 172.60000610351562 } ], "sounds": [ { "name": "pop", "assetId": "83a9787d4cb6f3b7632b4ddfebf74367", "dataFormat": "wav", "format": "", "rate": 48000, "sampleCount": 1123, "md5ext": "83a9787d4cb6f3b7632b4ddfebf74367.wav" } ], "volume": 100, "layerOrder": 1, "visible": true, "x": -5, "y": -6, "size": 100, "direction": 90, "draggable": false, "rotationStyle": "all around" } ], "monitors": [], "extensions": [], "meta": { "semver": "3.0.0", "vm": "1.5.92", "agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" } }
- hydrofungus
-
Scratcher
1000+ posts
Scratch is Very complicated instead of easy
You can just focus on the blocks to make it easy, not inspecting (?) the page to reveal the code which makes it hard-
- Zydrolic
-
Scratcher
1000+ posts
Scratch is Very complicated instead of easy
That's a project json file — Technically the inner core of a project, accessible by renaming any project file's file extension from “sb3” to “zip”

But what is your question here?
EDIT: oof, ninja'd.

But what is your question here?
EDIT: oof, ninja'd.
Last edited by Zydrolic (Aug. 19, 2023 08:39:16)
- NotK3ndricAlt
-
Scratcher
1000+ posts
Scratch is Very complicated instead of easy
Thats a project.json file. Scratch may look complicated if you open it.
- LucaBuca17
-
Scratcher
45 posts
Scratch is Very complicated instead of easy
Also Thats how it works and also THERE ARE 3+ FILES IN THE ZIP
- Zydrolic
-
Scratcher
1000+ posts
Scratch is Very complicated instead of easy
(#6)What is your question though?
Also Thats how it works and also THERE ARE 3+ FILES IN THE ZIP
Also — Everything within is the assets of the project using an MD5 hash (if i remember right) as the name.
A default project contains 3 SVG, 2 wav and 1 json.
- hydrofungus
-
Scratcher
1000+ posts
Scratch is Very complicated instead of easy
Heh ok, as the other posts has said, what is your question here? This is the Questions about Scratch forum, and I don’t think you are trying to ask anything-
- mybearworld
-
Scratcher
1000+ posts
Scratch is Very complicated instead of easy
(#6)Yes, those are the assets of the project - they need to store them somewhere.
Also Thats how it works and also THERE ARE 3+ FILES IN THE ZIP
- Discussion Forums
- » Questions about Scratch
-
» Scratch is Very complicated instead of easy