官术网_书友最值得收藏!

  • Raspberry Pi By Example
  • Ashwin Pajankar Arush Kakkar
  • 207字
  • 2021-07-16 11:24:19

Introducing PyGame

PyGame is a set of Python modules designed for the writing of video games. It is built on top of the existing Simple DirectMedia (SDL) library, and it works with multiple backends, such as OpenGL, DirectX, X11, and so on. It was built with the intention of making game programming easier and faster without getting into the low-level C code that was traditionally used to achieve good real-time performance. It is also very flexible and comes with many operating systems. It is very fast as it can use multiple core CPUs very easily and also use optimized C and assembly code for core functions.

PyGame was built to replace PySDL after its development was discontinued. Originally written by Pete Shinners, it is a community project from 2004 and is released under the open source free software GNU's lesser general public license. Since it is very simple to use and is open source, it has a lot of members in the international community and so it enjoys access to a lot of resources that other libraries may lack. There are many tutorials that can build different games with PyGame. It contains the following modules

Note

For more information on the PyGame library, you can visit www.pygame.org.

主站蜘蛛池模板: 金溪县| 宁陵县| 乌拉特前旗| 邳州市| 萨迦县| 庆安县| 吴江市| 招远市| 昌图县| 镇原县| 宜君县| 辽宁省| 沭阳县| 新丰县| 深圳市| 阜宁县| 岳阳市| 嘉禾县| 东方市| 沐川县| 榕江县| 福州市| 手游| 镇平县| 通海县| 巩义市| 南开区| 镇宁| 蕲春县| 乐都县| 鄱阳县| 铜鼓县| 依安县| 南陵县| 方城县| 冷水江市| 甘德县| 金乡县| 宜丰县| 新竹市| 芷江|