Version 15, last updated by gaggle at February 02, 2008 11:43 UTC
Code Documentation
Segregation Structure:
Class Actor
- Functionality for moving self
- State (passive, restless, aggresive)
- Path following (when snapped to a players drawn path)
- Update
Class World
- List of Actors
- Update
Class Path
- List of Points
Class Player
- Curves: List of Paths
- Function TrimPath (Remove points before first intersect with an Actor.
- Points
- Update
External References:
http://www.pygame.org/docs/ref/
xml: http://pyxml.sourceforge.net/topics/howto/xml-howto.html
How to Smooth a jaggy curve: http://www.dsprelated.com/showmessage/3640/1.php
External Examples:
Chimp Line by Line:
http://www.pygame.org/docs/tut/chimp/ChimpLineByLine.html
[svn-root]\R&D\Chimp