cool hit counter Description of the modules of the pygame series_pygame_Intefrankly

Description of the modules of the pygame series_pygame


In pygame, there are many modules, each module corresponds to a different function, and if we know what these modules do, then it will play a key role in our game development.

Let's talk about the pygame in Individual modules Bar!!!

 1 #pygame modules
 2 
 3 __author__ = {'name' : 'Hongten',
 4               'mail' : 'hongtenzone@foxmail.com',
 5               'blog' : 'http://www.cnblogs.com/hongten',
 6               'QQ'   : '648719819',
 7               'Version' : '1.0'}
 8 
 9 __modules__ ='''
 10 pygame.cdrom Accessing the optical drive
 11 pygame.color color
 12 pygame.cursors Load cursor
 13 pygame.display Accessing the display device
 14 pygame.draw Draw shapes, lines, and points
 15 pygame.event Managing events
 16 pygame.examples Different examples
 17 pygame.font Using Fonts
 18 pygame.image Load and store images
19     pygame.gfxdraw      Anti-aliasing draw functions
 20 pygame.locals constants
 21 pygame.joystick Use a gamepad or something similar
 22 pygame.key Read keyboard keys
 23 pygame.mixer sound
 24 pygame.mouse
 25 pygame.movie Play video
 26 pygame.music Play audio
 27 pygame.overlay Accessing advanced video overlays
 28 pygame That's what we're learning here ......
 29 pygame.rect Managing rectangular areas
 30 pygame.scrap Local clipboard access
 31 pygame.sndarray manipulating sound data
 32 pygame.sprite manipulate moving images
33 pygame.surface Managing images and screens
 34 pygame.surfarray Managing dotted image data
 35 pygame.tests Test example
 36 pygame.time Managing time and frame information
 37 pygame.transform Scaling and moving images
38 '''
39 
40 print(__modules__)

Official documentation.http://www.pygame.org/docs/

E | hongtenzone@foxmail.com B |http://www.cnblogs.com/hongten


Recommended>>
1、Industry Apple posting can global semantic information improve neural language models
2、How to use the XFS file system in a Linux environment
3、SAP Best Business PracticesFICash Management 16021 BankEnterprise ReconciliationVendor PaymentPromissory Note FB70 Passing Vendor Invoice
4、The rise of algorithmic decision making some ethical issues and strategies in the age of artificial intelligence AI Watch
5、Tutorials Adrians Little Brother Tutorial How to Perform OCR and Text Recognition with Tesseract and OpenCV

    已推荐到看一看 和朋友分享想法
    最多200字,当前共 发送

    已发送

    朋友将在看一看看到

    确定
    分享你的想法...
    取消

    分享想法到看一看

    确定
    最多200字,当前共

    发送中

    网络异常,请稍后重试

    微信扫一扫
    关注该公众号