{"id":706608,"student_id":10,"content":"{\"html\":\"\u003c!DOCTYPE html\u003e\\n\u003chtml\u003e\\n\u003chead\u003e\\n\\t\u003ctitle\u003eDocument\u003c/title\u003e\\n\\t\u003cscript src=\\\"https://orangeappletw.github.io/engine.js/engine-min.js\\\"\u003e\u003c/script\u003e\\n\u003c/head\u003e\\n\u003cbody\u003e\\n \u003ccanvas id=\\\"stage\\\"\u003e\u003c/canvas\u003e\\n \\n \u003cscript\u003e\\n var Game = Engine('stage'); //傳入 \u003ccanvas\u003e 畫布元件的 ID\\n \\n Game.set({ width: 640, height: 480 }); //設定遊戲場景寬高\\n \\n Game.setBackdrop('black'); //設定背景為黑色\\n var kd = Game.createSprite('koding.png'); //傳入圖片建立角色\\n \\n //執行遊戲迴圈\\n Game.forever(function () {\\n kd.direction += 1\\n })\\n \\n Game.start(); //啟動遊戲\\n \u003c/script\u003e\\n\u003c/body\u003e\\n\u003c/html\u003e\\n\\n\\n\\n\",\"css\":\"/* 設定整個頁面內容水平置中、內寬為 30 像素:*/\\nbody {\\n text-align: center;\\n padding: 30px;\\n}\\n\\n/* 設定圖片的寬度為銀幕一半寬 */\\nimg { \\n max-width: 50%; \\n}\\n\\n/* 設定文字的顏色為淡黑色 */\\np {\\n color: #555555;\\n}\",\"js\":\"// 創造一個函式指令 hello:\\nfunction hello () {\\n // 讓網頁跳出文字訊息:\\n alert('叩叮:\\\\n嗨你好~ 讓我們一起加油寫出漂漂亮亮的網頁唄!');\\n}\"}","created_at":"2024-03-04T11:48:29.799+08:00","updated_at":"2024-03-04T11:48:29.799+08:00","name":"遊戲示意 副本","language":"web","screenshot":{"url":null},"parent_id":706606,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":51,"hashid":"d5msn466w","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":15809248,"file_name":"koding.png","project_id":706608,"asset_id":724911,"created_at":"2024-03-04T11:48:29.804+08:00","updated_at":"2024-03-04T11:48:29.804+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
前往網站頁面
1:1:1
1:1
full
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦