{"id":8204,"student_id":1470,"content":"setBackdrop(\"#ffffff\");\nvar speed = 1;\nvar goArr = [];\n\nvar upSprite = createSprite({\n \tx: 0,\n \ty: 0,\n scale: 1,\n\tcostumes: \"Up.png\"\n});\nvar downSprite = createSprite({\n \tx: 0,\n \ty: 0,\n scale: 1,\n\tcostumes: \"Down.png\"\n});\nvar leftSprite = createSprite({\n \tx: 0,\n \ty: 0,\n scale: 1,\n\tcostumes: \"Left.png\"\n});\nvar rightSprite = createSprite({\n \tx: 0,\n \ty: 0,\n scale: 1,\n\tcostumes: \"Right.png\"\n});\n\nvar sprites = [upSprite, downSprite, leftSprite, rightSprite];\n\nvar clock = 0;\nforever(function(){\n if(clock % 10 == 0){\n var __random = Math.round(Math.random() * 3);\n var newSprite = sprites[__random];\n newSprite.y = Math.round(Math.random() * 350);\n newSprite.x = -32;\n goArr.push(newSprite);\n }\n for(var i = 0 ; i \u003c goArr.length; i++){\n goArr[i].x += 1;\n }\n \n clock++;\n})","created_at":"2017-03-01T20:52:04.729+08:00","updated_at":"2019-11-09T02:46:48.709+08:00","name":"跳舞機","language":"javascript","screenshot":{"url":"https://cdn8.koding.school/uploads/project/screenshot/8204/7cdedadf5a7acfd5a9d09ff78f2c8922.jpg"},"parent_id":2,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":472,"hashid":"wdksyn6","is_content_changed":null,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":182064,"file_name":"Up.png","project_id":8204,"asset_id":22084,"created_at":"2017-07-25T15:45:02.495+08:00","updated_at":"2017-07-25T15:45:02.495+08:00"},{"id":182065,"file_name":"Left.png","project_id":8204,"asset_id":22085,"created_at":"2017-07-25T15:45:02.498+08:00","updated_at":"2017-07-25T15:45:02.498+08:00"},{"id":182066,"file_name":"Down.png","project_id":8204,"asset_id":22086,"created_at":"2017-07-25T15:45:03.336+08:00","updated_at":"2017-07-25T15:45:03.336+08:00"},{"id":182067,"file_name":"Right.png","project_id":8204,"asset_id":22087,"created_at":"2017-07-25T15:45:03.339+08:00","updated_at":"2017-07-25T15:45:03.339+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦