{"id":863997,"student_id":3760,"content":"from game import *\nfrom random import *\n\nset_backdrop('bg.png')\nsnow = []\n\ni = 0\nwhile i \u003c 300:\n s = create_sprite('snow.png')\n s.x = random() * 1200\n s.y = random() * 900\n s.scale = random()\n s.opacity = random()\n snow.append(s)\n i += 1\n\ndef loop():\n i = 0\n while i \u003c 300:\n s = snow[i]\n s.x += 1 * s.scale\n s.y += 2 * s.scale\n if s.x \u003e 1230: s.x -= 1260\n if s.y \u003e 930: s.y -= 960\n i += 1\n\nforever(loop)","created_at":"2024-10-17T14:37:44.729+08:00","updated_at":"2024-10-17T14:38:10.981+08:00","name":"5_雪夜の町_完整版","language":"python","screenshot":{"url":"https://cdn8.koding.school/uploads/project/screenshot/863997/a6f9e3c44ed10b3d0f5040608c8bd23e.jpg"},"parent_id":863996,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":14,"hashid":"rdvsdnzvk","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":18919366,"file_name":"snow.png","project_id":863997,"asset_id":784678,"created_at":"2024-10-17T14:37:52.818+08:00","updated_at":"2024-10-17T14:37:52.818+08:00"},{"id":18919367,"file_name":"bg.png","project_id":863997,"asset_id":784679,"created_at":"2024-10-17T14:37:52.831+08:00","updated_at":"2024-10-17T14:37:52.831+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
截圖
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦