Download generated_projects/8f9aca5d-60b6-4ca3-b9c9-d69410033020/project.json from WebashalarForML/Scratch_Vision_Game_v1_main: direct link, hf CLI and curl.
- Browser
- Download file 15.1 kB
-
https://huggingface.co/spaces/WebashalarForML/Scratch_Vision_Game_v1_main/resolve/50c4a75c8474bfa7b89d5f8a60e3c7d578b4e5e6/generated_projects/8f9aca5d-60b6-4ca3-b9c9-d69410033020/project.json
- Command line
-
hf download hf://spaces/WebashalarForML/Scratch_Vision_Game_v1_main@50c4a75c8474bfa7b89d5f8a60e3c7d578b4e5e6/generated_projects/8f9aca5d-60b6-4ca3-b9c9-d69410033020/project.json
-
curl -L -o project.json https://huggingface.co/spaces/WebashalarForML/Scratch_Vision_Game_v1_main/resolve/50c4a75c8474bfa7b89d5f8a60e3c7d578b4e5e6/generated_projects/8f9aca5d-60b6-4ca3-b9c9-d69410033020/project.json
15.1 kB
| { | |
| "targets": [ | |
| { | |
| "isStage": true, | |
| "name": "Stage", | |
| "objName": "Stage", | |
| "variables": { | |
| "score_470bd82b": [ | |
| "score", | |
| "0" | |
| ], | |
| "\u2601 High Score_ccac98b5": [ | |
| "\u2601 High Score", | |
| "0", | |
| true | |
| ], | |
| "lives_966dc602": [ | |
| "lives", | |
| "3" | |
| ], | |
| "speed_0a370303": [ | |
| "speed", | |
| "0" | |
| ], | |
| "distance_4afc231e": [ | |
| "distance", | |
| "0" | |
| ] | |
| }, | |
| "lists": { | |
| "recent_scores_c7e84343": [ | |
| "recent_scores", | |
| [] | |
| ], | |
| "obstacle_positions_0f75a667": [ | |
| "obstacle_positions", | |
| [] | |
| ] | |
| }, | |
| "broadcasts": { | |
| "Game Over_d58b8435": "Game Over", | |
| "Game Start_bcc43148": "Game Start", | |
| "Reset Game_235417e8": "Reset Game", | |
| "Level Up_b611e9d2": "Level Up" | |
| }, | |
| "blocks": { | |
| "7Qci0=F(x7SxMXYKTG-$": { | |
| "opcode": "event_whenflagclicked", | |
| "inputs": {}, | |
| "fields": {}, | |
| "shadow": false, | |
| "topLevel": true, | |
| "parent": null, | |
| "next": "uF#bhmq9cj0fDUSCi88e", | |
| "x": 0, | |
| "y": 0 | |
| }, | |
| "uF#bhmq9cj0fDUSCi88e": { | |
| "opcode": "data_setvariableto", | |
| "inputs": { | |
| "VALUE": [ | |
| 1, | |
| [ | |
| 4, | |
| "0" | |
| ] | |
| ] | |
| }, | |
| "fields": { | |
| "VARIABLE": [ | |
| "score", | |
| "score_470bd82b" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "parent": "7Qci0=F(x7SxMXYKTG-$", | |
| "next": "o#e{40XdpOd@oZ1YpTA~" | |
| }, | |
| "o#e{40XdpOd@oZ1YpTA~": { | |
| "opcode": "data_setvariableto", | |
| "inputs": { | |
| "VALUE": [ | |
| 1, | |
| [ | |
| 4, | |
| "3" | |
| ] | |
| ] | |
| }, | |
| "fields": { | |
| "VARIABLE": [ | |
| "lives", | |
| "lives" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "parent": "uF#bhmq9cj0fDUSCi88e", | |
| "next": "jG6VuX_#=sK0YFX1d3%J" | |
| }, | |
| "jG6VuX_#=sK0YFX1d3%J": { | |
| "opcode": "data_showvariable", | |
| "inputs": {}, | |
| "fields": { | |
| "VARIABLE": [ | |
| "score", | |
| "score_470bd82b" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "parent": "o#e{40XdpOd@oZ1YpTA~", | |
| "next": "-{=pH%C7P[=LqCRYgV$M" | |
| }, | |
| "-{=pH%C7P[=LqCRYgV$M": { | |
| "opcode": "data_showvariable", | |
| "inputs": {}, | |
| "fields": { | |
| "VARIABLE": [ | |
| "lives", | |
| "lives" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "parent": "jG6VuX_#=sK0YFX1d3%J", | |
| "next": "_m[3d}3&qZ+2sosCnO=U" | |
| }, | |
| "_m[3d}3&qZ+2sosCnO=U": { | |
| "opcode": "event_broadcast", | |
| "inputs": { | |
| "BROADCAST_INPUT": [ | |
| 1, | |
| [ | |
| 11, | |
| "Game Start", | |
| "Game Start_bcc43148" | |
| ] | |
| ] | |
| }, | |
| "fields": {}, | |
| "shadow": false, | |
| "topLevel": false, | |
| "parent": "-{=pH%C7P[=LqCRYgV$M", | |
| "next": null | |
| }, | |
| "xpB)d^mjQO]77CAT8d{O": { | |
| "opcode": "event_whenbroadcastreceived", | |
| "inputs": {}, | |
| "fields": { | |
| "BROADCAST_OPTION": [ | |
| "Game Over ", | |
| "Game Over_d58b8435" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": true, | |
| "parent": null, | |
| "next": "&l)Q*Nsjrw+&zvJCbWjF", | |
| "x": 0, | |
| "y": 150 | |
| }, | |
| "&l)Q*Nsjrw+&zvJCbWjF": { | |
| "opcode": "event_broadcast", | |
| "inputs": { | |
| "BROADCAST_INPUT": [ | |
| 1, | |
| [ | |
| 11, | |
| "Reset Game", | |
| "Reset Game_235417e8" | |
| ] | |
| ] | |
| }, | |
| "fields": {}, | |
| "shadow": false, | |
| "topLevel": false, | |
| "parent": "xpB)d^mjQO]77CAT8d{O", | |
| "next": "vLH&+4b(G{(gXl}WZVeD" | |
| }, | |
| "vLH&+4b(G{(gXl}WZVeD": { | |
| "opcode": "data_setvariableto", | |
| "inputs": { | |
| "VALUE": [ | |
| 1, | |
| [ | |
| 4, | |
| "0" | |
| ] | |
| ] | |
| }, | |
| "fields": { | |
| "VARIABLE": [ | |
| "score", | |
| "score_470bd82b" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "parent": "&l)Q*Nsjrw+&zvJCbWjF", | |
| "next": "b[ir3JD}gbE#mMHGjcsn" | |
| }, | |
| "b[ir3JD}gbE#mMHGjcsn": { | |
| "opcode": "data_setvariableto", | |
| "inputs": { | |
| "VALUE": [ | |
| 1, | |
| [ | |
| 4, | |
| "3" | |
| ] | |
| ] | |
| }, | |
| "fields": { | |
| "VARIABLE": [ | |
| "lives", | |
| "lives" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "parent": "vLH&+4b(G{(gXl}WZVeD", | |
| "next": null | |
| } | |
| }, | |
| "comments": {}, | |
| "currentCostume": 0, | |
| "costumes": [ | |
| { | |
| "name": "Blue sky", | |
| "bitmapResolution": 1, | |
| "dataFormat": "svg", | |
| "assetId": "e7c147730f19d284bcd7b3f00af19bb6", | |
| "md5ext": "e7c147730f19d284bcd7b3f00af19bb6.svg", | |
| "rotationCenterX": 240, | |
| "rotationCenterY": 180 | |
| } | |
| ], | |
| "sounds": [ | |
| { | |
| "name": "pop", | |
| "dataFormat": "wav", | |
| "rate": 44100, | |
| "sampleCount": 0, | |
| "assetId": "83a9787d4cb6f3b7632b4ddfebf74367", | |
| "md5ext": "83a9787d4cb6f3b7632b4ddfebf74367.wav" | |
| } | |
| ], | |
| "volume": 100, | |
| "layerOrder": 0, | |
| "tempo": 60, | |
| "videoTransparency": 50, | |
| "videoState": "on", | |
| "textToSpeechLanguage": null | |
| }, | |
| { | |
| "isStage": false, | |
| "name": "Cat", | |
| "objName": "Cat", | |
| "variables": {}, | |
| "lists": {}, | |
| "broadcasts": {}, | |
| "blocks": { | |
| "{PdW6r7d=19qq]5]5vcz": { | |
| "opcode": "event_whenflagclicked", | |
| "inputs": {}, | |
| "fields": {}, | |
| "shadow": false, | |
| "topLevel": true, | |
| "parent": null, | |
| "next": "Z9y_$hjX}N@Ab2]JoZH(", | |
| "x": 0, | |
| "y": 0 | |
| }, | |
| "Z9y_$hjX}N@Ab2]JoZH(": { | |
| "opcode": "motion_gotoxy", | |
| "inputs": { | |
| "X": [ | |
| 1, | |
| [ | |
| 4, | |
| "0" | |
| ] | |
| ], | |
| "Y": [ | |
| 1, | |
| [ | |
| 4, | |
| "-100" | |
| ] | |
| ] | |
| }, | |
| "fields": {}, | |
| "shadow": false, | |
| "topLevel": false, | |
| "parent": "{PdW6r7d=19qq]5]5vcz", | |
| "next": "z8_)+lXYUO!9VmMX@7jg" | |
| }, | |
| "z8_)+lXYUO!9VmMX@7jg": { | |
| "opcode": "data_setvariableto", | |
| "inputs": { | |
| "VALUE": [ | |
| 1, | |
| [ | |
| 4, | |
| "0" | |
| ] | |
| ] | |
| }, | |
| "fields": { | |
| "VARIABLE": [ | |
| "speed", | |
| "speed" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "parent": "Z9y_$hjX}N@Ab2]JoZH(", | |
| "next": null | |
| }, | |
| "7P3Ib{rY!1nj{dZ{3P^o": { | |
| "opcode": "event_whenkeypressed", | |
| "inputs": {}, | |
| "fields": { | |
| "KEY_OPTION": [ | |
| "right arrow ", | |
| null | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": true, | |
| "parent": null, | |
| "next": "u~ee#Fefpymx#R%XAXKc", | |
| "x": 0, | |
| "y": 150 | |
| }, | |
| "u~ee#Fefpymx#R%XAXKc": { | |
| "opcode": "motion_changexby", | |
| "inputs": { | |
| "DX": [ | |
| 1, | |
| [ | |
| 4, | |
| "10" | |
| ] | |
| ] | |
| }, | |
| "fields": {}, | |
| "shadow": false, | |
| "topLevel": false, | |
| "parent": "7P3Ib{rY!1nj{dZ{3P^o", | |
| "next": null | |
| }, | |
| "h57F3RhRYARHen~IoQ1G": { | |
| "opcode": "event_whenkeypressed", | |
| "inputs": {}, | |
| "fields": { | |
| "KEY_OPTION": [ | |
| "left arrow ", | |
| null | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": true, | |
| "parent": null, | |
| "next": "#4RgkgOwIJQu$@&h3C_5", | |
| "x": 0, | |
| "y": 300 | |
| }, | |
| "#4RgkgOwIJQu$@&h3C_5": { | |
| "opcode": "motion_changexby", | |
| "inputs": { | |
| "DX": [ | |
| 1, | |
| [ | |
| 4, | |
| "-10" | |
| ] | |
| ] | |
| }, | |
| "fields": {}, | |
| "shadow": false, | |
| "topLevel": false, | |
| "parent": "h57F3RhRYARHen~IoQ1G", | |
| "next": null | |
| }, | |
| "&wR5FT-cO([vd6CX&@6i": { | |
| "opcode": "event_whenkeypressed", | |
| "inputs": {}, | |
| "fields": { | |
| "KEY_OPTION": [ | |
| "space ", | |
| null | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": true, | |
| "parent": null, | |
| "next": "I4-tqOY5Oy&Q^Aug%52A", | |
| "x": 0, | |
| "y": 450 | |
| }, | |
| "I4-tqOY5Oy&Q^Aug%52A": { | |
| "opcode": "control_if", | |
| "inputs": { | |
| "CONDITION": [ | |
| 2, | |
| "operator_equals_1" | |
| ], | |
| "SUBSTACK": [ | |
| 2, | |
| "7o(g3-R-$+~r*d=d@coZ" | |
| ] | |
| }, | |
| "fields": {}, | |
| "shadow": false, | |
| "topLevel": false, | |
| "parent": "&wR5FT-cO([vd6CX&@6i", | |
| "next": null | |
| }, | |
| "7o(g3-R-$+~r*d=d@coZ": { | |
| "opcode": "control_forever", | |
| "inputs": { | |
| "SUBSTACK": [ | |
| 2, | |
| "&EBjG{Rm~2*PXoaUOZ-J" | |
| ] | |
| }, | |
| "fields": {}, | |
| "shadow": false, | |
| "topLevel": false, | |
| "parent": "I4-tqOY5Oy&Q^Aug%52A", | |
| "next": null | |
| }, | |
| "&EBjG{Rm~2*PXoaUOZ-J": { | |
| "opcode": "motion_changeyby", | |
| "inputs": { | |
| "DY": [ | |
| 1, | |
| [ | |
| 4, | |
| "10" | |
| ] | |
| ] | |
| }, | |
| "fields": {}, | |
| "shadow": false, | |
| "topLevel": false, | |
| "parent": "7o(g3-R-$+~r*d=d@coZ", | |
| "next": "control_wait_1" | |
| }, | |
| "cNl0ryVZV^OYDALBMavq": { | |
| "opcode": "motion_changeyby", | |
| "inputs": { | |
| "DY": [ | |
| 1, | |
| [ | |
| 4, | |
| "-10" | |
| ] | |
| ] | |
| }, | |
| "fields": {}, | |
| "shadow": false, | |
| "topLevel": false, | |
| "parent": "control_wait_1", | |
| "next": "control_wait_2" | |
| } | |
| }, | |
| "comments": {}, | |
| "currentCostume": 0, | |
| "costumes": [ | |
| { | |
| "name": "Cat", | |
| "bitmapResolution": 1, | |
| "dataFormat": "svg", | |
| "assetId": "bcf454acf82e4504149f7ffe07081dbc", | |
| "md5ext": "bcf454acf82e4504149f7ffe07081dbc.svg", | |
| "rotationCenterX": 0, | |
| "rotationCenterY": 0 | |
| } | |
| ], | |
| "sounds": [ | |
| { | |
| "name": "meow", | |
| "dataFormat": "wav", | |
| "rate": 44100, | |
| "sampleCount": 0, | |
| "assetId": "83c36d806dc92327b9e7049a565c6bff", | |
| "md5ext": "83c36d806dc92327b9e7049a565c6bff.wav" | |
| } | |
| ], | |
| "volume": 100, | |
| "layerOrder": 2, | |
| "visible": true, | |
| "x": 0, | |
| "y": -100, | |
| "size": 100, | |
| "direction": 90, | |
| "draggable": false, | |
| "rotationStyle": "all around" | |
| }, | |
| { | |
| "isStage": false, | |
| "name": "ball", | |
| "objName": "ball", | |
| "variables": {}, | |
| "lists": {}, | |
| "broadcasts": {}, | |
| "blocks": {}, | |
| "comments": {}, | |
| "currentCostume": 0, | |
| "costumes": [ | |
| { | |
| "name": "ball", | |
| "bitmapResolution": 1, | |
| "dataFormat": "svg", | |
| "assetId": "5d973d7a3a8be3f3bd6e1cd0f73c32b5", | |
| "md5ext": "5d973d7a3a8be3f3bd6e1cd0f73c32b5.svg", | |
| "rotationCenterX": 0, | |
| "rotationCenterY": 0 | |
| } | |
| ], | |
| "sounds": [], | |
| "volume": 100, | |
| "layerOrder": 3, | |
| "visible": true, | |
| "x": 0, | |
| "y": 100, | |
| "size": 100, | |
| "direction": 90, | |
| "draggable": false, | |
| "rotationStyle": "all around" | |
| } | |
| ], | |
| "monitors": [ | |
| { | |
| "id": "monitor_123e4567", | |
| "opcode": "data_variable", | |
| "mode": "default", | |
| "params": { | |
| "VARIABLE": "score" | |
| }, | |
| "spriteName": "Stage", | |
| "value": "0", | |
| "visible": true, | |
| "x": 5, | |
| "y": 5, | |
| "sliderMin": 0, | |
| "sliderMax": 100, | |
| "isDiscrete": true | |
| }, | |
| { | |
| "id": "monitor_8f4e3210", | |
| "opcode": "data_variable", | |
| "mode": "default", | |
| "params": { | |
| "VARIABLE": "\u2601 High Score" | |
| }, | |
| "spriteName": "Stage", | |
| "value": "0", | |
| "visible": true, | |
| "x": 325, | |
| "y": 5, | |
| "sliderMin": 0, | |
| "sliderMax": 100, | |
| "isDiscrete": true | |
| }, | |
| { | |
| "id": "monitor_4d5e921f", | |
| "opcode": "looks_backdropnumbername", | |
| "mode": "default", | |
| "params": { | |
| "NUMBER_NAME": "number" | |
| }, | |
| "spriteName": "Stage", | |
| "value": "1", | |
| "visible": false, | |
| "x": 5, | |
| "y": 55, | |
| "sliderMin": 0, | |
| "sliderMax": 100, | |
| "isDiscrete": true | |
| }, | |
| { | |
| "id": "monitor_8f901234", | |
| "opcode": "looks_costumenumbername", | |
| "mode": "default", | |
| "params": { | |
| "NUMBER_NAME": "number" | |
| }, | |
| "spriteName": "Stage", | |
| "value": "1", | |
| "visible": false, | |
| "x": 325, | |
| "y": 55, | |
| "sliderMin": 0, | |
| "sliderMax": 100, | |
| "isDiscrete": true | |
| } | |
| ], | |
| "extensions": [], | |
| "meta": { | |
| "semver": "3.0.0", | |
| "vm": "11.1.0", | |
| "agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36" | |
| } | |
| } |