{"id":481829,"student_id":2589,"content":"setBackdrop(\"bg.png\");\nlet player = createSprite(\"koding.png\");\nlet flash = createSprite(\"flash.png\");\nlet active = false;\nlet speed = 0;\nforever(function(){\n if(active) player.x += speed;\n drawText('玩家最高紀錄 ' + speed * 10 + ' km/h', 10, 10, 'black', 30);\n if (flash.opacity \u003e= 0.02) {\n flash.opacity -= 0.02;\n } else {\n flash.opacity = 0;\n }\n})\n\non('keydown', 'space', function () {\n active = !active;\n if (active) {\n player.x = -1000 - Math.random() * 2000 * speed / 5;\n speed += 5;\n } else {\n if (player.x \u003c 0 || player.x \u003e 1200) stop();\n flash.opacity = 1;\n }\n})","created_at":"2023-01-09T16:14:45.981+08:00","updated_at":"2023-01-09T16:19:35.095+08:00","name":"我的第一個遊戲 (2)","language":"javascript","screenshot":{"url":"https://cdn6.koding.school/uploads/project/screenshot/481829/7e4f5727eee93e8f33019bde350d8cfc.jpg"},"parent_id":2,"plugin":"Game.set({ width: 1200, height: 900 })","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":43,"hashid":"ej9s9pdg5","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":10961868,"file_name":"bg.png","project_id":481829,"asset_id":595459,"created_at":"2023-01-09T16:15:08.720+08:00","updated_at":"2023-01-09T16:15:08.720+08:00"},{"id":10961869,"file_name":"cover.png","project_id":481829,"asset_id":595460,"created_at":"2023-01-09T16:15:08.726+08:00","updated_at":"2023-01-09T16:15:08.726+08:00"},{"id":10961870,"file_name":"flash.png","project_id":481829,"asset_id":595461,"created_at":"2023-01-09T16:15:08.732+08:00","updated_at":"2023-01-09T16:15:08.732+08:00"},{"id":10961871,"file_name":"koding.png","project_id":481829,"asset_id":595462,"created_at":"2023-01-09T16:15:08.737+08:00","updated_at":"2023-01-09T16:15:08.737+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦