{"id":341337,"student_id":10,"content":"import game\nimport random\n\ngame.set_backdrop('bg.jpg')\nswing = game.create_sprite('swing_0.png', 'swing_1.png') #盪鞦韆與叩叮\napple = game.create_sprite('apple.png') #蘋果\narcher = game.create_sprite('archer.png') #弓箭手\nbow = game.create_sprite('bow.png') #弓\narrow = game.create_sprite('arrow_0.png', 'arrow_1.png') #箭\n\nswing.x = 900\napple.x = 900\nswing.y = 400\napple.y = 400\n\nactive = False #紀錄是否拉過弓\nscore = 0 #玩家得分\nvy = 0 #目標移動速度\n\n#遊戲主迴圈\ndef loop ():\n global active, score, vy\n \n \n\ngame.forever(loop) #重複不斷執行\n","created_at":"2022-01-28T01:34:35.799+08:00","updated_at":"2022-01-28T01:51:44.621+08:00","name":"射箭遊戲(預設版). 副本","language":"python","screenshot":{"url":"https://cdn8.koding.school/uploads/project/screenshot/341337/1ae1b2609b27a569ab7cbfa588dba0b8.jpg"},"parent_id":341335,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":155,"hashid":"6rps9gp8q","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":7324299,"file_name":"0.png","project_id":341337,"asset_id":471303,"created_at":"2022-01-28T01:34:35.851+08:00","updated_at":"2022-01-28T01:34:35.851+08:00"},{"id":7324300,"file_name":"swing_0.png","project_id":341337,"asset_id":471302,"created_at":"2022-01-28T01:34:35.853+08:00","updated_at":"2022-01-28T01:34:35.853+08:00"},{"id":7324301,"file_name":"swing_1.png","project_id":341337,"asset_id":471301,"created_at":"2022-01-28T01:34:35.854+08:00","updated_at":"2022-01-28T01:34:35.854+08:00"},{"id":7324302,"file_name":"bg.jpg","project_id":341337,"asset_id":471300,"created_at":"2022-01-28T01:34:35.856+08:00","updated_at":"2022-01-28T01:34:35.856+08:00"},{"id":7324289,"file_name":"apple.png","project_id":341337,"asset_id":471313,"created_at":"2022-01-28T01:34:35.815+08:00","updated_at":"2022-01-28T01:34:35.815+08:00"},{"id":7324290,"file_name":"bow.png","project_id":341337,"asset_id":471312,"created_at":"2022-01-28T01:34:35.827+08:00","updated_at":"2022-01-28T01:34:35.827+08:00"},{"id":7324291,"file_name":"arrow_0.png","project_id":341337,"asset_id":471311,"created_at":"2022-01-28T01:34:35.829+08:00","updated_at":"2022-01-28T01:34:35.829+08:00"},{"id":7324292,"file_name":"archer.png","project_id":341337,"asset_id":471310,"created_at":"2022-01-28T01:34:35.830+08:00","updated_at":"2022-01-28T01:34:35.830+08:00"},{"id":7324293,"file_name":"arrow_1.png","project_id":341337,"asset_id":471309,"created_at":"2022-01-28T01:34:35.832+08:00","updated_at":"2022-01-28T01:34:35.832+08:00"},{"id":7324294,"file_name":"5.png","project_id":341337,"asset_id":471308,"created_at":"2022-01-28T01:34:35.833+08:00","updated_at":"2022-01-28T01:34:35.833+08:00"},{"id":7324295,"file_name":"4.png","project_id":341337,"asset_id":471307,"created_at":"2022-01-28T01:34:35.834+08:00","updated_at":"2022-01-28T01:34:35.834+08:00"},{"id":7324296,"file_name":"3.png","project_id":341337,"asset_id":471306,"created_at":"2022-01-28T01:34:35.835+08:00","updated_at":"2022-01-28T01:34:35.835+08:00"},{"id":7324297,"file_name":"2.png","project_id":341337,"asset_id":471305,"created_at":"2022-01-28T01:34:35.836+08:00","updated_at":"2022-01-28T01:34:35.836+08:00"},{"id":7324298,"file_name":"1.png","project_id":341337,"asset_id":471304,"created_at":"2022-01-28T01:34:35.838+08:00","updated_at":"2022-01-28T01:34:35.838+08:00"},{"id":7324303,"file_name":"gameover.png","project_id":341337,"asset_id":471299,"created_at":"2022-01-28T01:34:35.857+08:00","updated_at":"2022-01-28T01:34:35.857+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
截圖
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦