I wanted to make a simple 2D network game completely in python, the game client will most likely be on pygame, the connection between the client and the server will be established via sockets, the problem is that I don’t know which library I should use for the game itself on the server side, then Is there a way and where I can calculate the flight paths of projectiles, catch the events of a projectile collision with a player, so I'm looking for a 2D engine that will allow me to do all this on the server side without calling the graphical interface.
Asked
Active
Viewed 35 times
0
-
in theory, I can do this without such a library, working only with coordinates, for example, a collision of two objects can be obtained by checking the intersection of the coordinates of these objects – Mr. Nom4ik Dec 09 '22 at 17:14
-
You can use pygame code without opening a window, if pygame primitives like Rects or vectors would help you. – Starbuck5 Dec 09 '22 at 18:24