2020
11-25
11-25
python 实现超级玛丽游戏
开发需求python3.7+pygame1.9+演示项目地址https://github.com/Mr-han11/PythonSuperMario-master主要功能的代码实现玩家__author__='marble_xu'importosimportjsonimportpygameaspgfrom..importsetup,toolsfrom..importconstantsascfrom..componentsimportpowerupclassPlayer(pg.sprite.Sprite):def__init__(self,player_name):pg.sprite.Sprite.__init__(self)self.player_name=player_namesel...
继续阅读 >