{"id":60878,"student_id":1885,"content":"// 將背景設定為黑色\nsetBackdrop(\"#000000\");\n// 用 \"head.gif\" 創造一個角色\nvar head = createSprite( \"head.gif\" );\n\nvar clock=0;\n\nforever(function(){\n // 在這裡的程式碼會不斷執行\n if(clock%8==0){\n head.stepForward(16);\n \n }\n clock=clock+1;\n // console.log(clock);\n \n\n});\n\n// 當按下鍵盤的「右方向鍵」時\nwhen(\"keydown\", \"right\", function(){\n\thead.direction= 90;\n \n});\nwhen(\"keydown\", \"up\", function(){\n\thead.direction = 0;\n});\nwhen(\"keydown\", \"down\", function(){\n\thead.direction = 180;\n \n});\nwhen(\"keydown\", \"left\", function(){\n\thead.direction = 270;\n});\n","created_at":"2019-03-30T09:56:44.657+08:00","updated_at":"2019-08-09T10:00:03.360+08:00","name":"貪食蛇 學生版 副本","language":"javascript","screenshot":{"url":"https://cdn7.koding.school/uploads/project/screenshot/60878/89edcce60b8890776f43b51e69f48ea4.jpg"},"parent_id":4697,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":71,"hashid":"npmsr6dm","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":1070064,"file_name":"head.gif","project_id":60878,"asset_id":15651,"created_at":"2019-03-30T09:56:44.662+08:00","updated_at":"2019-03-30T09:56:44.662+08:00"},{"id":1070065,"file_name":"body.gif","project_id":60878,"asset_id":15652,"created_at":"2019-03-30T09:56:44.663+08:00","updated_at":"2019-03-30T09:56:44.663+08:00"},{"id":1070066,"file_name":"food.gif","project_id":60878,"asset_id":15653,"created_at":"2019-03-30T09:56:44.665+08:00","updated_at":"2019-03-30T09:56:44.665+08:00"}]
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
繁中
简中
English
日本語
1:1:1
1:1
全寬
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦