用pygame做一个游戏兔子小游戏
def initGame初始化pygame设置展示窗口pygame.init pygame.mixer.init screen pygame.display.set mode cfg.SCREENSIZE pygame.display.set caption Bunnies and Badgers Charles的皮卡丘加载必要的游戏素材game images for key value in cfg.IMAGE PATHS.items game images key pygame.image.load value game sounds for key value in cfg.SOUNDS PATHS.items if key moonlight game sounds key pygame.mixer.Sound value
文件列表
Game1兔子.zip
(预估有个34文件)
Game1兔子
python版本
Game1
demonstration
running.gif
3.18MB
resources
audio
explode.wav
20KB
shoot.wav
25KB
moonlight.wav
16.62MB
暂无评论