Skip to content

Tag Archives: Python-PyGame

Sprites are objects, with different properties like height, width, color, etc., and methods like moving right, left, up and down, jump, etc. In this article,… Read More
In this article, we will discuss how to control the sprite, like moving forward, backward, slow, or accelerate, and some of the properties that sprite… Read More
In this article, we are going to see how to add a music playlist in Pygame. Pygame has a method, pygame.mixer() which has all the… Read More
In this article, we are going to see how images can be flipped using Pygame. To flip the image we need to use pygame.transform.flip(Surface, xbool,… Read More
Pygame is a free-to-use and open-source set of Python Modules.  And as the name suggests, it can be used to build games. You can code… Read More
While using pygame module of Python, we sometimes need to use the keyboard input for various operations such as moving a character in a certain… Read More
When using Pygame, surfaces are generally used to represent the appearance of the object and its position on the screen. All the objects, text, images… Read More
While using pygame we sometimes need to perform certain operations that include the usage of time. Like finding how much time our program has been… Read More
In this article, we will see how to add custom events in PyGame.  Installation PyGame library can be installed using the below command: pip install… Read More
surface.blit() function draws a source Surface onto this Surface. The draw can be positioned with the dest argument. The dest argument can either be a… Read More
In this article, we will discuss how to install PyGame in the Linux system. We are using Ubuntu 20 LTS you can use any other… Read More
PyGame is a collection of modules that break through the language of Python applications. These modules are designed to edit video games. PyGame, therefore, includes… Read More
In this article, we will see how to play with texts using the Pygame module. We will be dealing here with initializing the font, rendering… Read More
While building a video game, do you wish to set your image or company’s logo as the icon for a game? If yes, then you… Read More
Snake game is one of the most popular arcade games of all time. In this game, the main objective of the player is to catch… Read More