|
|
|
|
|
by selven
6018 days ago
|
|
I have written very many games using Python and Pygame. Very nice language (I like the syntax much better than the C-like languages) and tools. If you're going to do this, there is one very important tip: use psyco. It ( http://psyco.sourceforge.net/ ) magically speeds up all Python execution by about 3-4x. In one of my games ( https://sourceforge.net/projects/slasha/ , still in its early stages) the millisecond per frame count went from 25-300 to 15-80 (drawing the desktop seems to take an unavoidable 7-10 ms). As for what you learn doing this kind of thing, you use trigonometry a lot, you use the pythagorean theorem a lot, my game here is the way I thought up of the pathfinding algorithm. |
|