Spaces:
Sleeping
Sleeping
| { | |
| "targets": [ | |
| { | |
| "isStage": true, | |
| "name": "Stage", | |
| "objName": "Stage", | |
| "variables": { | |
| "score_1928be01": [ | |
| "score", | |
| "0" | |
| ], | |
| "\u2601 High Score_5dc5b6b3": [ | |
| "\u2601 High Score", | |
| "0", | |
| true | |
| ], | |
| "speed_cf1e3031": [ | |
| "speed", | |
| "0" | |
| ], | |
| "lives_3df6533a": [ | |
| "lives", | |
| "3" | |
| ], | |
| "level_6b681b89": [ | |
| "level", | |
| "1" | |
| ] | |
| }, | |
| "lists": { | |
| "recent_scores_3938891e": [ | |
| "recent_scores", | |
| [] | |
| ], | |
| "obstacle_speeds_1429ce66": [ | |
| "obstacle_speeds", | |
| [] | |
| ], | |
| "power_ups_18300c8e": [ | |
| "power_ups", | |
| [] | |
| ] | |
| }, | |
| "broadcasts": { | |
| "Game Over_68b90ced": "Game Over", | |
| "Game Start_7887aca2": "Game Start", | |
| "Reset Game_82d369db": "Reset Game", | |
| "Level Up_07908481": "Level Up" | |
| }, | |
| "blocks": { | |
| "event_whenflagclicked_1": { | |
| "opcode": "event_whenflagclicked", | |
| "next": "looks_switchbackdropto_2", | |
| "parent": null, | |
| "inputs": {}, | |
| "fields": {}, | |
| "shadow": false, | |
| "topLevel": true, | |
| "x": 0, | |
| "y": 0 | |
| }, | |
| "looks_switchbackdropto_2": { | |
| "opcode": "looks_switchbackdropto", | |
| "inputs": { | |
| "BACKDROP": [ | |
| 1, | |
| "backdrop_gameover" | |
| ] | |
| }, | |
| "fields": {}, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 0, | |
| "y": -50, | |
| "next": null, | |
| "parent": "event_whenbroadcastreceived_1" | |
| }, | |
| "backdrop_blue_sky": { | |
| "opcode": "looks_backdrops", | |
| "fields": { | |
| "BACKDROP": [ | |
| "Blue sky", | |
| "e7c147730f19d284bcd7b3f00af19bb6" | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "looks_switchbackdropto_2", | |
| "topLevel": false | |
| }, | |
| "data_setvariableto_3": { | |
| "opcode": "data_setvariableto", | |
| "next": "data_showvariable_4", | |
| "parent": "looks_switchbackdropto_2", | |
| "inputs": { | |
| "VALUE": [ | |
| 1, | |
| "shadow_0" | |
| ] | |
| }, | |
| "fields": { | |
| "VARIABLE": [ | |
| "score", | |
| "score_1928be01" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 0, | |
| "y": -100 | |
| }, | |
| "shadow_0": { | |
| "opcode": "math_number", | |
| "fields": { | |
| "NUM": [ | |
| "0", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "data_setvariableto_3", | |
| "topLevel": false | |
| }, | |
| "data_showvariable_4": { | |
| "opcode": "data_showvariable", | |
| "next": "event_broadcast_5", | |
| "parent": "data_setvariableto_3", | |
| "inputs": {}, | |
| "fields": { | |
| "VARIABLE": [ | |
| "score", | |
| "score_1928be01" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 0, | |
| "y": -150 | |
| }, | |
| "event_broadcast_5": { | |
| "opcode": "event_broadcast", | |
| "next": "control_forever_6", | |
| "parent": "data_showvariable_4", | |
| "inputs": { | |
| "BROADCAST_INPUT": [ | |
| 1, | |
| "broadcast_Game Start" | |
| ] | |
| }, | |
| "fields": {}, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 0, | |
| "y": -200 | |
| }, | |
| "broadcast_Game Start": { | |
| "opcode": "event_broadcast_menu", | |
| "fields": { | |
| "BROADCAST": [ | |
| "Game Start", | |
| "Game Start_7887aca2" | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "event_broadcast_5", | |
| "topLevel": false | |
| }, | |
| "control_forever_6": { | |
| "opcode": "control_forever", | |
| "next": "data_changevariableby_14", | |
| "parent": "event_broadcast_5", | |
| "inputs": { | |
| "SUBSTACK": [ | |
| 2, | |
| "sensing_touchingobject_7" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 0, | |
| "y": -250 | |
| }, | |
| "sensing_touchingobject_7": { | |
| "opcode": "sensing_touchingobject", | |
| "next": "looks_switchbackdropto_8", | |
| "parent": "control_forever_6", | |
| "inputs": { | |
| "TOUCHINGOBJECTMENU": [ | |
| 1, | |
| "sensing_touchingobjectmenu_soccer ball" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 0, | |
| "y": -300 | |
| }, | |
| "sensing_touchingobjectmenu_soccer ball": { | |
| "opcode": "sensing_touchingobjectmenu", | |
| "fields": { | |
| "TOUCHINGOBJECTMENU": [ | |
| "soccer ball", | |
| "soccer ball" | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "sensing_touchingobject_7", | |
| "topLevel": false | |
| }, | |
| "looks_switchbackdropto_8": { | |
| "opcode": "looks_switchbackdropto", | |
| "next": "event_broadcast_9", | |
| "parent": "sensing_touchingobject_7", | |
| "inputs": { | |
| "BACKDROP": [ | |
| 1, | |
| "backdrop_game over" | |
| ] | |
| }, | |
| "fields": {}, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 0, | |
| "y": -350 | |
| }, | |
| "backdrop_game over": { | |
| "opcode": "looks_backdrops", | |
| "fields": { | |
| "BACKDROP": [ | |
| "game over", | |
| "ee99a4b49761fe861db0753d43918c68" | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "looks_switchbackdropto_8", | |
| "topLevel": false | |
| }, | |
| "event_broadcast_9": { | |
| "opcode": "event_broadcast", | |
| "next": "control_stop_10", | |
| "parent": "looks_switchbackdropto_8", | |
| "inputs": { | |
| "BROADCAST_INPUT": [ | |
| 1, | |
| "broadcast_Game Over" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false | |
| }, | |
| "broadcast_Game Over": { | |
| "opcode": "event_broadcast_menu", | |
| "fields": { | |
| "BROADCAST": [ | |
| "Game Over", | |
| "Game Over_68b90ced" | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "event_broadcast_9", | |
| "topLevel": false | |
| }, | |
| "control_stop_10": { | |
| "opcode": "control_stop", | |
| "next": null, | |
| "parent": "event_broadcast_9", | |
| "inputs": {}, | |
| "fields": {}, | |
| "shadow": false, | |
| "topLevel": false | |
| }, | |
| "event_keypressed_11": { | |
| "opcode": "event_keypressed", | |
| "next": "control_if_12", | |
| "parent": null, | |
| "inputs": { | |
| "KEY_OPTION": [ | |
| 1, | |
| "space" | |
| ] | |
| }, | |
| "fields": {}, | |
| "shadow": false, | |
| "topLevel": true, | |
| "x": 0, | |
| "y": 150 | |
| }, | |
| "control_if_12": { | |
| "opcode": "control_if", | |
| "next": "motion_changeyby_13", | |
| "parent": "event_keypressed_11", | |
| "inputs": { | |
| "CONDITION": [ | |
| 1, | |
| "sensing_mousey_11" | |
| ], | |
| "SUBSTACK": [ | |
| 2, | |
| "motion_repeat_15" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 0, | |
| "y": 450 | |
| }, | |
| "sensing_mousey_11": { | |
| "opcode": "sensing_mousey", | |
| "shadow": false, | |
| "parent": "control_if_12", | |
| "topLevel": false | |
| }, | |
| "motion_changeyby_13": { | |
| "opcode": "motion_changeyby", | |
| "next": null, | |
| "parent": "control_if_12", | |
| "inputs": { | |
| "DISTANCE": [ | |
| 1, | |
| "shadow_-100" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 0, | |
| "y": 500 | |
| }, | |
| "shadow_-100": { | |
| "opcode": "motion_number", | |
| "fields": { | |
| "NUM": [ | |
| "-100", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "motion_changeyby_13", | |
| "topLevel": false | |
| }, | |
| "motion_repeat_15": { | |
| "opcode": "motion_repeat", | |
| "next": null, | |
| "parent": "control_if_12", | |
| "inputs": { | |
| "TIMES": [ | |
| 1, | |
| "shadow_10" | |
| ], | |
| "SUBSTACK": [ | |
| 2, | |
| "motion_changeyby_16" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 0, | |
| "y": 550 | |
| }, | |
| "shadow_10": { | |
| "opcode": "math_number", | |
| "fields": { | |
| "NUM": [ | |
| "10", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "motion_repeat_15", | |
| "topLevel": false | |
| }, | |
| "motion_changeyby_16": { | |
| "opcode": "motion_changeyby", | |
| "next": "motion_wait_17", | |
| "parent": "motion_repeat_15", | |
| "inputs": { | |
| "DISTANCE": [ | |
| 1, | |
| "shadow_10" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 0, | |
| "y": 600 | |
| }, | |
| "motion_wait_17": { | |
| "opcode": "motion_wait", | |
| "next": null, | |
| "parent": "motion_changeyby_16", | |
| "inputs": { | |
| "DURATION": [ | |
| 1, | |
| "shadow_1" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 0, | |
| "y": 650 | |
| }, | |
| "shadow_1": { | |
| "opcode": "math_number", | |
| "fields": { | |
| "NUM": [ | |
| "1", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "motion_wait_17", | |
| "topLevel": false | |
| }, | |
| "data_changevariableby_14": { | |
| "opcode": "data_changevariableby", | |
| "next": null, | |
| "parent": "control_forever_6", | |
| "inputs": { | |
| "VALUE": [ | |
| 1, | |
| "shadow_1" | |
| ] | |
| }, | |
| "fields": { | |
| "VARIABLE": [ | |
| "score", | |
| "score_1928be01" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 0, | |
| "y": -300 | |
| }, | |
| "event_whenbroadcastreceived_1": { | |
| "opcode": "event_whenbroadcastreceived", | |
| "inputs": { | |
| "BROADCAST_OPTION": [ | |
| 1, | |
| "game over" | |
| ] | |
| }, | |
| "fields": {}, | |
| "shadow": false, | |
| "topLevel": true, | |
| "x": 0, | |
| "y": 300, | |
| "next": "looks_switchbackdropto_2", | |
| "parent": null | |
| }, | |
| "broadcast_gameover": { | |
| "opcode": "event_broadcast_menu", | |
| "fields": { | |
| "BROADCAST": [ | |
| "Game Over", | |
| "Game Over_68b90ced" | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "event_whenbroadcastreceived_1", | |
| "topLevel": false | |
| }, | |
| "backdrop_gameover": { | |
| "opcode": "looks_backdrops", | |
| "fields": { | |
| "BACKDROP": [ | |
| "game over", | |
| "ee99a4b49761fe861db0753d43918c68" | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "looks_switchbackdropto_2", | |
| "topLevel": false | |
| } | |
| }, | |
| "comments": {}, | |
| "currentCostume": 1, | |
| "costumes": [ | |
| { | |
| "name": "Blue sky", | |
| "bitmapResolution": 1, | |
| "dataFormat": "svg", | |
| "assetId": "e7c147730f19d284bcd7b3f00af19bb6", | |
| "md5ext": "e7c147730f19d284bcd7b3f00af19bb6.svg", | |
| "rotationCenterX": 240, | |
| "rotationCenterY": 180 | |
| }, | |
| { | |
| "name": "game over", | |
| "bitmapResolution": 1, | |
| "dataFormat": "svg", | |
| "assetId": "ee99a4b49761fe861db0753d43918c68", | |
| "md5ext": "ee99a4b49761fe861db0753d43918c68.svg", | |
| "rotationCenterX": 240, | |
| "rotationCenterY": 180 | |
| } | |
| ], | |
| "sounds": [ | |
| { | |
| "name": "button", | |
| "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": "Sprite1", | |
| "objName": "Sprite1", | |
| "variables": {}, | |
| "lists": {}, | |
| "broadcasts": {}, | |
| "blocks": { | |
| "event_whenflagclicked_1": { | |
| "opcode": "event_whenflagclicked", | |
| "next": "data_setvariableto_2", | |
| "parent": null, | |
| "fields": {}, | |
| "shadow": false, | |
| "topLevel": true, | |
| "x": 0, | |
| "y": 0 | |
| }, | |
| "data_setvariableto_2": { | |
| "opcode": "data_setvariableto", | |
| "next": "data_setvariableto_3", | |
| "parent": "event_whenflagclicked_1", | |
| "fields": { | |
| "VARIABLE": [ | |
| "speed", | |
| "speed_cf1e3031" | |
| ] | |
| }, | |
| "inputs": { | |
| "VALUE": [ | |
| 1, | |
| "shadow_0" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 100, | |
| "y": 0 | |
| }, | |
| "shadow_0": { | |
| "opcode": "math_number", | |
| "fields": { | |
| "NUM": [ | |
| "0", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "data_setvariableto_2", | |
| "topLevel": false | |
| }, | |
| "data_setvariableto_3": { | |
| "opcode": "data_setvariableto", | |
| "next": "data_setvariableto_4", | |
| "parent": "data_setvariableto_2", | |
| "fields": { | |
| "VARIABLE": [ | |
| "lives", | |
| "lives_3df6533a" | |
| ] | |
| }, | |
| "inputs": { | |
| "VALUE": [ | |
| 1, | |
| "shadow_1" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 100, | |
| "y": -50 | |
| }, | |
| "shadow_1": { | |
| "opcode": "math_number", | |
| "fields": { | |
| "NUM": [ | |
| "3", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "data_setvariableto_3", | |
| "topLevel": false | |
| }, | |
| "data_setvariableto_4": { | |
| "opcode": "data_setvariableto", | |
| "next": "looks_show_5", | |
| "parent": "data_setvariableto_3", | |
| "fields": { | |
| "VARIABLE": [ | |
| "score", | |
| "score_1928be01" | |
| ] | |
| }, | |
| "inputs": { | |
| "VALUE": [ | |
| 1, | |
| "shadow_2" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 100, | |
| "y": -100 | |
| }, | |
| "shadow_2": { | |
| "opcode": "math_number", | |
| "fields": { | |
| "NUM": [ | |
| "0", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "data_setvariableto_4", | |
| "topLevel": false | |
| }, | |
| "looks_show_5": { | |
| "opcode": "looks_show", | |
| "next": "control_forever_6", | |
| "parent": "data_setvariableto_4", | |
| "fields": {}, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 100, | |
| "y": -150 | |
| }, | |
| "control_forever_6": { | |
| "opcode": "control_forever", | |
| "next": null, | |
| "parent": "looks_show_5", | |
| "inputs": { | |
| "SUBSTACK": [ | |
| 2, | |
| "motion_changexby_7" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 200, | |
| "y": -150 | |
| }, | |
| "motion_changexby_7": { | |
| "opcode": "motion_changexby", | |
| "next": "sensing_touchingobject_8", | |
| "parent": "control_forever_6", | |
| "inputs": { | |
| "DX": [ | |
| 1, | |
| "shadow_3" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 250, | |
| "y": -150 | |
| }, | |
| "shadow_3": { | |
| "opcode": "math_number", | |
| "fields": { | |
| "NUM": [ | |
| "speed", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "motion_changexby_7", | |
| "topLevel": false | |
| }, | |
| "sensing_touchingobject_8": { | |
| "opcode": "sensing_touchingobject", | |
| "next": "data_changevariableby_9", | |
| "parent": "motion_changexby_7", | |
| "inputs": { | |
| "TOUCHINGOBJECTMENU": [ | |
| 1, | |
| "shadow_4" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 250, | |
| "y": -200 | |
| }, | |
| "shadow_4": { | |
| "opcode": "sensing_touchingobjectmenu", | |
| "fields": { | |
| "TOUCHINGOBJECTMENU": [ | |
| "soccer ball", | |
| "soccer ball" | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "sensing_touchingobject_8", | |
| "topLevel": false | |
| }, | |
| "data_changevariableby_9": { | |
| "opcode": "data_changevariableby", | |
| "next": "control_if_10", | |
| "parent": "sensing_touchingobject_8", | |
| "fields": { | |
| "VARIABLE": [ | |
| "lives", | |
| "lives_3df6533a" | |
| ] | |
| }, | |
| "inputs": { | |
| "VALUE": [ | |
| 1, | |
| "shadow_5" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 250, | |
| "y": -250 | |
| }, | |
| "shadow_5": { | |
| "opcode": "math_number", | |
| "fields": { | |
| "NUM": [ | |
| "-1", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "data_changevariableby_9", | |
| "topLevel": false | |
| }, | |
| "control_if_10": { | |
| "opcode": "control_if", | |
| "next": "data_setvariableto_11", | |
| "parent": "data_changevariableby_9", | |
| "inputs": { | |
| "CONDITION": [ | |
| 1, | |
| "operator_equals_12" | |
| ], | |
| "SUBSTACK": [ | |
| 2, | |
| "control_stop_13" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 250, | |
| "y": -300 | |
| }, | |
| "operator_equals_12": { | |
| "opcode": "operator_equals", | |
| "inputs": { | |
| "OPERAND1": [ | |
| 1, | |
| "data_variable_14" | |
| ], | |
| "OPERAND2": [ | |
| 1, | |
| "shadow_6" | |
| ] | |
| }, | |
| "shadow": false, | |
| "parent": "control_if_10", | |
| "topLevel": false, | |
| "x": 250, | |
| "y": -350 | |
| }, | |
| "data_variable_14": { | |
| "opcode": "data_variable", | |
| "fields": { | |
| "VARIABLE": [ | |
| "lives", | |
| "lives_3df6533a" | |
| ] | |
| }, | |
| "shadow": false, | |
| "parent": "operator_equals_12", | |
| "topLevel": false | |
| }, | |
| "shadow_6": { | |
| "opcode": "math_number", | |
| "fields": { | |
| "NUM": [ | |
| "0", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "operator_equals_12", | |
| "topLevel": false | |
| }, | |
| "control_stop_13": { | |
| "opcode": "control_stop", | |
| "inputs": { | |
| "STOP_OPTION": [ | |
| 1, | |
| "shadow_7" | |
| ] | |
| }, | |
| "shadow": false, | |
| "parent": "control_if_10", | |
| "topLevel": false, | |
| "x": 300, | |
| "y": -300 | |
| }, | |
| "shadow_7": { | |
| "opcode": "control_stop_menu", | |
| "fields": { | |
| "STOP_OPTION": [ | |
| "all", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "control_stop_13", | |
| "topLevel": false | |
| }, | |
| "data_setvariableto_11": { | |
| "opcode": "data_setvariableto", | |
| "inputs": { | |
| "VALUE": [ | |
| 1, | |
| "shadow_8" | |
| ] | |
| }, | |
| "next": "wait_15", | |
| "parent": "control_if_10", | |
| "fields": { | |
| "VARIABLE": [ | |
| "speed", | |
| "speed_cf1e3031" | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 250, | |
| "y": -400 | |
| }, | |
| "shadow_8": { | |
| "opcode": "operator_gt_16", | |
| "inputs": { | |
| "OPERAND1": [ | |
| 1, | |
| "motion_xposition_17" | |
| ], | |
| "OPERAND2": [ | |
| 1, | |
| "shadow_9" | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "data_setvariableto_11", | |
| "topLevel": false | |
| }, | |
| "operator_gt_16": { | |
| "opcode": "operator_gt", | |
| "inputs": { | |
| "OPERAND1": [ | |
| 1, | |
| "motion_xposition_17" | |
| ], | |
| "OPERAND2": [ | |
| 1, | |
| "shadow_9" | |
| ] | |
| }, | |
| "shadow": false, | |
| "parent": "data_setvariableto_11", | |
| "topLevel": false, | |
| "x": 250, | |
| "y": -450 | |
| }, | |
| "motion_xposition_17": { | |
| "opcode": "motion_xposition", | |
| "shadow": false, | |
| "parent": "operator_gt_16", | |
| "topLevel": false | |
| }, | |
| "shadow_9": { | |
| "opcode": "math_number", | |
| "fields": { | |
| "NUM": [ | |
| "240", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "operator_gt_16", | |
| "topLevel": false | |
| }, | |
| "wait_15": { | |
| "opcode": "wait", | |
| "inputs": { | |
| "DURATION": [ | |
| 1, | |
| "shadow_10" | |
| ] | |
| }, | |
| "next": null, | |
| "parent": "data_setvariableto_11", | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 250, | |
| "y": -450 | |
| }, | |
| "shadow_10": { | |
| "opcode": "math_number", | |
| "fields": { | |
| "NUM": [ | |
| "0.1", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "wait_15", | |
| "topLevel": false | |
| }, | |
| "event_whenkeypressed_1": { | |
| "opcode": "event_whenkeypressed", | |
| "inputs": { | |
| "KEY": [ | |
| 1, | |
| "shadow_key_2" | |
| ] | |
| }, | |
| "next": "control_if_3", | |
| "parent": null, | |
| "fields": { | |
| "KEY": [ | |
| "space", | |
| null | |
| ] | |
| }, | |
| "shadow": false, | |
| "topLevel": true, | |
| "x": 0, | |
| "y": 150 | |
| }, | |
| "shadow_key_2": { | |
| "opcode": "event_key_menu", | |
| "fields": { | |
| "KEY": [ | |
| "space", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "event_whenkeypressed_1", | |
| "topLevel": false | |
| }, | |
| "control_if_3": { | |
| "opcode": "control_if", | |
| "inputs": { | |
| "CONDITION": [ | |
| 1, | |
| "operator_eq_4" | |
| ], | |
| "SUBSTACK": [ | |
| 2, | |
| "control_repeat_7" | |
| ] | |
| }, | |
| "next": null, | |
| "parent": "event_whenkeypressed_1", | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 100, | |
| "y": 50 | |
| }, | |
| "operator_eq_4": { | |
| "opcode": "operator_eq", | |
| "inputs": { | |
| "OPERAND1": [ | |
| 1, | |
| "sensing_ystop_5" | |
| ], | |
| "OPERAND2": [ | |
| 1, | |
| "shadow_number_6" | |
| ] | |
| }, | |
| "next": null, | |
| "parent": "control_if_3", | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 150, | |
| "y": 100 | |
| }, | |
| "sensing_ystop_5": { | |
| "opcode": "sensing_ystop", | |
| "shadow": false, | |
| "parent": "operator_eq_4", | |
| "topLevel": false | |
| }, | |
| "shadow_number_6": { | |
| "opcode": "math_number", | |
| "fields": { | |
| "NUM": [ | |
| "-120", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "operator_eq_4", | |
| "topLevel": false | |
| }, | |
| "control_repeat_7": { | |
| "opcode": "control_repeat", | |
| "inputs": { | |
| "TIMES": [ | |
| 1, | |
| "shadow_number_8" | |
| ] | |
| }, | |
| "next": null, | |
| "parent": "control_if_3", | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 200, | |
| "y": 150 | |
| }, | |
| "shadow_number_8": { | |
| "opcode": "math_number", | |
| "fields": { | |
| "NUM": [ | |
| "10", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "control_repeat_7", | |
| "topLevel": false | |
| }, | |
| "motion_changeyby_9": { | |
| "opcode": "motion_changeyby", | |
| "inputs": { | |
| "DY": [ | |
| 1, | |
| "shadow_number_10" | |
| ] | |
| }, | |
| "next": "control_wait_11", | |
| "parent": "control_repeat_7", | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 250, | |
| "y": 200 | |
| }, | |
| "shadow_number_10": { | |
| "opcode": "math_number", | |
| "fields": { | |
| "NUM": [ | |
| "20", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "motion_changeyby_9", | |
| "topLevel": false | |
| }, | |
| "control_wait_11": { | |
| "opcode": "control_wait", | |
| "inputs": { | |
| "DURATION": [ | |
| 1, | |
| "shadow_number_12" | |
| ] | |
| }, | |
| "next": "motion_changeyby_13", | |
| "parent": "motion_changeyby_9", | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 300, | |
| "y": 250 | |
| }, | |
| "shadow_number_12": { | |
| "opcode": "math_number", | |
| "fields": { | |
| "NUM": [ | |
| "0.1", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "control_wait_11", | |
| "topLevel": false | |
| }, | |
| "motion_changeyby_13": { | |
| "opcode": "motion_changeyby", | |
| "inputs": { | |
| "DY": [ | |
| 1, | |
| "shadow_number_14" | |
| ] | |
| }, | |
| "next": null, | |
| "parent": "control_wait_11", | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 350, | |
| "y": 300 | |
| }, | |
| "shadow_number_14": { | |
| "opcode": "math_number", | |
| "fields": { | |
| "NUM": [ | |
| "-20", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "motion_changeyby_13", | |
| "topLevel": false | |
| } | |
| }, | |
| "comments": {}, | |
| "currentCostume": 0, | |
| "costumes": [ | |
| { | |
| "name": "Sprite1", | |
| "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": -120, | |
| "size": 100, | |
| "direction": 90, | |
| "draggable": false, | |
| "rotationStyle": "all around" | |
| }, | |
| { | |
| "isStage": false, | |
| "name": "soccer ball", | |
| "objName": "soccer ball", | |
| "variables": {}, | |
| "lists": {}, | |
| "broadcasts": {}, | |
| "blocks": { | |
| "hatBlockID": { | |
| "opcode": "event_whenflagclicked", | |
| "next": "goToBlockID", | |
| "parent": null, | |
| "shadow": false, | |
| "topLevel": true, | |
| "x": 0, | |
| "y": 0 | |
| }, | |
| "goToBlockID": { | |
| "opcode": "motion_gotoxy", | |
| "inputs": { | |
| "X": [ | |
| 1, | |
| "xCoordShadowID" | |
| ], | |
| "Y": [ | |
| 1, | |
| "yCoordShadowID" | |
| ] | |
| }, | |
| "next": "setObstacleSpeedBlockID", | |
| "parent": "hatBlockID", | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 0, | |
| "y": -50 | |
| }, | |
| "xCoordShadowID": { | |
| "opcode": "math_number", | |
| "fields": { | |
| "NUM": [ | |
| "0", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "goToBlockID", | |
| "topLevel": false | |
| }, | |
| "yCoordShadowID": { | |
| "opcode": "math_number", | |
| "fields": { | |
| "NUM": [ | |
| "0", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "goToBlockID", | |
| "topLevel": false | |
| }, | |
| "setObstacleSpeedBlockID": { | |
| "opcode": "data_setvariableto", | |
| "fields": { | |
| "VARIABLE": [ | |
| "obstacle speed", | |
| "speed_cf1e3031" | |
| ] | |
| }, | |
| "inputs": { | |
| "VALUE": [ | |
| 1, | |
| "obstacleSpeedValueShadowID" | |
| ] | |
| }, | |
| "next": "showBlockID", | |
| "parent": "goToBlockID", | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 0, | |
| "y": -100 | |
| }, | |
| "obstacleSpeedValueShadowID": { | |
| "opcode": "math_number", | |
| "fields": { | |
| "NUM": [ | |
| "5", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "setObstacleSpeedBlockID", | |
| "topLevel": false | |
| }, | |
| "showBlockID": { | |
| "opcode": "looks_show", | |
| "next": "foreverBlockID", | |
| "parent": "setObstacleSpeedBlockID", | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 0, | |
| "y": -150 | |
| }, | |
| "foreverBlockID": { | |
| "opcode": "control_forever", | |
| "inputs": { | |
| "SUBSTACK": [ | |
| 2, | |
| "changeXBlockID" | |
| ] | |
| }, | |
| "next": null, | |
| "parent": "showBlockID", | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 0, | |
| "y": -200 | |
| }, | |
| "changeXBlockID": { | |
| "opcode": "motion_changexby", | |
| "inputs": { | |
| "DX": [ | |
| 1, | |
| "changeXValueShadowID" | |
| ] | |
| }, | |
| "next": "ifEdgeCheckBlockID", | |
| "parent": "foreverBlockID", | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 0, | |
| "y": -250 | |
| }, | |
| "changeXValueShadowID": { | |
| "opcode": "math_number", | |
| "fields": { | |
| "NUM": [ | |
| "10", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "changeXBlockID", | |
| "topLevel": false | |
| }, | |
| "ifEdgeCheckBlockID": { | |
| "opcode": "control_if", | |
| "inputs": { | |
| "CONDITION": [ | |
| 1, | |
| "edgeTouchingShadowID" | |
| ], | |
| "SUBSTACK": [ | |
| 2, | |
| "resetXBlockID" | |
| ] | |
| }, | |
| "next": "ifSprite1TouchingShadowID", | |
| "parent": "foreverBlockID", | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 150, | |
| "y": -300 | |
| }, | |
| "edgeTouchingShadowID": { | |
| "opcode": "sensing_touchingobject", | |
| "inputs": { | |
| "TOUCHINGOBJECTMENU": [ | |
| 1, | |
| "edgeTouchingObjectMenuShadowID" | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "ifEdgeCheckBlockID", | |
| "topLevel": false | |
| }, | |
| "edgeTouchingObjectMenuShadowID": { | |
| "opcode": "sensing_touchingobjectmenu", | |
| "fields": { | |
| "TOUCHINGOBJECTMENU": [ | |
| "_edge_", | |
| null | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "edgeTouchingShadowID", | |
| "topLevel": false | |
| }, | |
| "resetXBlockID": { | |
| "opcode": "motion_gotoxy", | |
| "inputs": { | |
| "X": [ | |
| 1, | |
| "xCoordShadowID" | |
| ], | |
| "Y": [ | |
| 1, | |
| "yCoordShadowID" | |
| ] | |
| }, | |
| "next": null, | |
| "parent": "ifEdgeCheckBlockID", | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 150, | |
| "y": -350 | |
| }, | |
| "ifSprite1TouchingShadowID": { | |
| "opcode": "control_if", | |
| "inputs": { | |
| "CONDITION": [ | |
| 1, | |
| "sprite1TouchingShadowID" | |
| ], | |
| "SUBSTACK": [ | |
| 2, | |
| "broadcastGameOverBlockID" | |
| ] | |
| }, | |
| "next": null, | |
| "parent": "foreverBlockID", | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 300, | |
| "y": -300 | |
| }, | |
| "sprite1TouchingShadowID": { | |
| "opcode": "sensing_touchingobject", | |
| "inputs": { | |
| "TOUCHINGOBJECTMENU": [ | |
| 1, | |
| "sprite1TouchingObjectMenuShadowID" | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "ifSprite1TouchingShadowID", | |
| "topLevel": false | |
| }, | |
| "sprite1TouchingObjectMenuShadowID": { | |
| "opcode": "sensing_touchingobjectmenu", | |
| "fields": { | |
| "TOUCHINGOBJECTMENU": [ | |
| "Sprite1", | |
| "Sprite1_ID" | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "sprite1TouchingShadowID", | |
| "topLevel": false | |
| }, | |
| "broadcastGameOverBlockID": { | |
| "opcode": "event_broadcast", | |
| "inputs": { | |
| "BROADCAST_INPUT": [ | |
| 1, | |
| "gameOverBroadcastMenuShadowID" | |
| ] | |
| }, | |
| "next": "stopAllBlockID", | |
| "parent": "ifSprite1TouchingShadowID", | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 300, | |
| "y": -350 | |
| }, | |
| "gameOverBroadcastMenuShadowID": { | |
| "opcode": "event_broadcast_menu", | |
| "fields": { | |
| "BROADCAST": [ | |
| "Game Over", | |
| "Game Over_68b90ced" | |
| ] | |
| }, | |
| "shadow": true, | |
| "parent": "broadcastGameOverBlockID", | |
| "topLevel": false | |
| }, | |
| "stopAllBlockID": { | |
| "opcode": "control_stop", | |
| "fields": { | |
| "STOP_OPTION": [ | |
| "all", | |
| null | |
| ] | |
| }, | |
| "next": null, | |
| "parent": "broadcastGameOverBlockID", | |
| "shadow": false, | |
| "topLevel": false, | |
| "x": 300, | |
| "y": -400 | |
| } | |
| }, | |
| "comments": {}, | |
| "currentCostume": 0, | |
| "costumes": [ | |
| { | |
| "name": "soccer ball", | |
| "bitmapResolution": 1, | |
| "dataFormat": "svg", | |
| "assetId": "5d973d7a3a8be3f3bd6e1cd0f73c32b5", | |
| "md5ext": "5d973d7a3a8be3f3bd6e1cd0f73c32b5.svg", | |
| "rotationCenterX": 0, | |
| "rotationCenterY": 0 | |
| } | |
| ], | |
| "sounds": [], | |
| "volume": 100, | |
| "layerOrder": 3, | |
| "visible": true, | |
| "x": 130, | |
| "y": 0, | |
| "size": 100, | |
| "direction": 90, | |
| "draggable": false, | |
| "rotationStyle": "all around" | |
| } | |
| ], | |
| "monitors": [ | |
| { | |
| "id": "monitor_1234567890", | |
| "opcode": "data_variable", | |
| "mode": "default", | |
| "params": { | |
| "VARIABLE": "score" | |
| }, | |
| "spriteName": null, | |
| "value": "0", | |
| "x": 5, | |
| "y": 5, | |
| "visible": true, | |
| "sliderMin": 0, | |
| "sliderMax": 100, | |
| "isDiscrete": true | |
| }, | |
| { | |
| "id": "monitor_\u2601_High_Score_9876543210", | |
| "opcode": "data_variable", | |
| "mode": "default", | |
| "params": { | |
| "VARIABLE": "\u2601 High Score" | |
| }, | |
| "spriteName": "Stage", | |
| "value": "0", | |
| "x": 325, | |
| "y": 5, | |
| "visible": true, | |
| "sliderMin": 0, | |
| "sliderMax": 100, | |
| "isDiscrete": true | |
| }, | |
| { | |
| "id": "monitor_9876543210_speed", | |
| "opcode": "data_variable", | |
| "mode": "default", | |
| "params": { | |
| "VARIABLE": "speed" | |
| }, | |
| "spriteName": "Stage", | |
| "value": "0", | |
| "x": 5, | |
| "y": 55, | |
| "visible": true, | |
| "sliderMin": 0, | |
| "sliderMax": 100, | |
| "isDiscrete": true | |
| }, | |
| { | |
| "id": "monitor_looks_costume_number_name_123", | |
| "opcode": "looks_costumenumbername", | |
| "mode": "default", | |
| "params": { | |
| "NUMBER_NAME": "number" | |
| }, | |
| "spriteName": "Stage", | |
| "value": "1", | |
| "x": 325, | |
| "y": 55, | |
| "visible": false, | |
| "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" | |
| } | |
| } |