by selven · 16y ago · 0 comments
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.
No comments yet.