摘要: pygame提供了很多强大的包,使得2D游戏的制作非常简单。2D游戏一个很重要的方面就是移动对象,然后再贴图。,下面我介绍两种方式,最后一种单独写篇来介绍。(目前我掌握的) :1、使用pygame.rect:pygame的文档如是说:Pygame uses Rect objects to store and manipulate rectangular areas. A Rect can be created from a combination of left, top, width, and height values. Rects can also be created from pyt 阅读全文
posted @ 2011-03-04 16:53 飘啊飘 阅读(6928) 评论(0) 推荐(0) 编辑