P
P
PashaLynx2020-11-06 15:31:29
Python
PashaLynx, 2020-11-06 15:31:29

How are games written in python?

Hello. I have an idea - to write a game in python. Top view 2d style game. Display examples (I don’t know what this genre is called) are below in the photo. 5fa540740b53d168507731.jpeg

5fa540e7ea4be524272756.jpeg

I would like to know how such games are made in python. Having rummaged through the Internet, I found only examples of python games only with a side view (platform type). Can someone explain how games like the ones in the screenshots are made? The whole world is just a picture that moves, and the hero is just a dot in the middle of the screen, and everything is decided by coordinates, or is it somehow different? If you know any articles or tutorials (specifically python), and you share them, I will be grateful to you.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
DUDE, 2020-11-06
@PashaLynx

You can do it on pygame, but this lib is so-so, there are non-obvious things and unfixed bugs. There is PyQt, it is more complicated than pygame, but qualitatively better. But better think about whether you need to write a game in Python?

Having rummaged through the Internet, I found only examples of python games only with a side view (platform type).

The side view is essentially the same top view, just the logic of the interaction of objects is different.

A
Antonio Solo, 2020-11-06
@solotony

learn pygame. and there are thousands of examples of games on it

L
lolSaByR, 2020-11-06
@lolSaByR

pygame

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question