Where there is a will,there is a way.
吞噬你的很多时候不是金涛骇浪,相反是那些普通的日子。
Pygame图像绘制 Pygame图像绘制
pygame使用功能pygame.draw模块来绘制形状。 绘制图形绘制矩形pygame.draw.rect # draw a rectangle 有下面两种用法: rect(surface, color, rect) -> Rect
2019-09-30
Pygame中的Color和显示器display Pygame中的Color和显示器display
Pygame中的Color有下面三种生成Color颜色对象的方式: Color(r, g, b) -> Color Color(r, g, b, a=255) -> Color Color(color_value) -> Color 也就是
2019-09-30
Pygame中的Display Modes Pygame中的Display Modes
原文地址 Introduction这句话比较意思: Setting the display mode in pygame creates a visible image surface on the monitor. This surfa
2019-09-30
Pygame中的convert() Pygame中的convert()
convert()还是从案例开始: import pygame from pygame.locals import * def main(): # 初始化 pygame.init() screen = pygame
2019-09-30
Pygame初探 Pygame初探
前言:为什么上了研究生才开始试着系统学习Pygame?以前总觉得知道上哪去找就好,也就没那么多的追求。在做小游戏的时候,也是遇到不会的就百度,然后用一点时间就简单解决了,感觉良好。但是实际上是,到了如今阶段还是什么都靠百度。可能到 了某个
2019-09-30