{"id":27194,"student_id":2015,"content":"setBackdrop('background.jpg',0,0,640,480);\n\nvar koding = createSprite([\"koding.png\",\"koding_2.png\"]);\n\n\nvar flying = false;\nvar life = 5;\nvar scores = 0;\n\n\nwhen('click',function() {\n});\n\nforever(function() {\n print('生命: ' + life, 10, 10, 'red', 20);\n print('攔截數量: ' + scores, 10, 40, 'red', 20);\n \n \n if(Math.random()*100\u003c2){\n \n var arrow = createSprite(\"arrow.png\"); \n arrow.direction = Math.random ()*360;\n arrow.stepForward(200);\n arrow.toward(koding);\n flying = true;\n \nif(flying == true){\n \narrow.stepForward(7); \n \n \n \nif (arrow.touched(koding)){ \n\nlife = life-1;\n flying =false;\n \n}}}});","created_at":"2018-04-26T20:10:34.113+08:00","updated_at":"2019-11-11T08:29:28.621+08:00","name":"終結叩汀","language":"javascript","screenshot":{"url":"https://cdn2.koding.school/uploads/project/screenshot/27194/e82edc9238b8f72d38fc6059605b6cce.jpg"},"parent_id":8789,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":84,"hashid":"gk4spz96","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":501711,"file_name":"background.jpg","project_id":27194,"asset_id":23106,"created_at":"2018-04-26T20:10:34.121+08:00","updated_at":"2018-04-26T20:10:34.121+08:00"},{"id":501712,"file_name":"arrow.png","project_id":27194,"asset_id":23107,"created_at":"2018-04-26T20:10:34.124+08:00","updated_at":"2018-04-26T20:10:34.124+08:00"},{"id":501713,"file_name":"koding_2.png","project_id":27194,"asset_id":28755,"created_at":"2018-04-26T20:10:34.125+08:00","updated_at":"2018-04-26T20:10:34.125+08:00"},{"id":501714,"file_name":"koding.png","project_id":27194,"asset_id":28756,"created_at":"2018-04-26T20:10:34.127+08:00","updated_at":"2018-04-26T20:10:34.127+08:00"}]
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
繁中
简中
English
日本語
1:1:1
1:1
全寬
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦