{"id":11165,"student_id":98,"content":"{\n\t\"objName\": \"Stage\",\n\t\"variables\": [{\n\t\t\t\"name\": \"戰機生命值\",\n\t\t\t\"value\": \"3\",\n\t\t\t\"isPersistent\": false\n\t\t},\n\t\t{\n\t\t\t\"name\": \"時間\",\n\t\t\t\"value\": 9,\n\t\t\t\"isPersistent\": false\n\t\t}],\n\t\"scripts\": [[32,\n\t\t\t33,\n\t\t\t[[\"whenIReceive\", \"遊戲開始\"], [\"doForever\", [[\"nextScene\"], [\"wait:elapsed:from:\", 0.1]]]]],\n\t\t[256,\n\t\t\t28,\n\t\t\t[[\"whenIReceive\", \"遊戲開始\"],\n\t\t\t\t[\"setVar:to:\", \"時間\", 0],\n\t\t\t\t[\"doUntil\",\n\t\t\t\t\t[\"\u003e\", [\"readVariable\", \"時間\"], \"60\"],\n\t\t\t\t\t[[\"wait:elapsed:from:\", 1], [\"changeVar:by:\", \"時間\", 1]]]]]],\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\": \"bg\",\n\t\t\t\"baseLayerID\": -1,\n\t\t\t\"baseLayerMD5\": \"7652ed462a602a3520192c94156e7e22.png\",\n\t\t\t\"bitmapResolution\": 2,\n\t\t\t\"rotationCenterX\": 480,\n\t\t\t\"rotationCenterY\": 360\n\t\t},\n\t\t{\n\t\t\t\"costumeName\": \"bg2\",\n\t\t\t\"baseLayerID\": -1,\n\t\t\t\"baseLayerMD5\": \"7593760bd7934208b4b44eb6cd006d3d.png\",\n\t\t\t\"bitmapResolution\": 2,\n\t\t\t\"rotationCenterX\": 480,\n\t\t\t\"rotationCenterY\": 360\n\t\t},\n\t\t{\n\t\t\t\"costumeName\": \"bg3\",\n\t\t\t\"baseLayerID\": -1,\n\t\t\t\"baseLayerMD5\": \"275ef0127b0bf807ac0357fdb09b53cd.png\",\n\t\t\t\"bitmapResolution\": 2,\n\t\t\t\"rotationCenterX\": 480,\n\t\t\t\"rotationCenterY\": 360\n\t\t},\n\t\t{\n\t\t\t\"costumeName\": \"bg4\",\n\t\t\t\"baseLayerID\": -1,\n\t\t\t\"baseLayerMD5\": \"3523a61faa75367097c0ec9fb7f752d8.png\",\n\t\t\t\"bitmapResolution\": 2,\n\t\t\t\"rotationCenterX\": 480,\n\t\t\t\"rotationCenterY\": 360\n\t\t}],\n\t\"currentCostumeIndex\": 1,\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\": [[10, 10, [[\"whenGreenFlag\"], [\"hide\"]]],\n\t\t\t\t[589,\n\t\t\t\t\t10,\n\t\t\t\t\t[[\"procDef\", \"受擊特效\", [], [], false],\n\t\t\t\t\t\t[\"doRepeat\", 5, [[\"changeGraphicEffect:by:\", \"ghost\", 5]]],\n\t\t\t\t\t\t[\"doRepeat\", 5, [[\"changeGraphicEffect:by:\", \"ghost\", -5]]]]],\n\t\t\t\t[366,\n\t\t\t\t\t10,\n\t\t\t\t\t[[\"whenIReceive\", \"遊戲開始\"],\n\t\t\t\t\t\t[\"doUntil\",\n\t\t\t\t\t\t\t[\"\u003c\", [\"readVariable\", \"戰機生命值\"], \"1\"],\n\t\t\t\t\t\t\t[[\"wait:elapsed:from:\", [\"randomFrom:to:\", 1, 3]], [\"createCloneOf\", \"_myself_\"]]]]],\n\t\t\t\t[10,\n\t\t\t\t\t88,\n\t\t\t\t\t[[\"whenCloned\"],\n\t\t\t\t\t\t[\"gotoX:y:\", [\"randomFrom:to:\", -200, 200], 200],\n\t\t\t\t\t\t[\"heading:\", 180],\n\t\t\t\t\t\t[\"show\"],\n\t\t\t\t\t\t[\"doUntil\",\n\t\t\t\t\t\t\t[\"|\", [\"touching:\", \"戰機\"], [\"\u003c\", [\"ypos\"], \"-180\"]],\n\t\t\t\t\t\t\t[[\"forward:\", 3],\n\t\t\t\t\t\t\t\t[\"doIf\", [\"touching:\", \"砲彈\"], [[\"call\", \"受擊特效\"], [\"deleteClone\"]]]]],\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\": \"plane2\",\n\t\t\t\t\t\"baseLayerID\": -1,\n\t\t\t\t\t\"baseLayerMD5\": \"755aca63be99391bab716f36f5a9d8bf.png\",\n\t\t\t\t\t\"bitmapResolution\": 2,\n\t\t\t\t\t\"rotationCenterX\": 128,\n\t\t\t\t\t\"rotationCenterY\": 126\n\t\t\t\t}],\n\t\t\t\"currentCostumeIndex\": 0,\n\t\t\t\"scratchX\": 28,\n\t\t\t\"scratchY\": 190,\n\t\t\t\"scale\": 0.4,\n\t\t\t\"direction\": 180,\n\t\t\t\"rotationStyle\": \"normal\",\n\t\t\t\"isDraggable\": false,\n\t\t\t\"indexInLibrary\": 1,\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\": \"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\": 5,\n\t\t\t\"y\": 5,\n\t\t\t\"visible\": true\n\t\t},\n\t\t{\n\t\t\t\"objName\": \"砲彈\",\n\t\t\t\"scripts\": [[10, 10, [[\"whenGreenFlag\"], [\"hide\"]]],\n\t\t\t\t[129,\n\t\t\t\t\t10,\n\t\t\t\t\t[[\"whenIReceive\", \"射擊\"],\n\t\t\t\t\t\t[\"gotoSpriteOrMouse:\", \"戰機\"],\n\t\t\t\t\t\t[\"heading:\", 0],\n\t\t\t\t\t\t[\"show\"],\n\t\t\t\t\t\t[\"doUntil\",\n\t\t\t\t\t\t\t[\"|\", [\"touching:\", \"敵軍\"], [\"\u003e\", [\"ypos\"], \"180\"]],\n\t\t\t\t\t\t\t[[\"wait:elapsed:from:\", 0.5], [\"createCloneOf\", \"_myself_\"]]],\n\t\t\t\t\t\t[\"hide\"]]],\n\t\t\t\t[16,\n\t\t\t\t\t245,\n\t\t\t\t\t[[\"whenCloned\"],\n\t\t\t\t\t\t[\"turnLeft:\", 2],\n\t\t\t\t\t\t[\"doUntil\",\n\t\t\t\t\t\t\t[\"|\", [\"touching:\", \"敵軍\"], [\"\u003e\", [\"ypos\"], \"180\"]],\n\t\t\t\t\t\t\t[[\"forward:\", 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\": \"造型1\",\n\t\t\t\t\t\"baseLayerID\": -1,\n\t\t\t\t\t\"baseLayerMD5\": \"40b54eb72d26c8c8894555f5ee87f46f.png\",\n\t\t\t\t\t\"bitmapResolution\": 2,\n\t\t\t\t\t\"rotationCenterX\": 10,\n\t\t\t\t\t\"rotationCenterY\": 24\n\t\t\t\t}],\n\t\t\t\"currentCostumeIndex\": 0,\n\t\t\t\"scratchX\": -5,\n\t\t\t\"scratchY\": -150,\n\t\t\t\"scale\": 1,\n\t\t\t\"direction\": 0,\n\t\t\t\"rotationStyle\": \"leftRight\",\n\t\t\t\"isDraggable\": true,\n\t\t\t\"indexInLibrary\": 4,\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\": 5,\n\t\t\t\"y\": 42,\n\t\t\t\"visible\": true\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[\"hide\"],\n\t\t\t\t\t\t[\"setVar:to:\", \"戰機生命值\", \"3\"],\n\t\t\t\t\t\t[\"gotoX:y:\", -5, -150],\n\t\t\t\t\t\t[\"heading:\", 180]]],\n\t\t\t\t[254,\n\t\t\t\t\t10,\n\t\t\t\t\t[[\"whenIReceive\", \"遊戲開始\"],\n\t\t\t\t\t\t[\"show\"],\n\t\t\t\t\t\t[\"doForever\",\n\t\t\t\t\t\t\t[[\"doIf\",\n\t\t\t\t\t\t\t\t\t[\"\u003c\", [\"xpos\"], \"200\"],\n\t\t\t\t\t\t\t\t\t[[\"doIf\", [\"keyPressed:\", \"right arrow\"], [[\"changeXposBy:\", 5]]]]],\n\t\t\t\t\t\t\t\t[\"doIf\",\n\t\t\t\t\t\t\t\t\t[\"\u003e\", [\"xpos\"], \"-200\"],\n\t\t\t\t\t\t\t\t\t[[\"doIf\", [\"keyPressed:\", \"left arrow\"], [[\"changeXposBy:\", -5]]]]],\n\t\t\t\t\t\t\t\t[\"doIf\", [\"keyPressed:\", \"up arrow\"], [[\"changeYposBy:\", 5]]],\n\t\t\t\t\t\t\t\t[\"doIf\", [\"keyPressed:\", \"down arrow\"], [[\"changeYposBy:\", -5]]],\n\t\t\t\t\t\t\t\t[\"doIf\", [\"touching:\", \"敵軍\"], [[\"doBroadcastAndWait\", \"受攻擊\"]]]]]]],\n\t\t\t\t[10, 169, [[\"whenIReceive\", \"受攻擊\"], [\"changeVar:by:\", \"戰機生命值\", -1], [\"call\", \"受擊特效\"]]],\n\t\t\t\t[508,\n\t\t\t\t\t10,\n\t\t\t\t\t[[\"procDef\", \"受擊特效\", [], [], false],\n\t\t\t\t\t\t[\"doRepeat\", 10, [[\"changeGraphicEffect:by:\", \"ghost\", 5]]],\n\t\t\t\t\t\t[\"doRepeat\", 10, [[\"changeGraphicEffect:by:\", \"ghost\", -5]]]]],\n\t\t\t\t[10,\n\t\t\t\t\t272,\n\t\t\t\t\t[[\"whenIReceive\", \"遊戲開始\"],\n\t\t\t\t\t\t[\"doForever\",\n\t\t\t\t\t\t\t[[\"doIf\", [\"\u003c\", [\"readVariable\", \"戰機生命值\"], \"1\"], [[\"broadcast:\", \"遊戲失敗\"]]]]]]],\n\t\t\t\t[508, 217, [[\"whenKeyPressed\", \"space\"], [\"broadcast:\", \"射擊\"]]]],\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\": \"jet\",\n\t\t\t\t\t\"baseLayerID\": -1,\n\t\t\t\t\t\"baseLayerMD5\": \"95cf0a27f8e091fa218bf816e1d40e91.png\",\n\t\t\t\t\t\"bitmapResolution\": 2,\n\t\t\t\t\t\"rotationCenterX\": 226,\n\t\t\t\t\t\"rotationCenterY\": 119\n\t\t\t\t}],\n\t\t\t\"currentCostumeIndex\": 0,\n\t\t\t\"scratchX\": -20,\n\t\t\t\"scratchY\": -150,\n\t\t\t\"scale\": 0.4,\n\t\t\t\"direction\": 180,\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\"objName\": \"power-button\",\n\t\t\t\"scripts\": [[99,\n\t\t\t\t\t69,\n\t\t\t\t\t[[\"whenGreenFlag\"],\n\t\t\t\t\t\t[\"gotoX:y:\", 0, 0],\n\t\t\t\t\t\t[\"show\"],\n\t\t\t\t\t\t[\"doWaitUntil\", [\"\u0026\", [\"mousePressed\"], [\"touching:\", \"_mouse_\"]]],\n\t\t\t\t\t\t[\"broadcast:\", \"遊戲開始\"],\n\t\t\t\t\t\t[\"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\": \"power-button\",\n\t\t\t\t\t\"baseLayerID\": -1,\n\t\t\t\t\t\"baseLayerMD5\": \"aa21f70cd4f04e1c596dcd854603e079.png\",\n\t\t\t\t\t\"bitmapResolution\": 2,\n\t\t\t\t\t\"rotationCenterX\": 128,\n\t\t\t\t\t\"rotationCenterY\": 128\n\t\t\t\t}],\n\t\t\t\"currentCostumeIndex\": 0,\n\t\t\t\"scratchX\": 0,\n\t\t\t\"scratchY\": 0,\n\t\t\t\"scale\": 1,\n\t\t\t\"direction\": 90,\n\t\t\t\"rotationStyle\": \"normal\",\n\t\t\t\"isDraggable\": true,\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\"info\": {\n\t\t\"swfVersion\": \"v454\",\n\t\t\"spriteCount\": 4,\n\t\t\"hasCloudData\": false,\n\t\t\"videoOn\": false,\n\t\t\"flashVersion\": \"WIN 26,0,0,151\",\n\t\t\"userAgent\": \"Mozilla\\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\\/537.36 (KHTML, like Gecko) Chrome\\/60.0.3112.113 Safari\\/537.36\",\n\t\t\"scriptCount\": 16,\n\t\t\"projectID\": \"projects_npms3wrv\"\n\t}\n}","created_at":"2017-03-01T20:52:04.672+08:00","updated_at":"2019-10-28T00:02:32.940+08:00","name":"雷霆戰機","language":"scratch3","screenshot":{"url":"https://cdn1.koding.school/uploads/project/screenshot/11165/92eff19410f2a9572508bdae8c80cc58.jpg"},"parent_id":1,"plugin":null,"description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":428,"hashid":"npms3wrv","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":19327743,"file_name":null,"project_id":11165,"asset_id":29681,"created_at":"2024-11-03T23:52:31.634+08:00","updated_at":"2024-11-03T23:52:31.634+08:00"},{"id":19327744,"file_name":null,"project_id":11165,"asset_id":29716,"created_at":"2024-11-03T23:52:31.637+08:00","updated_at":"2024-11-03T23:52:31.637+08:00"},{"id":19327745,"file_name":null,"project_id":11165,"asset_id":29703,"created_at":"2024-11-03T23:52:31.639+08:00","updated_at":"2024-11-03T23:52:31.639+08:00"},{"id":19327746,"file_name":null,"project_id":11165,"asset_id":29714,"created_at":"2024-11-03T23:52:31.642+08:00","updated_at":"2024-11-03T23:52:31.642+08:00"},{"id":19327747,"file_name":null,"project_id":11165,"asset_id":9,"created_at":"2024-11-03T23:52:31.645+08:00","updated_at":"2024-11-03T23:52:31.645+08:00"},{"id":19327748,"file_name":null,"project_id":11165,"asset_id":6,"created_at":"2024-11-03T23:52:31.648+08:00","updated_at":"2024-11-03T23:52:31.648+08:00"},{"id":19327749,"file_name":null,"project_id":11165,"asset_id":29712,"created_at":"2024-11-03T23:52:31.650+08:00","updated_at":"2024-11-03T23:52:31.650+08:00"},{"id":19327750,"file_name":null,"project_id":11165,"asset_id":29756,"created_at":"2024-11-03T23:52:31.654+08:00","updated_at":"2024-11-03T23:52:31.654+08:00"},{"id":19327751,"file_name":null,"project_id":11165,"asset_id":29718,"created_at":"2024-11-03T23:52:31.658+08:00","updated_at":"2024-11-03T23:52:31.658+08:00"},{"id":19327752,"file_name":null,"project_id":11165,"asset_id":29752,"created_at":"2024-11-03T23:52:31.662+08:00","updated_at":"2024-11-03T23:52:31.662+08:00"}]
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
繁中
简中
English
日本語
語言
繁中
简中
English
日本語
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦