User:Josh Oosterman/Design Study

From CSSEMediaWiki
(Difference between revisions)
Jump to: navigation, search
Line 7: Line 7:
 
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.
 
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.
+
The system was fully designed and implemented for COSC427, and was not based on previous work.
  
 
A screenshot of the current version is shown below.
 
A screenshot of the current version is shown below.
Line 26: Line 26:
 
* Advanced Inverse Kinematics & Constraints on Joints
 
* Advanced Inverse Kinematics & Constraints on Joints
 
* Export angles & positions as animation file to be used in games
 
* Export angles & positions as animation file to be used in games
 +
 +
== Code ==
 +
The system was implemeted in C# and can be obtained ''here''. To build and run is trivial -- Open Stickman.sln in Visual Studio and build. You'll need Windows and VS2008 or later.
  
 
== System Design ==
 
== System Design ==

Revision as of 07:56, 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 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

Code

The system was implemeted in C# and can be obtained here. To build and run is trivial -- Open Stickman.sln in Visual Studio and build. You'll need Windows and VS2008 or later.

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 Followed

ToDo

Maxims Violated

MVC etc ToDo

Personal tools