使用python+pygame实现打砖块小游戏

上传者: 41948568 | 上传时间: 2023-11-05 19:28:24 | 文件大小: 33.46MB | 文件类型: ZIP
代码使用了面向对象的手法,一共有球、板子、砖块和道具四个类,其中道具有:无敌、板加长(10s)、球数+1和球速度+5(10s)四种。 压缩包内含游戏源代码和打包后的可执行文件。

文件下载

资源详情

[{"title":"( 1194 个子文件 33.46MB ) 使用python+pygame实现打砖块小游戏","children":[{"title":"activate <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"activate.bat <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false},{"title":"deactivate.bat <span style='color:#111;'> 368B </span>","children":null,"spread":false},{"title":"PyGameMono-18-100dpi.bdf <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"PyGameMono-18-75dpi.bdf <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"PyGameMono-8.bdf <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false},{"title":"arraydemo.bmp <span style='color:#111;'> 75.05KB </span>","children":null,"spread":false},{"title":"liquid.bmp <span style='color:#111;'> 11.46KB </span>","children":null,"spread":false},{"title":"chimp.bmp <span style='color:#111;'> 5.37KB </span>","children":null,"spread":false},{"title":"fist.bmp <span style='color:#111;'> 4.28KB </span>","children":null,"spread":false},{"title":"pygame_icon.bmp <span style='color:#111;'> 630B </span>","children":null,"spread":false},{"title":"asprite.bmp <span style='color:#111;'> 578B </span>","children":null,"spread":false},{"title":"sysconfig.cfg <span style='color:#111;'> 2.56KB </span>","children":null,"spread":false},{"title":"pyvenv.cfg <span style='color:#111;'> 89B </span>","children":null,"spread":false},{"title":"python36.dll <span style='color:#111;'> 3.44MB </span>","children":null,"spread":false},{"title":"tk86t.dll <span style='color:#111;'> 1.88MB </span>","children":null,"spread":false},{"title":"tcl86t.dll <span style='color:#111;'> 1.59MB </span>","children":null,"spread":false},{"title":"SDL2.dll <span style='color:#111;'> 1.49MB </span>","children":null,"spread":false},{"title":"sqlite3.dll <span style='color:#111;'> 1.10MB </span>","children":null,"spread":false},{"title":"libfreetype-6.dll <span style='color:#111;'> 572.50KB </span>","children":null,"spread":false},{"title":"libwebp-7.dll <span style='color:#111;'> 437.00KB </span>","children":null,"spread":false},{"title":"libFLAC-8.dll <span style='color:#111;'> 431.00KB </span>","children":null,"spread":false},{"title":"libtiff-5.dll <span style='color:#111;'> 422.50KB </span>","children":null,"spread":false},{"title":"libmpg123-0.dll <span style='color:#111;'> 329.50KB </span>","children":null,"spread":false},{"title":"libmodplug-1.dll <span style='color:#111;'> 247.00KB </span>","children":null,"spread":false},{"title":"libvorbis-0.dll <span style='color:#111;'> 246.00KB </span>","children":null,"spread":false},{"title":"libjpeg-9.dll <span style='color:#111;'> 238.50KB </span>","children":null,"spread":false},{"title":"libpng16-16.dll <span style='color:#111;'> 206.00KB </span>","children":null,"spread":false},{"title":"SDL2_image.dll <span style='color:#111;'> 122.50KB </span>","children":null,"spread":false},{"title":"libopus-0.dll <span style='color:#111;'> 122.00KB </span>","children":null,"spread":false},{"title":"SDL2_mixer.dll <span style='color:#111;'> 121.00KB </span>","children":null,"spread":false},{"title":"zlib1.dll <span style='color:#111;'> 106.00KB </span>","children":null,"spread":false},{"title":"vcruntime140.dll <span style='color:#111;'> 85.83KB </span>","children":null,"spread":false},{"title":"libvorbisfile-3.dll <span style='color:#111;'> 68.00KB </span>","children":null,"spread":false},{"title":"python3.dll <span style='color:#111;'> 57.15KB </span>","children":null,"spread":false},{"title":"libogg-0.dll <span style='color:#111;'> 51.00KB </span>","children":null,"spread":false},{"title":"libopusfile-0.dll <span style='color:#111;'> 45.50KB </span>","children":null,"spread":false},{"title":"portmidi.dll <span style='color:#111;'> 41.00KB </span>","children":null,"spread":false},{"title":"SDL2_ttf.dll <span style='color:#111;'> 33.00KB </span>","children":null,"spread":false},{"title":"setuptools-40.8.0-py3.6.egg <span style='color:#111;'> 558.51KB </span>","children":null,"spread":false},{"title":"main.exe <span style='color:#111;'> 12.31MB </span>","children":null,"spread":false},{"title":"t64.exe <span style='color:#111;'> 100.00KB </span>","children":null,"spread":false},{"title":"python.exe <span style='color:#111;'> 98.15KB </span>","children":null,"spread":false},{"title":"w64.exe <span style='color:#111;'> 97.00KB </span>","children":null,"spread":false},{"title":"pythonw.exe <span style='color:#111;'> 96.65KB </span>","children":null,"spread":false},{"title":"t32.exe <span style='color:#111;'> 90.50KB </span>","children":null,"spread":false},{"title":"w32.exe <span style='color:#111;'> 87.00KB </span>","children":null,"spread":false},{"title":"pip3.6.exe <span style='color:#111;'> 73.00KB </span>","children":null,"spread":false},{"title":"easy_install.exe <span style='color:#111;'> 73.00KB </span>","children":null,"spread":false},{"title":"pip.exe <span style='color:#111;'> 73.00KB </span>","children":null,"spread":false},{"title":"pip3.exe <span style='color:#111;'> 73.00KB </span>","children":null,"spread":false},{"title":"easy_install-3.6.exe <span style='color:#111;'> 73.00KB </span>","children":null,"spread":false},{"title":"pygame_logo.gif <span style='color:#111;'> 24.53KB </span>","children":null,"spread":false},{"title":"pygame_small.gif <span style='color:#111;'> 10.04KB </span>","children":null,"spread":false},{"title":"pygame_powered.gif <span style='color:#111;'> 9.93KB </span>","children":null,"spread":false},{"title":"background.gif <span style='color:#111;'> 8.92KB </span>","children":null,"spread":false},{"title":"explosion1.gif <span style='color:#111;'> 6.36KB </span>","children":null,"spread":false},{"title":"pygame_tiny.gif <span style='color:#111;'> 5.36KB </span>","children":null,"spread":false},{"title":"alien2.gif <span style='color:#111;'> 3.74KB </span>","children":null,"spread":false},{"title":"alien3.gif <span style='color:#111;'> 3.74KB </span>","children":null,"spread":false},{"title":"alien1.gif <span style='color:#111;'> 3.74KB </span>","children":null,"spread":false},{"title":"player1.gif <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false},{"title":"danger.gif <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"bomb.gif <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"oldplayer.gif <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"shot.gif <span style='color:#111;'> 129B </span>","children":null,"spread":false},{"title":"blue.gif <span style='color:#111;'> 84B </span>","children":null,"spread":false},{"title":"sse2neon.h <span style='color:#111;'> 143.12KB </span>","children":null,"spread":false},{"title":"_pygame.h <span style='color:#111;'> 18.03KB </span>","children":null,"spread":false},{"title":"surface.h <span style='color:#111;'> 14.18KB </span>","children":null,"spread":false},{"title":"_pygame.h <span style='color:#111;'> 9.77KB </span>","children":null,"spread":false},{"title":"palette.h <span style='color:#111;'> 6.89KB </span>","children":null,"spread":false},{"title":"camera.h <span style='color:#111;'> 6.85KB </span>","children":null,"spread":false},{"title":"pgcompat.h <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false},{"title":"bitmask.h <span style='color:#111;'> 4.75KB </span>","children":null,"spread":false},{"title":"scrap.h <span style='color:#111;'> 4.54KB </span>","children":null,"spread":false},{"title":"pgcompat.h <span style='color:#111;'> 3.91KB </span>","children":null,"spread":false},{"title":"freetype.h <span style='color:#111;'> 3.58KB </span>","children":null,"spread":false},{"title":"pgimport.h <span style='color:#111;'> 2.78KB </span>","children":null,"spread":false},{"title":"pgplatform.h <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"pygame_mixer.h <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"pygame_bufferproxy.h <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"fastevents.h <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"pygame_font.h <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"pygame_freetype.h <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"pygame_mask.h <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"pygame.h <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"pygame.h <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"pgarrinter.h <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"_surface.h <span style='color:#111;'> 958B </span>","children":null,"spread":false},{"title":"pgplatform.h <span style='color:#111;'> 950B </span>","children":null,"spread":false},{"title":"_camera.h <span style='color:#111;'> 840B </span>","children":null,"spread":false},{"title":"pgopengl.h <span style='color:#111;'> 466B </span>","children":null,"spread":false},{"title":"pgimport.h <span style='color:#111;'> 364B </span>","children":null,"spread":false},{"title":"font.h <span style='color:#111;'> 340B </span>","children":null,"spread":false},{"title":"mixer.h <span style='color:#111;'> 340B </span>","children":null,"spread":false},{"title":"pgbufferproxy.h <span style='color:#111;'> 179B </span>","children":null,"spread":false},{"title":"mask.h <span style='color:#111;'> 153B </span>","children":null,"spread":false},{"title":"logos.html <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"pygame_icon.icns <span style='color:#111;'> 52.37KB </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

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