Game Programming Project 4:
Flocking demo
Summary:
In this project you will implement a simple flocking demo which could be
integrated into a game
Due:
Dec 18th at 11:59 (this is a hard deadline - the assignment will
disappear after the deadline so do not wait for the 11:58:59 queue)
Details:
You will write a simple flocking program with the following requirements:
- You need to work with a world which is 1900 x1050 pixels
- you need to have 7+ animated sprites
- these sprites should not leave the visible screen (wrapping is fine)
- The sprites should be no more than 40 pixels in any dimension (and no
small than 15 pixels in any dimension so I can actually see them)
- You should implement the basic leaderless flocking algorithm from
class
- Allow me to adjust one of the following without code adjustments (eg
with a popup dialog or a slider)
- The distance at which the separation vector becomes more important
- The proportion constant for your Orientation rule
- The distance from the entity that it can see neighbors
- Undergrads can assume that all neighbors within a set distance of the
entity are visible
Technical requirements.
- comment your code
- put all of your assets in subfolders
As usual, you may reuse up to (But not more
than) 20% of your code from other sources. Be sure to reference any such
code.
Also make sure your game assets are in sub-directories of your actual
project directory. Submit the entire directory tree compressed by email as
usual.
The Writeup:
Your writeup will be more significant for this game. It will need to
include
-
Your name
-
A Manual for the demo
-
how do I start it
-
how do adjust it
-
anything else I need to know to play.
-
how did you implement the game. Just a
couple of paragraphs on what you decided to do and why
-
References to any code or assets you used
from elsewhere
-
Anything left undone
Zip up everything and submit using blackboard (please include
your writup in your zipped folder.)