how can i save and open the player's position in a file in the python pygame module?

后端 未结 0 1037
北恋
北恋 2020-12-28 22:02
 def hit(self):

    data_dict = {
        "x": self.x,
        "y": self.y
    }

    with open("data_pick.pkl", "wb") as pi         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题