A top-down shooter, ala Gatling Gears
- Home Page
Pygame.org account Comments
Paul Paterson 2012-03-06 04:05:58
Looks like you are making good progress. I'm working on a similar game http://perpetualpyramid.com/dr... and some things you may find useful based on your blog posts,
- Your angle issues might be helped by using the Vec2d implementation from pymunk http://code.google.com/p/pymun.... This implements a number of useful geometric functions and in particular does all the right kind of things for angle manipulation, which can be a bit tricky.
- For AI it looks like you considered going with an underlying grid. This worked well for me and allowed me to use the networkx (http://networkx.lanl.gov/ library for pathfinding. This is fast and flexible.
- For shooting based on line-of-sight, the Vec2d library above is useful because you can easily use get_angle_between and get_distance to work out if your enemies can see the player and then decide on which angle to shoot at. The API reference is here http://pymunk.googlecode.com/s...
- In your blog posts you mentioned more general physics for particle simulation. The pymunk library is very powerful. http://code.google.com/p/pymun...
Looking forward to seeing how your game progresses.