# 1导入工具包
import pygame
class xiaoniao():
def __init__(self):
self.name="bird"
self.x=100
self.y=500
self.picture=pygame.image.load("1.png")
# 重力
self.zhongli=20
# 跳跃力
self.jumpSpeed=10
# 是否跳跃
self.jump =
boren - 管道小鸟
最新推荐文章于 2023-04-05 00:35:43 发布