{"id":496903,"student_id":26492,"content":"setBackdrop(\"black\");\n\nvar einstein = createSprite(\"Einstein.jpg\");\nvar saying = ['嗨害嗨', '愛你孤身走暗巷', '愛你不跪的模樣'];\nvar index;\neinstein.on(\"click\", function(){\n index = Math.floor(Math.random() * saying.length);\n \n})\n\nforever(function(){\n print(index, 20, 20, 'white')\n print(saying[index], 200, 360, 'white', 30);\n print(\"- 愛因斯坦\", 450, 420, 'white', 20);\n \n});","created_at":"2023-02-21T19:44:35.089+08:00","updated_at":"2023-02-21T20:48:32.856+08:00","name":"語錄產生器 副本","language":"javascript","screenshot":{"url":"https://cdn4.koding.school/uploads/project/screenshot/496903/5bf43141ffb3b4c38ab7b453fa079e2f.jpg"},"parent_id":10725,"plugin":"var saying = [\"\"];\nvar link = document.createElement('a');\nlink.style = \"position:absolute; bottom: 40px; left: 20px; color: white;\"\nlink.innerHTML = '😈點我下載圖片😈';\ndocument.getElementsByTagName('body')[0].appendChild(link);\n\nlink.addEventListener('click', function() {\n link.href = stage.toDataURL();\n link.download = saying[index] + '.jpg';\n}, false);","description":"","note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":7,"hashid":"jzmskpj8e","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":11288687,"file_name":"Einstein.jpg","project_id":496903,"asset_id":24772,"created_at":"2023-02-21T19:44:35.095+08:00","updated_at":"2023-02-21T19:44:35.095+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦