R
R
Reviksedy2021-06-07 10:51:56
pygame
Reviksedy, 2021-06-07 10:51:56

Pygame how to implement camera?

I am new to python. The fact is that I am writing a game in Pygame, and I need to implement a camera that will move sprites and objects, and this is easy to do, but keep in mind that if the character is in the corner of the map, then the camera does not move beyond the corner of the last block. The map in my game consists of tiles. Link to GitHub, the code is huge.
https://github.com/Reviksedy/GetTheSandvich

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question