{"id":24901,"student_id":3127,"content":"{\n\t\"objName\": \"Stage\",\n\t\"variables\": [{\n\t\t\t\"name\": \"黃金重量\",\n\t\t\t\"value\": 588,\n\t\t\t\"isPersistent\": false\n\t\t},\n\t\t{\n\t\t\t\"name\": \"剩餘時間\",\n\t\t\t\"value\": 0,\n\t\t\t\"isPersistent\": false\n\t\t},\n\t\t{\n\t\t\t\"name\": \"勾到的重量\",\n\t\t\t\"value\": 44,\n\t\t\t\"isPersistent\": false\n\t\t},\n\t\t{\n\t\t\t\"name\": \"分數\",\n\t\t\t\"value\": 588,\n\t\t\t\"isPersistent\": false\n\t\t}],\n\t\"scripts\": [[7.2,\n\t\t\t97.4,\n\t\t\t[[\"whenGreenFlag\"],\n\t\t\t\t[\"setVar:to:\", \"剩餘時間\", \"60\"],\n\t\t\t\t[\"doRepeat\", 60, [[\"wait:elapsed:from:\", 1], [\"changeVar:by:\", \"剩餘時間\", -1]]],\n\t\t\t\t[\"broadcast:\", \"訊息1\"],\n\t\t\t\t[\"stopScripts\", \"all\"]]]],\n\t\"sounds\": [{\n\t\t\t\"soundName\": \"pop\",\n\t\t\t\"soundID\": -1,\n\t\t\t\"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n\t\t\t\"sampleCount\": 258,\n\t\t\t\"rate\": 11025,\n\t\t\t\"format\": \"\"\n\t\t}],\n\t\"costumes\": [{\n\t\t\t\"costumeName\": \"blue sky2\",\n\t\t\t\"baseLayerID\": -1,\n\t\t\t\"baseLayerMD5\": \"86b913f96c5b106fdd0a2ea377a25ab4.svg\",\n\t\t\t\"bitmapResolution\": 1,\n\t\t\t\"rotationCenterX\": 240,\n\t\t\t\"rotationCenterY\": 180\n\t\t}],\n\t\"currentCostumeIndex\": 0,\n\t\"penLayerMD5\": \"5c81a336fab8be57adc039a8a2b33ca9.png\",\n\t\"penLayerID\": -1,\n\t\"tempoBPM\": 60,\n\t\"videoAlpha\": 0.5,\n\t\"children\": [{\n\t\t\t\"objName\": \"黃金\",\n\t\t\t\"scripts\": [[46.4,\n\t\t\t\t\t89.4,\n\t\t\t\t\t[[\"whenGreenFlag\"],\n\t\t\t\t\t\t[\"setVar:to:\", \"黃金重量\", 0],\n\t\t\t\t\t\t[\"show\"],\n\t\t\t\t\t\t[\"doRepeat\",\n\t\t\t\t\t\t\t16,\n\t\t\t\t\t\t\t[[\"gotoX:y:\", [\"randomFrom:to:\", 240, -240], [\"randomFrom:to:\", -180, 110]],\n\t\t\t\t\t\t\t\t[\"createCloneOf\", \"_myself_\"],\n\t\t\t\t\t\t\t\t[\"setSizeTo:\", [\"randomFrom:to:\", 30, 75]]]],\n\t\t\t\t\t\t[\"hide\"]]],\n\t\t\t\t[91.2,\n\t\t\t\t\t358.35,\n\t\t\t\t\t[[\"whenCloned\"],\n\t\t\t\t\t\t[\"doWaitUntil\", [\"touching:\", \"鉤子\"]],\n\t\t\t\t\t\t[\"setVar:to:\", \"勾到的重量\", [\"scale\"]],\n\t\t\t\t\t\t[\"doUntil\", [\"touching:\", \"礦工\"], [[\"gotoSpriteOrMouse:\", \"鉤子\"]]],\n\t\t\t\t\t\t[\"changeVar:by:\", \"黃金重量\", [\"scale\"]],\n\t\t\t\t\t\t[\"deleteClone\"]]]],\n\t\t\t\"sounds\": [{\n\t\t\t\t\t\"soundName\": \"pop\",\n\t\t\t\t\t\"soundID\": -1,\n\t\t\t\t\t\"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n\t\t\t\t\t\"sampleCount\": 258,\n\t\t\t\t\t\"rate\": 11025,\n\t\t\t\t\t\"format\": \"\"\n\t\t\t\t}],\n\t\t\t\"costumes\": [{\n\t\t\t\t\t\"costumeName\": \"Retro-Coin-icon\",\n\t\t\t\t\t\"baseLayerID\": -1,\n\t\t\t\t\t\"baseLayerMD5\": \"856addd1b737d1017ca8abd98b0161a8.png\",\n\t\t\t\t\t\"bitmapResolution\": 2,\n\t\t\t\t\t\"rotationCenterX\": 30,\n\t\t\t\t\t\"rotationCenterY\": 38\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"costumeName\": \"Retro-Coin-icon2\",\n\t\t\t\t\t\"baseLayerID\": -1,\n\t\t\t\t\t\"baseLayerMD5\": \"ef09ef7713de593f952b0421088c472e.png\",\n\t\t\t\t\t\"bitmapResolution\": 2,\n\t\t\t\t\t\"rotationCenterX\": 94,\n\t\t\t\t\t\"rotationCenterY\": 126\n\t\t\t\t}],\n\t\t\t\"currentCostumeIndex\": 0,\n\t\t\t\"scratchX\": -167,\n\t\t\t\"scratchY\": -152,\n\t\t\t\"scale\": 0.38,\n\t\t\t\"direction\": 90,\n\t\t\t\"rotationStyle\": \"normal\",\n\t\t\t\"isDraggable\": false,\n\t\t\t\"indexInLibrary\": 3,\n\t\t\t\"visible\": false,\n\t\t\t\"spriteInfo\": {\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"target\": \"鉤子\",\n\t\t\t\"cmd\": \"heading\",\n\t\t\t\"param\": null,\n\t\t\t\"color\": 4877524,\n\t\t\t\"label\": \"鉤子: 方向\",\n\t\t\t\"mode\": 1,\n\t\t\t\"sliderMin\": 0,\n\t\t\t\"sliderMax\": 100,\n\t\t\t\"isDiscrete\": true,\n\t\t\t\"x\": 5,\n\t\t\t\"y\": 5,\n\t\t\t\"visible\": false\n\t\t},\n\t\t{\n\t\t\t\"objName\": \"礦工\",\n\t\t\t\"sounds\": [{\n\t\t\t\t\t\"soundName\": \"meow\",\n\t\t\t\t\t\"soundID\": -1,\n\t\t\t\t\t\"md5\": \"83c36d806dc92327b9e7049a565c6bff.wav\",\n\t\t\t\t\t\"sampleCount\": 18688,\n\t\t\t\t\t\"rate\": 22050,\n\t\t\t\t\t\"format\": \"\"\n\t\t\t\t}],\n\t\t\t\"costumes\": [{\n\t\t\t\t\t\"costumeName\": \"造型2\",\n\t\t\t\t\t\"baseLayerID\": -1,\n\t\t\t\t\t\"baseLayerMD5\": \"1e773399a84a8eeb2015d24f71f0f0a2.png\",\n\t\t\t\t\t\"bitmapResolution\": 2,\n\t\t\t\t\t\"rotationCenterX\": 40,\n\t\t\t\t\t\"rotationCenterY\": 43\n\t\t\t\t}],\n\t\t\t\"currentCostumeIndex\": 0,\n\t\t\t\"scratchX\": 3,\n\t\t\t\"scratchY\": 156,\n\t\t\t\"scale\": 1,\n\t\t\t\"direction\": 90,\n\t\t\t\"rotationStyle\": \"normal\",\n\t\t\t\"isDraggable\": false,\n\t\t\t\"indexInLibrary\": 1,\n\t\t\t\"visible\": true,\n\t\t\t\"spriteInfo\": {\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"objName\": \"石頭\",\n\t\t\t\"scripts\": [[10,\n\t\t\t\t\t10,\n\t\t\t\t\t[[\"whenGreenFlag\"],\n\t\t\t\t\t\t[\"show\"],\n\t\t\t\t\t\t[\"doRepeat\",\n\t\t\t\t\t\t\t8,\n\t\t\t\t\t\t\t[[\"gotoX:y:\", [\"randomFrom:to:\", 240, -240], [\"randomFrom:to:\", -180, 130]],\n\t\t\t\t\t\t\t\t[\"createCloneOf\", \"_myself_\"],\n\t\t\t\t\t\t\t\t[\"setSizeTo:\", [\"randomFrom:to:\", 30, 75]]]],\n\t\t\t\t\t\t[\"hide\"]]],\n\t\t\t\t[66,\n\t\t\t\t\t269.2,\n\t\t\t\t\t[[\"whenCloned\"],\n\t\t\t\t\t\t[\"doWaitUntil\", [\"touching:\", \"鉤子\"]],\n\t\t\t\t\t\t[\"setVar:to:\", \"勾到的重量\", [\"scale\"]],\n\t\t\t\t\t\t[\"doUntil\", [\"touching:\", \"礦工\"], [[\"gotoSpriteOrMouse:\", \"鉤子\"]]],\n\t\t\t\t\t\t[\"deleteClone\"]]]],\n\t\t\t\"sounds\": [{\n\t\t\t\t\t\"soundName\": \"pop\",\n\t\t\t\t\t\"soundID\": -1,\n\t\t\t\t\t\"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n\t\t\t\t\t\"sampleCount\": 258,\n\t\t\t\t\t\"rate\": 11025,\n\t\t\t\t\t\"format\": \"\"\n\t\t\t\t}],\n\t\t\t\"costumes\": [{\n\t\t\t\t\t\"costumeName\": \"造型1\",\n\t\t\t\t\t\"baseLayerID\": -1,\n\t\t\t\t\t\"baseLayerMD5\": \"5beb49ef68838376654ee2e960436a31.png\",\n\t\t\t\t\t\"bitmapResolution\": 2,\n\t\t\t\t\t\"rotationCenterX\": 56,\n\t\t\t\t\t\"rotationCenterY\": 49\n\t\t\t\t}],\n\t\t\t\"currentCostumeIndex\": 0,\n\t\t\t\"scratchX\": 152,\n\t\t\t\"scratchY\": -36,\n\t\t\t\"scale\": 0.59,\n\t\t\t\"direction\": 90,\n\t\t\t\"rotationStyle\": \"normal\",\n\t\t\t\"isDraggable\": false,\n\t\t\t\"indexInLibrary\": 4,\n\t\t\t\"visible\": false,\n\t\t\t\"spriteInfo\": {\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"objName\": \"鉤子\",\n\t\t\t\"scripts\": [[54,\n\t\t\t\t\t38,\n\t\t\t\t\t[[\"whenGreenFlag\"],\n\t\t\t\t\t\t[\"clearPenTrails\"],\n\t\t\t\t\t\t[\"putPenUp\"],\n\t\t\t\t\t\t[\"gotoX:y:\", 0, 134],\n\t\t\t\t\t\t[\"heading:\", 90],\n\t\t\t\t\t\t[\"doForever\",\n\t\t\t\t\t\t\t[[\"doRepeat\", 180, [[\"doWaitUntil\", [\"touching:\", \"礦工\"]], [\"turnRight:\", 1]]],\n\t\t\t\t\t\t\t\t[\"doRepeat\", 180, [[\"doWaitUntil\", [\"touching:\", \"礦工\"]], [\"turnLeft:\", 1]]]]]]],\n\t\t\t\t[263.05,\n\t\t\t\t\t29.8,\n\t\t\t\t\t[[\"whenKeyPressed\", \"space\"],\n\t\t\t\t\t\t[\"putPenDown\"],\n\t\t\t\t\t\t[\"penSize:\", 1],\n\t\t\t\t\t\t[\"penColor:\", -16777216],\n\t\t\t\t\t\t[\"doUntil\",\n\t\t\t\t\t\t\t[\"|\", [\"touching:\", \"_edge_\"], [\"|\", [\"touching:\", \"石頭\"], [\"touching:\", \"黃金\"]]],\n\t\t\t\t\t\t\t[[\"forward:\", 10]]],\n\t\t\t\t\t\t[\"changePenSizeBy:\", 3],\n\t\t\t\t\t\t[\"penColor:\", -6727424],\n\t\t\t\t\t\t[\"doUntil\",\n\t\t\t\t\t\t\t[\"touching:\", \"礦工\"],\n\t\t\t\t\t\t\t[[\"forward:\", [\"+\", -10, [\"\\/\", [\"readVariable\", \"勾到的重量\"], 10]]]]]]]],\n\t\t\t\"sounds\": [{\n\t\t\t\t\t\"soundName\": \"pop\",\n\t\t\t\t\t\"soundID\": -1,\n\t\t\t\t\t\"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n\t\t\t\t\t\"sampleCount\": 258,\n\t\t\t\t\t\"rate\": 11025,\n\t\t\t\t\t\"format\": \"\"\n\t\t\t\t}],\n\t\t\t\"costumes\": [{\n\t\t\t\t\t\"costumeName\": \"螢幕快照 2017-04-13 下午5.23.2\",\n\t\t\t\t\t\"baseLayerID\": -1,\n\t\t\t\t\t\"baseLayerMD5\": \"9b73a20b7a2e35d0f5ff1d931e165404.png\",\n\t\t\t\t\t\"bitmapResolution\": 2,\n\t\t\t\t\t\"rotationCenterX\": 64,\n\t\t\t\t\t\"rotationCenterY\": 170\n\t\t\t\t}],\n\t\t\t\"currentCostumeIndex\": 0,\n\t\t\t\"scratchX\": 43.94019122616661,\n\t\t\t\"scratchY\": 115.03334534712523,\n\t\t\t\"scale\": 0.15000000000000022,\n\t\t\t\"direction\": 108,\n\t\t\t\"rotationStyle\": \"normal\",\n\t\t\t\"isDraggable\": false,\n\t\t\t\"indexInLibrary\": 2,\n\t\t\t\"visible\": true,\n\t\t\t\"spriteInfo\": {\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"target\": \"Stage\",\n\t\t\t\"cmd\": \"getVar:\",\n\t\t\t\"param\": \"剩餘時間\",\n\t\t\t\"color\": 15629590,\n\t\t\t\"label\": \"剩餘時間\",\n\t\t\t\"mode\": 1,\n\t\t\t\"sliderMin\": 0,\n\t\t\t\"sliderMax\": 100,\n\t\t\t\"isDiscrete\": true,\n\t\t\t\"x\": 371,\n\t\t\t\"y\": 4,\n\t\t\t\"visible\": true\n\t\t},\n\t\t{\n\t\t\t\"target\": \"Stage\",\n\t\t\t\"cmd\": \"getVar:\",\n\t\t\t\"param\": \"黃金重量\",\n\t\t\t\"color\": 15629590,\n\t\t\t\"label\": \"黃金重量\",\n\t\t\t\"mode\": 1,\n\t\t\t\"sliderMin\": 0,\n\t\t\t\"sliderMax\": 100,\n\t\t\t\"isDiscrete\": true,\n\t\t\t\"x\": 6.85,\n\t\t\t\"y\": 4.35,\n\t\t\t\"visible\": true\n\t\t},\n\t\t{\n\t\t\t\"target\": \"Stage\",\n\t\t\t\"cmd\": \"getVar:\",\n\t\t\t\"param\": \"勾到的重量\",\n\t\t\t\"color\": 15629590,\n\t\t\t\"label\": \"勾到的重量\",\n\t\t\t\"mode\": 1,\n\t\t\t\"sliderMin\": 0,\n\t\t\t\"sliderMax\": 100,\n\t\t\t\"isDiscrete\": true,\n\t\t\t\"x\": 5,\n\t\t\t\"y\": 32,\n\t\t\t\"visible\": false\n\t\t},\n\t\t{\n\t\t\t\"objName\": \"遊戲結束\",\n\t\t\t\"scripts\": [[54.45,\n\t\t\t\t\t119.45,\n\t\t\t\t\t[[\"whenIReceive\", \"訊息1\"],\n\t\t\t\t\t\t[\"comeToFront\"],\n\t\t\t\t\t\t[\"show\"],\n\t\t\t\t\t\t[\"setVar:to:\", \"分數\", [\"readVariable\", \"黃金重量\"]],\n\t\t\t\t\t\t[\"showVariable:\", \"分數\"]]],\n\t\t\t\t[44, 16.6, [[\"whenGreenFlag\"], [\"hideVariable:\", \"分數\"], [\"hide\"]]]],\n\t\t\t\"sounds\": [{\n\t\t\t\t\t\"soundName\": \"pop\",\n\t\t\t\t\t\"soundID\": -1,\n\t\t\t\t\t\"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n\t\t\t\t\t\"sampleCount\": 258,\n\t\t\t\t\t\"rate\": 11025,\n\t\t\t\t\t\"format\": \"\"\n\t\t\t\t}],\n\t\t\t\"costumes\": [{\n\t\t\t\t\t\"costumeName\": \"造型1\",\n\t\t\t\t\t\"baseLayerID\": -1,\n\t\t\t\t\t\"baseLayerMD5\": \"2eca6e81aa5f54be016f6bb3860a087d.png\",\n\t\t\t\t\t\"bitmapResolution\": 2,\n\t\t\t\t\t\"rotationCenterX\": 368,\n\t\t\t\t\t\"rotationCenterY\": 52\n\t\t\t\t}],\n\t\t\t\"currentCostumeIndex\": 0,\n\t\t\t\"scratchX\": -10,\n\t\t\t\"scratchY\": 2,\n\t\t\t\"scale\": 1,\n\t\t\t\"direction\": 90,\n\t\t\t\"rotationStyle\": \"normal\",\n\t\t\t\"isDraggable\": false,\n\t\t\t\"indexInLibrary\": 5,\n\t\t\t\"visible\": true,\n\t\t\t\"spriteInfo\": {\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"target\": \"Stage\",\n\t\t\t\"cmd\": \"getVar:\",\n\t\t\t\"param\": \"分數\",\n\t\t\t\"color\": 15629590,\n\t\t\t\"label\": \"分數\",\n\t\t\t\"mode\": 2,\n\t\t\t\"sliderMin\": 0,\n\t\t\t\"sliderMax\": 100,\n\t\t\t\"isDiscrete\": true,\n\t\t\t\"x\": 212,\n\t\t\t\"y\": 228,\n\t\t\t\"visible\": true\n\t\t},\n\t\t{\n\t\t\t\"objName\": \"遊戲結束2\",\n\t\t\t\"scripts\": [[54.45,\n\t\t\t\t\t119.45,\n\t\t\t\t\t[[\"whenIReceive\", \"訊息1\"],\n\t\t\t\t\t\t[\"comeToFront\"],\n\t\t\t\t\t\t[\"show\"],\n\t\t\t\t\t\t[\"setVar:to:\", \"分數\", [\"readVariable\", \"黃金重量\"]],\n\t\t\t\t\t\t[\"showVariable:\", \"分數\"]]],\n\t\t\t\t[44, 16.6, [[\"whenGreenFlag\"], [\"hideVariable:\", \"分數\"], [\"hide\"]]]],\n\t\t\t\"sounds\": [{\n\t\t\t\t\t\"soundName\": \"pop\",\n\t\t\t\t\t\"soundID\": -1,\n\t\t\t\t\t\"md5\": \"83a9787d4cb6f3b7632b4ddfebf74367.wav\",\n\t\t\t\t\t\"sampleCount\": 258,\n\t\t\t\t\t\"rate\": 11025,\n\t\t\t\t\t\"format\": \"\"\n\t\t\t\t}],\n\t\t\t\"costumes\": [{\n\t\t\t\t\t\"costumeName\": \"造型1\",\n\t\t\t\t\t\"baseLayerID\": -1,\n\t\t\t\t\t\"baseLayerMD5\": \"2eca6e81aa5f54be016f6bb3860a087d.png\",\n\t\t\t\t\t\"bitmapResolution\": 2,\n\t\t\t\t\t\"rotationCenterX\": 368,\n\t\t\t\t\t\"rotationCenterY\": 52\n\t\t\t\t}],\n\t\t\t\"currentCostumeIndex\": 0,\n\t\t\t\"scratchX\": 16,\n\t\t\t\"scratchY\": 39,\n\t\t\t\"scale\": 1,\n\t\t\t\"direction\": 90,\n\t\t\t\"rotationStyle\": \"normal\",\n\t\t\t\"isDraggable\": false,\n\t\t\t\"indexInLibrary\": 6,\n\t\t\t\"visible\": true,\n\t\t\t\"spriteInfo\": {\n\t\t\t}\n\t\t}],\n\t\"info\": {\n\t\t\"userAgent\": \"Mozilla\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/64.0.3282.186 Safari\\/537.36\",\n\t\t\"scriptCount\": 11,\n\t\t\"projectID\": \"projects_npmszvqn\",\n\t\t\"spriteCount\": 6,\n\t\t\"swfVersion\": \"v454\",\n\t\t\"videoOn\": false,\n\t\t\"flashVersion\": \"WIN 29,0,0,113\",\n\t\t\"hasCloudData\": false\n\t}\n}","created_at":"2018-03-17T17:59:31.249+08:00","updated_at":"2019-10-12T22:46:02.154+08:00","name":"挖礦工 (從0開始)","language":"scratch3","screenshot":{"url":"https://cdn0.koding.school/uploads/project/screenshot/24901/0b7e79c593cdec13b791cf022c21430f.jpg"},"parent_id":4698,"plugin":null,"description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":106,"hashid":"npmszvqn","is_content_changed":false,"review_status":"pending","submitted_at":"2018-03-17T20:16:14.881+08:00","reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":469664,"file_name":"0.wav","project_id":24901,"asset_id":15654,"created_at":"2018-03-17T17:59:31.259+08:00","updated_at":"2018-03-17T17:59:31.259+08:00"},{"id":469665,"file_name":"0.svg","project_id":24901,"asset_id":15655,"created_at":"2018-03-17T17:59:31.260+08:00","updated_at":"2018-03-17T17:59:31.260+08:00"},{"id":469666,"file_name":"0.png","project_id":24901,"asset_id":15656,"created_at":"2018-03-17T17:59:31.262+08:00","updated_at":"2018-03-17T17:59:31.262+08:00"},{"id":469667,"file_name":"1.png","project_id":24901,"asset_id":15657,"created_at":"2018-03-17T17:59:31.263+08:00","updated_at":"2018-03-17T17:59:31.263+08:00"},{"id":469668,"file_name":"1.wav","project_id":24901,"asset_id":15658,"created_at":"2018-03-17T17:59:31.265+08:00","updated_at":"2018-03-17T17:59:31.265+08:00"},{"id":469669,"file_name":"2.png","project_id":24901,"asset_id":15659,"created_at":"2018-03-17T17:59:31.266+08:00","updated_at":"2018-03-17T17:59:31.266+08:00"},{"id":469670,"file_name":"3.png","project_id":24901,"asset_id":15660,"created_at":"2018-03-17T17:59:31.268+08:00","updated_at":"2018-03-17T17:59:31.268+08:00"},{"id":469671,"file_name":"4.png","project_id":24901,"asset_id":15661,"created_at":"2018-03-17T17:59:31.269+08:00","updated_at":"2018-03-17T17:59:31.269+08:00"},{"id":469672,"file_name":"5.png","project_id":24901,"asset_id":15662,"created_at":"2018-03-17T17:59:31.271+08:00","updated_at":"2018-03-17T17:59:31.271+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
語言
中文
简体中文
英文
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦