![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
[Game]
一刀不二
这个作者很懒,什么都没留下…
展开
-
pygame 初记
import tracebackimport pygamefrom pygame.locals import *pygame.display.init()sizes = { "screen" : [ 640, 480 ]}colors = { "screen" : ( 255, 255, 255 )}screen = pygame.display.set_m原创 2014-09-09 11:15:42 · 1095 阅读 · 0 评论 -
pygame.draw.line
import tracebackimport mathimport pygamefrom pygame.locals import *pygame.display.init()pygame.font.init()sizes = { "screen" : ( 300, 480 )}colors = { "line" : ( 255, 255, 255 ),原创 2014-09-09 14:27:27 · 5872 阅读 · 0 评论 -
Pygame 打方块
import tracebackimport randomimport pygamefrom pygame.locals import *pygame.display.init()pygame.font.init()sizes = { "screen" : ( 300, 480 )}colors = { "font" : ( 138, 69, 252 ),原创 2014-09-09 17:43:26 · 1754 阅读 · 0 评论