Creating the first animation

The Ganimator studio consists essentially of three sections where the working window and animation shown on the right panel list of all bones (objects) and their key frames, and finally the timeline. The first thing to do when starting a new project is to define a new workplace where they will be stored all the images to be used in the animation to select a new can click File / Settings and choose a directory on the new menu. In order to facilitate the animation process is a set of atralhos on the keyboard that allow you to edit the keyframes in a simpler way, together with the mouse are the simplest way to edit the animations.

  • CTRL - Move Object Position
  • SHIFT - Change Object Size
  • ALT - Set new Origin Point
  • R - Rotate object (mouse X axis)
  • A - Change object alpha
  • Middle Mouse - Move Camera Around
Add Frames to the animation

To add new Key franes to the animation, we need to create a bone first to create a bone select add in te top box on the right panel, aftar creating a bon a new keyFrame is added to that bone at time 0s, this key frame should be used to sync with the last frame in order to get animations loops to run smooth, to add new frames after create the bone we just need to press the button add in the bottom box in the right panel, a new window will appear asking witch time will be used for the new key frame.

The animation duration shown in ganimator is the one from the bone that was the bigger duration associated to it, but every bone can have its own duration and loop multiples timeson the animation

Ganimator Library JavaDocs

Animations created in Ganimator studio can be incorporated into projects created with libGDX (in the future could be added support for alternative frameworks), should be used provided the package along with the program, which contains all the necessary tools for playing and editing animations.

Creating libGDX project

After creating a new projecto using the setup utility included with libGDX, we need to also import the ganimatior-lib.jar included with ganimator, heres a sample code that loads one of the included sample animation from the root on "internal" storage, and loads textures from folder animation also in the root at "internal" data location. (Exported with Notepad++)