User:Josh Oosterman/Design Study

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
Line 34: Line 34:
  
 
=== Design Description ===
 
=== Design Description ===
Todo
+
 
 +
==== Overview ====
 +
IDrawable ''ToDo''
 +
 
 +
==== Interfaces, Inheritance and Encapsulation ====
 +
 
 +
IDrawable ''ToDo''
 +
 
 +
AnimatedObject heirachy ''ToDo''
 +
 
 +
Object Encapsulation ''ToDo''
 +
 
 +
==== Design Patterns ====
 +
 
 +
* Strategy pattern (LimbAnimationStrategy) ''ToDo''
 +
* Observer (Handle) ''ToDo''
 +
* Flyweight (Sprite) ''ToDo''
 +
* Decorator (Background) ''ToDo''
 +
 
 +
==== Maxims ====
 +
 
 +
''ToDo''
  
 
== Criticisms ==
 
== Criticisms ==
  
* Todo
+
MVC etc ''ToDo''

Revision as of 07:52, 29 July 2010

Contents

The Problem

I wanted to create a tool to animate scenes, and humanoid characters.

Eventually I want be able to create complex animations which can be loaded into a 2d game.

This would take too long for a 427 assessment, so I've simplified the problem to having an interactive stickmen tool. The extensibility of the design of the system is critical so I can extend it in the future.

The system was fully designed and implemented in C# for COSC427, and was not based on previous work.

A screenshot of the current version is shown below.

Animator-screenshot.png

System Goals

Within my 427 Project

  • Customisable backgrounds
  • Posable figures (Such as Stickmen)
  • Props
  • Extensible - so I can add the below features eventually

Outside the scope of this project, but to be added in the future:

  • Interpolation between Keyframes
  • Advanced Inverse Kinematics & Constraints on Joints
  • Export angles & positions as animation file to be used in games

System Design

The image below is a simplified UML class diagram of nearly all of the classes in the system.

Josh-uml1.png

Design Description

Overview

IDrawable ToDo

Interfaces, Inheritance and Encapsulation

IDrawable ToDo

AnimatedObject heirachy ToDo

Object Encapsulation ToDo

Design Patterns

  • Strategy pattern (LimbAnimationStrategy) ToDo
  • Observer (Handle) ToDo
  • Flyweight (Sprite) ToDo
  • Decorator (Background) ToDo

Maxims

ToDo

Criticisms

MVC etc ToDo