{"id":362978,"student_id":10,"content":"import game #載入遊戲套件\nimport time #載入時間套件\n\nroad = game.create_sprite('road_1.png') #賽道\ncheck1 = game.create_sprite('end.png') #檢查點1\ncheck2 = game.create_sprite('end.png') #檢查點1\nground = game.create_sprite('ground_1.png') #背景柏油路圖\ncover = game.create_sprite('cover.png') #背景柏油路圖\n\ncheck1.y = 150\ncheck2.y = 750\n\np1 = game.create_sprite('car_red.png') #紅色賽車\np1.x = 500\np1.y = 130\np1_speed = 0 # P1 速度\np1_round = 0 # P1 完成圈數\np1_timer = 0 # P1 花費時間\n\np2 = game.create_sprite('car_orange.png') #橘色賽車\np2.x = 500\np2.y = 150\np2_speed = 0 # P2 速度\np2_round = 0 # P2 完成圈數\np2_timer = 0 # P2 花費時間\n\np3 = game.create_sprite('car_white.png') #白色賽車\np3.x = 500\np3.y = 170\np3_speed = 0 # P3 速度\np3_round = 0 # P3 完成圈數\np3_timer = 0 # P2 花費時間\n\n\ndef p1_loop():\n global p1_speed, p1_round, p1_timer\n \n\n\ndef p2_loop():\n global p2_speed, p2_round, p2_timer\n \n\n\ndef p3_loop():\n global p3_speed, p3_round, p3_timer\n \n\n\ngame.forever(p1_loop)\ngame.forever(p2_loop)\ngame.forever(p3_loop)\n","created_at":"2022-03-28T17:05:27.990+08:00","updated_at":"2022-03-28T17:05:38.652+08:00","name":"迷你賽車(預設版) 副本","language":"python","screenshot":{"url":"https://cdn4.koding.school/uploads/project/screenshot/362978/d5d8d90c50346241ad10934a3bdaf682.jpg"},"parent_id":210496,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":173,"hashid":"rdvs69d6y","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":7987269,"file_name":"bgm.mp3","project_id":362978,"asset_id":291507,"created_at":"2022-03-28T17:05:27.997+08:00","updated_at":"2022-03-28T17:05:27.997+08:00"},{"id":7987270,"file_name":"road_3.png","project_id":362978,"asset_id":291508,"created_at":"2022-03-28T17:05:27.998+08:00","updated_at":"2022-03-28T17:05:27.998+08:00"},{"id":7987271,"file_name":"road_2.png","project_id":362978,"asset_id":291509,"created_at":"2022-03-28T17:05:27.999+08:00","updated_at":"2022-03-28T17:05:27.999+08:00"},{"id":7987272,"file_name":"road_1.png","project_id":362978,"asset_id":291510,"created_at":"2022-03-28T17:05:28.000+08:00","updated_at":"2022-03-28T17:05:28.000+08:00"},{"id":7987273,"file_name":"ground_3.png","project_id":362978,"asset_id":291511,"created_at":"2022-03-28T17:05:28.001+08:00","updated_at":"2022-03-28T17:05:28.001+08:00"},{"id":7987274,"file_name":"ground_2.png","project_id":362978,"asset_id":291512,"created_at":"2022-03-28T17:05:28.002+08:00","updated_at":"2022-03-28T17:05:28.002+08:00"},{"id":7987275,"file_name":"ground_1.png","project_id":362978,"asset_id":291513,"created_at":"2022-03-28T17:05:28.003+08:00","updated_at":"2022-03-28T17:05:28.003+08:00"},{"id":7987276,"file_name":"car_white.png","project_id":362978,"asset_id":291514,"created_at":"2022-03-28T17:05:28.004+08:00","updated_at":"2022-03-28T17:05:28.004+08:00"},{"id":7987277,"file_name":"car_red.png","project_id":362978,"asset_id":291515,"created_at":"2022-03-28T17:05:28.005+08:00","updated_at":"2022-03-28T17:05:28.005+08:00"},{"id":7987278,"file_name":"car_orange.png","project_id":362978,"asset_id":291516,"created_at":"2022-03-28T17:05:28.006+08:00","updated_at":"2022-03-28T17:05:28.006+08:00"},{"id":7987279,"file_name":"car_green.png","project_id":362978,"asset_id":291517,"created_at":"2022-03-28T17:05:28.007+08:00","updated_at":"2022-03-28T17:05:28.007+08:00"},{"id":7987280,"file_name":"end.png","project_id":362978,"asset_id":291518,"created_at":"2022-03-28T17:05:28.008+08:00","updated_at":"2022-03-28T17:05:28.008+08:00"},{"id":7987281,"file_name":"cover.png","project_id":362978,"asset_id":291519,"created_at":"2022-03-28T17:05:28.009+08:00","updated_at":"2022-03-28T17:05:28.009+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
截圖
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦