Code Documentation

History Key

  • New content
  • Removed content

Recent Versions

Choose two versions to compare, or click the link to view it.

  1. 15. over 4 years by gaggle
  2. 14. over 4 years by gaggle
  3. 13. over 4 years by FlipFlop
  4. 12. over 4 years by kjems
  5. 11. over 4 years by kjems
  6. 10. over 4 years by kjems
  7. 9. over 4 years by mikaelgarde
  8. 8. over 4 years by FlipFlop
  9. 7. over 4 years by mikaelgarde
  10. 6. over 4 years by kjems
  11. 5. over 4 years by kjems
  12. 4. over 4 years by kjems
  13. 3. over 4 years by kjems
  14. 2. over 4 years by kjems
  15. 1. over 4 years by kjems
 

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