{"id":449613,"student_id":10,"content":"from game import create_sprite\n\nk1 = create_sprite('koding.png')\nk2 = create_sprite('koding.png')\n\nk1.scale = 10\nk2.scale = 0.5\n\nk2.layer = 1\n\n\ndef gameloop():\n \n k1.scale *= 1.002\n k2.scale *= 1.002\n \n # if k1.scale \u003c k2.scale:\n # k1.layer = 1\n # k2.layer = 2\n # else:\n # k1.layer = 2\n # k2.layer = 1\n \n \n if k1.scale \u003e 20: k1.scale = 1\n if k2.scale \u003e 20: k2.scale = 1\n \n \ngame.forever(gameloop)","created_at":"2022-10-19T13:12:26.429+08:00","updated_at":"2022-10-19T13:31:22.714+08:00","name":"w","language":"python","screenshot":{"url":"https://cdn3.koding.school/uploads/project/screenshot/449613/152a34d1ced927a62a9d80d61f23f47a.jpg"},"parent_id":4,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":139,"hashid":"kdmsjg448","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":10168638,"file_name":"koding.png","project_id":449613,"asset_id":574326,"created_at":"2022-10-19T13:16:53.891+08:00","updated_at":"2022-10-19T13:16:53.891+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
截圖
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦