{"id":25239,"student_id":2724,"content":"//submarine.forward(600);\r\nsetBackdrop(\"#0072E3\");\r\nvar net = createSprite(\"net.png\")\r\nnet.scale = 0.2;\r\nnet.x = 50;\r\nnet.y = 400;\r\n\r\nceateFish();\r\n\r\nfunction ceateFish()}\r\n\r\n var fish = creatSprite(\"net.png\");\r\n fish.x = Math.random()*620;\r\n fish.y = Math.random()*440;\r\n fish.scale = 0.1;\r\n fish.direction = Math.random()*360;\r\n\r\n\r\n fish.forever(function(){\r\n \r\n if(fish.x \u003e 600){\r\n fish.direction = Math.random()*180+*180;\r\n } \r\n if(fish.x \u003c 40){ \r\n fish.direction = Math.random()*180;\r\n }\r\n if(fish.y \u003e 420){\r\n fish.direction = Math.random()*180+270;\r\n }\r\n if(fish.y \u003c 40){\r\n fish.direction = Math.random()*180+90;\r\n }\r\n \r\n fish.stepForward(3);\r\n});\r\n\r\nnet.forever(function(){\r\n net.x = cursor.x\r\n net.y = cursor.y\r\n\r\n});","created_at":"2018-03-20T14:08:19.797+08:00","updated_at":"2019-11-08T23:49:00.801+08:00","name":"撈金魚 (從0開始)","language":"javascript","screenshot":{"url":"https://cdn3.koding.school/uploads/project/screenshot/25239/89edcce60b8890776f43b51e69f48ea4.jpg"},"parent_id":7781,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":305,"hashid":"p93s483g","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":471776,"file_name":"net.png","project_id":25239,"asset_id":21099,"created_at":"2018-03-20T14:08:19.805+08:00","updated_at":"2018-03-20T14:08:19.805+08:00"},{"id":471777,"file_name":"fish.png","project_id":25239,"asset_id":21100,"created_at":"2018-03-20T14:08:19.806+08:00","updated_at":"2018-03-20T14:08:19.806+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦