{"id":512567,"student_id":2589,"content":"setBackdrop('bg.png');\nlet player = createSprite('koding.png');\nlet active = false;\nlet speed = 0;\nforever(function(){\n if (active) player.x += speed;\n drawText('玩家最高紀錄:' + speed + 'km', 10, 10, 'black', 30);\n});\non('keydown', 'space', function () {\n active = !active;\n if (active) {\n player.x = -1000 - Math.random() * 2000;\n speed += 5;\n } else {\n if (player.x \u003c 0 || player.x \u003e 1200) stop();\n }\n});","created_at":"2023-03-31T11:17:43.196+08:00","updated_at":"2023-03-31T11:19:19.657+08:00","name":"我的第一個遊戲 - 開始後用滑鼠點擊舞台以啟用按鍵,重整畫面即可重新遊戲。","language":"javascript","screenshot":{"url":null},"parent_id":2,"plugin":"Game.set({ width: 1200, height: 900 })","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":56,"hashid":"zpesr253m","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":11666681,"file_name":"bg.png","project_id":512567,"asset_id":617052,"created_at":"2023-03-31T11:17:53.148+08:00","updated_at":"2023-03-31T11:17:53.148+08:00"},{"id":11666682,"file_name":"cover.png","project_id":512567,"asset_id":617053,"created_at":"2023-03-31T11:17:53.155+08:00","updated_at":"2023-03-31T11:17:53.155+08:00"},{"id":11666683,"file_name":"flash.png","project_id":512567,"asset_id":617054,"created_at":"2023-03-31T11:17:53.161+08:00","updated_at":"2023-03-31T11:17:53.161+08:00"},{"id":11666684,"file_name":"koding.png","project_id":512567,"asset_id":617055,"created_at":"2023-03-31T11:17:53.166+08:00","updated_at":"2023-03-31T11:17:53.166+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦