[PYTHON] Summary of sites and learning procedures that will be helpful for those who are trying to make games with pygame for the first time

Overview

I have summarized the sites and learning procedures that will be helpful for those who are trying to make games with pygame for the first time.

Target

Those who have learned all about Yoshinao Mori's "Python 1st grade" (Shoeisha)

procedure

Install pygame

Game production with Python: Let's install pygame

Run pygame

1. Refer to the pygame reference

Here are some references that will help you many times in your lessons. You need to see it as you learn and want to know what the method is, add something or change it yourself. You don't have to look at it at first, but I think it will become necessary as you progress in your studies. * I saw the official page, but since it is currently suspended, I have posted only the related pages in Japanese.

Translated reference of game library "Pygame" for Python

2. Get used to pygame little by little

When learning for the first time, trying to make a large program can cause frustration and make it difficult to handle errors. I think the following sites will be useful to get used to it little by little. Also, if you just want to check the movement, it is good to copy it, but to make your own game, it is better to type the source code as it is while looking at the site.

[Introduction to Pygame] Game Programming [Python]

3. Find and move the source code that seems to be helpful for each genre

As you gradually understand how to use pygame, look for a site that has source code that may be helpful for games of the genre you want to make. Below are some of the most popular genres of games, but if you don't have one, try to find one yourself.

I make a game with Python, but what? It explains in great detail from installation to game creation. Breakout / Shooting / RPG is posted.

Learning Python and creating a mini action game using Pygame

[Pygame] How to make a breakout (with sound effects)

Desert Shooting Game (pygame)

Make your own original game

Ultimately, I think my goal is to create my own original game. Please do your best by making the best use of your knowledge and skills! However, when trying to make an original game, there are many things that I don't understand. In that case, it is a good idea to look up various information and ask questions that you do not understand. The question site is listed below. I think there are some parts that can be solved by that, and some parts that cannot be solved. However, I think that if you proceed without giving up, you will gain a great deal of power for yourself. I will say it again. Good luck! !!   teratail

Recommended Posts

Summary of sites and learning procedures that will be helpful for those who are trying to make games with pygame for the first time
[AWS] A story that may be helpful for those who are new to Lambda-Python and DynamoDB
The first step for those who are amateurs of statistics but want to implement machine learning models in Python
What kind of environment should people who are learning Python for the first time build?
I will try to summarize the links that seem to be useful for the time being
For those who want to start machine learning with TensorFlow2
I tried to create serverless batch processing for the first time with DynamoDB and Step Functions
The story of returning to the front line for the first time in 5 years and refactoring Python Django
For those of you who glance at the log while learning with machine learning ~ Muscle training with LightGBM ~
[Comparison of PHP, Ruby, and Python description] For those who are wondering how the description method is different.
It seems that some RHEL will be free with a big boo for the end of CentOS
Heroku deployment of the first Django app that beginners are addicted to
Impressions and memorandums when working with VS code for the first time
For the first time in Numpy, I will update it from time to time
Words that may be confusing to read at first glance ~ Mainly in the field of Web / machine learning ~
The story that had nothing to do with partitions when I did disk backup with dd for the first time