Monday, August 27, 2012

Programming ideas.

Alright, so I've been thinking about things, and discussing them with my new friend Gaming Gryphon.  I'm going to have a bit of a rough time with the mobs, trying to find ways to create a series of behaviors to tack on to the mob based on what they are.  I'm thinking I can make a section in the mob XML file something like Behavior
   XYZ
/Behavior

Where XYZ is just a string value of one behavior to add.  If there are multiple behaviors you add them into a list, then in the update method loop through all the behavior classes, and execute them.  Although I'm thinking an FSM would work best...but it would be a bit too complex for mobs with multiple behaviors.

However, if I could make a list of behaviors that work together that would be nice to get done finally.  The problem ends up being time restraints, and asking myself what i really want in the program, rather than all the weird quarkiness that i want to add for the complexities.

Anyway, watching Doctor Who Season 4 episode 15.  :-D  I will post some more later tonight.

No comments:

Post a Comment