{"id":40648,"student_id":1652,"content":"setBackdrop('background.jpg',0,0,640,480);\n\nvar koding = createSprite([\"images.jpg\",\"images (5).jpg\"]);\nvar arrow;\nvar flying = false;\nvar life = 5;\nvar scores = 0;\n\nwhen('click',function() {\n scores += 1\n arrow.opacity = 0.3;\n flying = false\n if (flying) { \n scores += 1\n } else { \n life -= 1\n } \n });\n\nforever(function() {\n print('生命: ' + life, 10, 10, 'red', 20);\n print('攔截數量: ' + scores, 10, 40, 'red', 20);\n if (flying === false \u0026\u0026 Math.random() *100 \u003c 1) {\n arrow = createSprite(\"arrow.png\");\n arrow.direction = Math.random()*360;\n flying = true; \n arrow.stepForward(200)\n arrow.toward(koding)\n\n }\n \n if(flying === true){\n arrow.stepForward(8);\n if(arrow.touched(koding)){\n flying = false;\n life -= 1;\n } \n \n }\n\n if(life \u003c 0){\n stop();\n koding.costumeId = 1;\n }\n \n \n \n \n \n});\n\n\n\n\n\n\n\n\n\n\n\n\n\n","created_at":"2018-09-01T13:39:02.643+08:00","updated_at":"2019-11-02T03:20:12.531+08:00","name":"終結叩汀 副本","language":"javascript","screenshot":{"url":"https://cdn1.koding.school/uploads/project/screenshot/40648/e36adbaae7801416e0aba1624e3c792a.jpg"},"parent_id":8789,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":71,"hashid":"gk4s8wn9","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":716462,"file_name":"background.jpg","project_id":40648,"asset_id":23106,"created_at":"2018-09-01T13:39:02.651+08:00","updated_at":"2018-09-01T13:39:02.651+08:00"},{"id":716463,"file_name":"arrow.png","project_id":40648,"asset_id":23107,"created_at":"2018-09-01T13:39:02.652+08:00","updated_at":"2018-09-01T13:39:02.652+08:00"},{"id":716464,"file_name":"koding_2.png","project_id":40648,"asset_id":28755,"created_at":"2018-09-01T13:39:02.654+08:00","updated_at":"2018-09-01T13:39:02.654+08:00"},{"id":716465,"file_name":"koding.png","project_id":40648,"asset_id":28756,"created_at":"2018-09-01T13:39:02.655+08:00","updated_at":"2018-09-01T13:39:02.655+08:00"},{"id":718550,"file_name":"images.jpg","project_id":40648,"asset_id":84484,"created_at":"2018-09-01T15:24:51.250+08:00","updated_at":"2018-09-01T15:24:51.250+08:00"},{"id":718551,"file_name":"images (5).jpg","project_id":40648,"asset_id":84485,"created_at":"2018-09-01T15:24:58.755+08:00","updated_at":"2018-09-01T15:24:58.755+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦