python代码烟花
import pygamefrom random import randint, uniform, choiceimport mathvector = pygame.math.Vector2gravity = vector(0, 0.3)DISPLAY_WIDTH = DISPLAY_HEIGHT = 800trail_colours = [(45, 45, 45), (60, 60, 60), (75, 75, 75), (125, 125, 125), (150, 150, 150)].
原创
2022-02-02 14:05:22 ·
690 阅读 ·
0 评论