Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 1.76 KB

README.md

File metadata and controls

29 lines (15 loc) · 1.76 KB

Animation4J

Animation4J is a library that is useful for creating animations in Java.

Sample Project

There is a sample project that uses Animation4J with Gradle.

Animation4J Sample

Video Tutorial

I have put a video out on how to use this project.

Video Tutorial

Animation Overview

Following, is a diagram of how an animation rig in Animation4J is structured.

Rig Structure

An AnimationRig is the central object.

An AnimationRig is a collection of AnimationLimb s. These just contain an image of the limb and a collection of AnimationJoint s that lead to other limbs. The joints keep track of the angle to the next limb.

Every limb has some implementation of ILimbImageProvider. There are two ways this is typically accomplished, which is by either supplying a static image or by supplying a StopMotionController.

A stop motion controller functions by cycling through sprites from a SpriteSheet.