{"id":8687,"student_id":10,"content":"forever(function() {\n step--;\n if(step \u003e 0) {\n \tp1.x = p1.x + 1;\n p2.x = p2.x - 1;\n }\n if(step === 0) {\n p1.costumeId = 1;\n p2.costumeId = 1;\n }\n if(key.enter \u0026\u0026 p2.costumeId == 1) {\n p1.costumeId = 2;\n p2.costumeId = 3;\n sound.play('shot.wav');\n }\n if(key.space \u0026\u0026 p2.costumeId == 1) {\n p2.costumeId = 2;\n p1.costumeId = 3;\n sound.play('shot.wav');\n }\n});","created_at":"2017-03-01T20:52:04.729+08:00","updated_at":"2019-11-08T09:37:49.974+08:00","name":"牛仔大對決","language":"javascript","screenshot":{"url":"https://cdn8.koding.school/uploads/project/screenshot/8687/fd1ac05835b665cf0d7e3c5532c7c2d7.jpg"},"parent_id":8274,"plugin":"setBackdrop('bg.png',0, 0, 640, 480);\nvar p1 = createSprite({\n\tcostumes: [\"right_0.png\",\"right_1.png\",\"right_2.png\",\"right_3.png\"],\n x: 340,\n y: 400,\n scale: 1.3\n});\nvar p2 = createSprite({\n\tcostumes: [\"left_0.png\",\"left_1.png\",\"left_2.png\",\"left_3.png\"],\n x: 300,\n y: 400,\n scale: 1.3\n});\nvar step = Math.random()*200 + 50;\nstep = Math.round(step);","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":351,"hashid":"rdvsqyy","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":190226,"file_name":"bg.png","project_id":8687,"asset_id":22252,"created_at":"2017-08-03T14:23:43.514+08:00","updated_at":"2017-08-03T14:23:43.514+08:00"},{"id":190227,"file_name":"shot.wav","project_id":8687,"asset_id":22253,"created_at":"2017-08-03T14:23:43.517+08:00","updated_at":"2017-08-03T14:23:43.517+08:00"},{"id":190228,"file_name":"left_1.png","project_id":8687,"asset_id":22254,"created_at":"2017-08-03T14:23:43.519+08:00","updated_at":"2017-08-03T14:23:43.519+08:00"},{"id":190229,"file_name":"left_0.png","project_id":8687,"asset_id":22255,"created_at":"2017-08-03T14:23:43.521+08:00","updated_at":"2017-08-03T14:23:43.521+08:00"},{"id":190230,"file_name":"left_2.png","project_id":8687,"asset_id":22256,"created_at":"2017-08-03T14:23:43.523+08:00","updated_at":"2017-08-03T14:23:43.523+08:00"},{"id":190231,"file_name":"left_3.png","project_id":8687,"asset_id":22257,"created_at":"2017-08-03T14:23:43.525+08:00","updated_at":"2017-08-03T14:23:43.525+08:00"},{"id":190232,"file_name":"right_0.png","project_id":8687,"asset_id":22258,"created_at":"2017-08-03T14:23:43.527+08:00","updated_at":"2017-08-03T14:23:43.527+08:00"},{"id":190233,"file_name":"right_1.png","project_id":8687,"asset_id":22259,"created_at":"2017-08-03T14:23:43.528+08:00","updated_at":"2017-08-03T14:23:43.528+08:00"},{"id":190234,"file_name":"right_2.png","project_id":8687,"asset_id":22260,"created_at":"2017-08-03T14:23:43.530+08:00","updated_at":"2017-08-03T14:23:43.530+08:00"},{"id":190235,"file_name":"right_3.png","project_id":8687,"asset_id":22261,"created_at":"2017-08-03T14:23:43.533+08:00","updated_at":"2017-08-03T14:23:43.533+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦