{"id":114753,"student_id":10,"content":"var wall = createSprite('wall.png');\nvar dot = createSprite('dot.png');\n\nvar cross1 = createSprite('cross.png');\ncross1.moveTo(100, 100);\nvar cross2 = createSprite('cross.png');\ncross2.moveTo(540, 100);\nvar cross3 = createSprite('cross.png');\ncross3.moveTo(540, 380);\n\ndot.moveTo(100, 380);\ndot.scale = 0.7; // @TODO直接調整素材大小\n\n\n\n\nforever(function(){\n print(inspector.fps);\n if (dot.distanceTo(cursor) \u003c 30) {\n dot.x = cursor.x;\n dot.y = cursor.y;\n }\n \n if (dot.touched([wall, cross1, cross2, cross3])) {\n dot.moveTo(100, 380);\n }\n \n cross1.direction -= 0.5;\n cross2.direction += 0.9;\n cross3.direction += 1;\n});","created_at":"2019-12-15T20:08:26.333+08:00","updated_at":"2019-12-15T21:32:55.296+08:00","name":"電流急急棒_概念版","language":"javascript","screenshot":{"url":"https://cdn6.koding.school/uploads/project/screenshot/114753/aa8bc0a51fcf2b7fc42abda167cb8a29.jpg"},"parent_id":2,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":450,"hashid":"ej9sgk6q","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":1961619,"file_name":"wall.png","project_id":114753,"asset_id":172204,"created_at":"2019-12-15T21:11:34.638+08:00","updated_at":"2019-12-15T21:11:34.638+08:00"},{"id":1961620,"file_name":"dot.png","project_id":114753,"asset_id":172205,"created_at":"2019-12-15T21:12:07.494+08:00","updated_at":"2019-12-15T21:12:07.494+08:00"},{"id":1961621,"file_name":"cross.png","project_id":114753,"asset_id":172206,"created_at":"2019-12-15T21:16:48.640+08:00","updated_at":"2019-12-15T21:16:48.640+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦