{"id":17327,"student_id":130,"content":"setBackdrop('#000000');\nvar ship = createSprite(\"ship.png\");\nvar bullets = [];\nvar clock = 0;\nvar i = 0;\nforever(function () {\n\n if (clock % 3 == 0) {\n var bullet = createSprite(\"bullet.png\");\n bullets.push(bullet);\n bullet.direction = Math.random() * 360\n bullet.stepForward(500);\n bullet.direction = Math.random() * 360\n bullets.push(bullet)\n }\n print(bullets.length, 0, 0, \"red\", 50);\n clock++;\n ship.toward(cursor);\n ship.stepForward(5);\n for (var i = 0; i \u003c bullets.length; i++) {\n if (ship.touched(bullet[i]) == true)\n stop();\n bullets[i].stepForward(3);\n }\n if (ship.touched(food) == true) {\n food.x = Math.random() * 640\n food.y = Math.random() * 480\n };\n}); \n","created_at":"2017-03-01T20:52:04.729+08:00","updated_at":"2019-11-05T08:22:04.175+08:00","name":"太空訓練","language":"javascript","screenshot":{"url":"https://cdn0.koding.school/uploads/project/screenshot/17327/89edcce60b8890776f43b51e69f48ea4.jpg"},"parent_id":10707,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":117,"hashid":"5j3s9qr3","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":353410,"file_name":"bullet.png","project_id":17327,"asset_id":28733,"created_at":"2017-12-09T10:04:10.950+08:00","updated_at":"2017-12-09T10:04:10.950+08:00"},{"id":353411,"file_name":"food.png","project_id":17327,"asset_id":28734,"created_at":"2017-12-09T10:04:10.951+08:00","updated_at":"2017-12-09T10:04:10.951+08:00"},{"id":353412,"file_name":"ship.png","project_id":17327,"asset_id":28735,"created_at":"2017-12-09T10:04:10.953+08:00","updated_at":"2017-12-09T10:04:10.953+08:00"}]
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
繁中
简中
English
日本語
1:1:1
1:1
全寬
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦