How to Install Pygame on Windows

In this tutorial we will explain how you can install the Python library Pygame on your Windows device. Pygame is a gaming library in Python that specializes in the creation of 2-D games. It has support for many important features required to make games, such as Audio, Collision detection, Event system and much more. You … Read more

Create Menu Screens in Pygame (Tutorial)

Pygame is a very barebones library and offers little support for basic features required in games, such as Buttons and Menus. We could create our own Menu Screens in Pygame from scratch, but we have a much easier and better alternative called the pygame-menu library. The Pygame-Menu library offers support for all kinds of menus, … Read more

How to change the Pygame Icon?

By default, whenever you create a basic game window in Pygame there is a default icon on the top-left corner. This is a small image or “icon” which displays the Pygame Logo by default. You might want to change this default behavior though, so in this tutorial we will explain how to change the default … Read more

Pygame Tutorial Part#2 – Collisions and Events

Welcome to our Pygame Tutorial Part 2. Game Creation – Part 2 Our game is still pretty incomplete. There’s no fun in playing a game with the same thing happening over and over again. There is no end point, no variation in the game difficulty and most importantly, there are no consequences of colliding with … Read more

Pygame Tutorial Part#3 – Wrapping up our Game

Welcome to our Pygame Tutorial Part 3. Game Creation Tutorial in Pygame – Part 3 This is a bit of an additional, and also optional section in our Python Pygame tutorial. In this section, we’re going to cover backgrounds, sound, fonts and a scoring system. These are all important features one needs in a game, … Read more

Pygame Platformer: Bonus Content (Coins and Images)

In this Bonus Tutorial of our Pygame Platformer, we will mainly be focusing on adding Coins and Images into our game. This will be the end result of our game, once we are done with this tutorial. Player and Platform Interaction The first thing we want to do is “fix” the Player and Platform interaction. … Read more

Pygame RPG Game: Code Download

In this Article we have all the Code download links available for our Pygame RPG Series on our YouTube Channel. Simply click on the download link for the tutorial whose code you wish to download. Images and other related materials are also included. Download links for the tutorials will be added shortly after the tutorials … Read more

Pygame vs Python Arcade | Which is the better game library?

In this “vs” comparison article we are going to compare the Pygame and Python Arcade Libraries to see which is the better game framework to be using. Full disclaimer, the difference between the Pygame and Python Arcade is not very significant. They both belong to the same category of game development, and are similarly built … Read more

Pygame RPG Series – Code Review 4

This the 4th and Last Code Review for our Pygame RPG Series. With this, we have completed our basic RPG Fighter. You can find the code availible in written form here, as well as availible as a download at the bottom of the page, combined with the all the images and sounds used for our … Read more

Creating Buttons in Pygame

This tutorial explains how to create Buttons in Python Pygame. Pygame doesn’t actually have some kind of button widget that you may expect to see in a GUI library like Tkinter or PyQt5. However, using a combination of various features, we can put together something just as good. Creating Buttons The first thing to do … Read more

Pygame RPG Tutorial – Improving Performance

In this tutorial, we’re going to be improving the performance of our Pygame RPG by making various optimizations. In order to properly measure the increase in performance, we removed the FPS limit. Now obviously our game is pretty small and simple (comparatively), so we shouldn’t be experiencing performance issues (unless we mess up horribly). There … Read more

Pygame RPG Tutorial – Music and Sound

It’s about time we added some flair to our Pygame RPG with the addition of Music and Sound. You can’t hope to create an immersive and engaging game without an appropriate soundtrack. Similarly, the various features and actions in your game will always remain bland without good sound effects which emphasize the action being carried … Read more