PyGame library is use to create video games. The PyGame most popular programming language. Pygame was officially written by Pete Shinners.

PyGame Images
Python

Syntax

import pygame from pygame.locals import *

PyGame Library Function are followings:-

FunctionDescribe
pygame._sd12.touchThis pygame module to work with touch input
pygameTop level pygame package
pygame.cameraThis modulefor camera use
pygame.cdromThis module for audio cdrom control
pygame.cursorsThis module for cursor resources
pygame.displayThis module to control the display window and screen
pygame.drawThis module for drawing shapes
Pygame.eventThis module for interacting with events and queues
pygame.exampleThis module of example programs
pygame.fasteventThis module for interacting with events and queues from multiple threads
pygame.fontThis module for loading and rendering fonts
pygame.freetypeThis module for loading and rendering computer fonts
pygame.gfxdrawThis module for drawing shapes
pygame.imageThis module for image transfer
pygame.joystick This module for interacting with joysticks, gamepads, and trackballs.
pyagame.keyThis module to work with the keyboard
pygame.mouseThis module to work with the mouse
pygame.pixelcopyThis module for general pixel array copying
pygame.scrapThis module for clipboard support.
pygame.sndarray This module for accessing sound sample data
pygame.spriteThis module with basic game object classes
pygame.surfarrayThis module for accessing surface pixel data using array interfaces
pygame.testThis unit test suite package
pygame.timeThis module for monitoring time
pygame.transformThis module to transform surfaces
pygame.versionThis small module containing version information
pygame.localsThis module for constants
pygame.mathThis module for vector classes
pygame.midiThis module for interacting with midi input and output.
pygame.mixerThis module for loading and playing sounds
pygame.mixer.musicThis module for controlling streamed audio
List of Functions

If you have any queries regarding this article or if I have missed something on this topic, please feel free to add in the comment down below for the audience. See you guys in another article.

To know more about pyGame Library Function please Wikipedia Click here

Stay Connected Stay Safe, Thank you


Basic Engineer

Hey Readers! We have more than fifteen years of experience in Software Development, IoT, Telecom, Banking, Finance and Embedded domain. Currently we are actively working on Data Science, ML and AI with multiple market leaders worldwide. Happy Reading. Cheers!

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *