基于Python的超级玛丽马里奥源码.rar

上传者: 54828627 | 上传时间: 2023-04-30 15:55:11 | 文件大小: 3.11MB | 文件类型: RAR
得益于Python简洁的语法和强大的扩展库,使用Python编写应用变得十分快捷方便。比如今天要介绍的一款经典游戏超级玛丽的编写,如果用其他语言可能要上千行代码,而使用Python最少只需两百多行就可完成。不信?那就让我们一起开始吧。 我们使用的扩展库是 Pygame Zero(简称Pgzero)。该库是一个基于Pygame的游戏编程框架。它可以更容易地编辑游戏,无需模板、不用编写事件循环,也无需学习复杂的Pygame API,而且支持树莓派。

文件下载

资源详情

[{"title":"( 37 个子文件 3.11MB ) 基于Python的超级玛丽马里奥源码.rar","children":[{"title":"基于Python的超级玛丽马里奥源码","children":[{"title":"操作说明.docx <span style='color:#111;'> 3.07MB </span>","children":null,"spread":false},{"title":"mario","children":[{"title":"mario","children":[{"title":"mario.py <span style='color:#111;'> 8.68KB </span>","children":null,"spread":false},{"title":"sounds","children":null,"spread":false},{"title":"music","children":null,"spread":false},{"title":"level1.dat <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"images","children":[{"title":"smariomove.png <span style='color:#111;'> 321B </span>","children":null,"spread":false},{"title":"enemy1.png <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"smariojump.png <span style='color:#111;'> 326B </span>","children":null,"spread":false},{"title":"hill.png <span style='color:#111;'> 3.98KB </span>","children":null,"spread":false},{"title":"smariomove2.png <span style='color:#111;'> 305B </span>","children":null,"spread":false},{"title":"brick.png <span style='color:#111;'> 802B </span>","children":null,"spread":false},{"title":"super-mario-bros-maker.jpg <span style='color:#111;'> 33.66KB </span>","children":null,"spread":false},{"title":"coin.png <span style='color:#111;'> 232B </span>","children":null,"spread":false},{"title":"cloud.png <span style='color:#111;'> 4.37KB </span>","children":null,"spread":false},{"title":"question.png <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"mariomoveleft2.png <span style='color:#111;'> 312B </span>","children":null,"spread":false},{"title":"castle.png <span style='color:#111;'> 36.53KB </span>","children":null,"spread":false},{"title":"bush.png <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"smariojumpleft.png <span style='color:#111;'> 324B </span>","children":null,"spread":false},{"title":"smariomoveleft.png <span style='color:#111;'> 317B </span>","children":null,"spread":false},{"title":"sprites_super_mario.gif <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"turtleleft.png <span style='color:#111;'> 6.38KB </span>","children":null,"spread":false},{"title":"mariojump.png <span style='color:#111;'> 338B </span>","children":null,"spread":false},{"title":"mariomove.png <span style='color:#111;'> 331B </span>","children":null,"spread":false},{"title":"smarioleft.png <span style='color:#111;'> 328B </span>","children":null,"spread":false},{"title":"question2.png <span style='color:#111;'> 405B </span>","children":null,"spread":false},{"title":"smariomoveleft2.png <span style='color:#111;'> 307B </span>","children":null,"spread":false},{"title":"mariomoveleft.png <span style='color:#111;'> 326B </span>","children":null,"spread":false},{"title":"thumb-1920-860645.png <span style='color:#111;'> 41.02KB </span>","children":null,"spread":false},{"title":"smario.png <span style='color:#111;'> 324B </span>","children":null,"spread":false},{"title":"mariojumpleft.png <span style='color:#111;'> 338B </span>","children":null,"spread":false},{"title":"block.png <span style='color:#111;'> 942B </span>","children":null,"spread":false},{"title":"mariomove2.png <span style='color:#111;'> 313B </span>","children":null,"spread":false},{"title":"marioleft.png <span style='color:#111;'> 339B </span>","children":null,"spread":false},{"title":"turtle.png <span style='color:#111;'> 6.40KB </span>","children":null,"spread":false},{"title":"brick2.png <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"mario.png <span style='color:#111;'> 333B </span>","children":null,"spread":false},{"title":"mushroom.png <span style='color:#111;'> 830B </span>","children":null,"spread":false},{"title":"castle.jpg <span style='color:#111;'> 51.43KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明