随笔分类 -  Pygame

摘要:用Python和Pygame写游戏-从入门到精通(6) http://eyehere.net/2011/python-pygame-novice-professional-6/ 阅读全文
posted @ 2018-06-12 20:13 BreakofDawn 阅读(167) 评论(0) 推荐(0)
摘要:get the color value at a single pixel http://www.pygame.org/docs/ref/surface.html#pygame.Surface.get_at 针对上面补充关于RGBA Color: 参考链接: https://www.w3cplus. 阅读全文
posted @ 2018-06-11 21:04 BreakofDawn 阅读(470) 评论(0) 推荐(0)
摘要:https://www.pygame.org/docs/ref/rect.html#pygame.Rect https://blog.csdn.net/YZXnuaa/article/details/79011795 pygame.Rect.clip: crops a rectangle insid 阅读全文
posted @ 2018-06-11 20:45 BreakofDawn 阅读(160) 评论(0) 推荐(0)
摘要:https://www.pygame.org/docs/ref/event.html#pygame.event.pump 阅读全文
posted @ 2018-06-11 20:03 BreakofDawn 阅读(357) 评论(0) 推荐(0)
摘要:http://www.pygame.org/docs/ref/time.html#pygame.time.Clock 阅读全文
posted @ 2018-06-11 19:50 BreakofDawn 阅读(1509) 评论(0) 推荐(0)
摘要:pygame.transform.rotate() 这里使用pygame.transform 这个模块可以满足我们的需求,这个模块包含了比如缩放,翻转等一些非常有用的函数。 pygame.transform.scale()这是一个快速的缩放函数,可以快速缩放一个图像,但是如果你试过以后就会发现他并不 阅读全文
posted @ 2018-06-08 09:47 BreakofDawn 阅读(2411) 评论(0) 推荐(0)