The simulation of an in-game entity's motion, such as running or sitting or striking.

learn more… | top users | synonyms

8
votes
1answer
1k views

Abstracting Entity System animation states

I recently started designing a Game Engine using the Entity System paradigm, i.e. having entities as an aggregation of components, and systems that implement the actual game. Whereas I've had ...
8
votes
1answer
200 views

How to dynamically animate a part of a 3d model towards something

I'm curious about how this sort of animation is typically done code-wise. A few examples: A character picks something up - only hand is animated towards the target ...
8
votes
1answer
598 views

Separation of world state and animation in a turn based game

How do you handle the separation of animation from the world state within a turn based game? I'm working on a 2D grid based game currently. The below code is simplified to better explain. When an ...
7
votes
4answers
3k views

Which image format to use for sprites in an HTML5 game?

In a 2D HTML5 game, what is the best image format to use and why? Should I use different formats in different situations? For example, .png for the background image, .jpeg for the animation frames and ...
7
votes
1answer
1k views

Why is the root of the character rig the pelvis?

When creating character rigs for video games we always set the root of the rig and all the kinematic chains to the pelvis of the character. Is their a specific reason that we do that or is it by ...
7
votes
1answer
303 views

How can I apply different actions to different parts of a 2D character?

I am developing a 2D platform game in Java. The player has a gun in his hand every time. He needs to walk and shoot with the gun(arrow keys for walk and X key to shoot). The walk cycle takes 6 frames ...
7
votes
1answer
533 views

How to represent a game character in code?

In a previous game I wrote I had a game character class. This class tracked the location, velocity, and a set of states. Except the states were tied very close to the animation. Each state would have ...
7
votes
1answer
8k views

Tools for 2D skeletal animation [closed]

What good free and widely used tools are there for editing 2D skeletal animations? Preferably, one that allows me to write custom animation exporters. One pretty good indie tool that I know of ...
7
votes
5answers
1k views

Multiplayer synchronization and pathfinding

I have a point & click type interface on a client, which runs an A* on the server, for path-finding. The game is controlled like an RTS, but the world is persistent, so players should be able to ...
7
votes
3answers
2k views

How to update entity states and animations in a component-based game

I'm trying to design a component-based entity system for learning purposes (and later use on some games) and I'm having some troubles when it comes to updating entity states. I don't want to have an ...
7
votes
2answers
2k views

Better animation of elements in SFML/C++

This is not about animating individual characters or elements, I'm happy with spritesheets for that. What I'm looking for is the animation of elements on screen. For example my game starts and the ...
7
votes
1answer
290 views

Is it a bad idea to couple action and animation?

I'm making an ARPG (like Legend of Zelda but with more action), and this question raised during the development: Should action and animation be coupled? Or should they be independent? With this I ...
7
votes
1answer
2k views

How is animation handled in non-immediate OpenGL?

I'm a newbie to modern OpenGL. I'm comfortable with the immediate OpenGL methodology, but I've never done any serious use of VBOs. My question is about animation. In immediate mode, to achieve ...
7
votes
2answers
3k views

Character Animation Library

I am looking for character animation library which can be included in my game engine. I prefer FOSS but, paid is good if it's price is reasonable. So, far what Ive found is Cal3d.But it looks dead. ...
7
votes
4answers
4k views

Sprite Animation in Android with OpenGL ES

How to do a sprite animation in android using OpenGL ES? What i have done : Now I am able to draw a rectangle and apply my texture(Spritesheet) to it What I need to know : Now the rectangle shows ...
7
votes
1answer
232 views

How do I convert a Source engine NPC model to a player model?

The Source engine's NPC and player models differ: An NPC model applied to the player has no animations. It cannot walk and holds its arms out to the side by about a foot. The weapon is held in the ...
7
votes
1answer
1k views

Creating a 2D skeleton animation system for use with Panda3D

Hey. I want to be able to create a system for 2D skeletal animation in my game. I'm using panda3d as my game engine. I'd like to be able to make simple bone structures and skin them with my sprites. I ...
6
votes
3answers
2k views

Character Animation Architecture

Can anyone explain the general architecture typically used for 3D character animation? Are movements like walking and falling scripted against the skelton, and simply executed on input? If so, is ...
6
votes
1answer
3k views

Should I use procedural animation? [closed]

I have started to make a fantasy 3d fps swordplay game and I want to add animations. I don't want to animate everything by hand because it would take a lot of time, so I decided to use procedural ...
6
votes
2answers
1k views

Best way to do large XNA animations?

What's the best way to have large animations in XNA 4.0? I have created a spritesheet with the sprite being 250x400 (more of an image than a sprite but hey ho) and there are approximately 45 frames in ...
6
votes
3answers
216 views

What constraint (if any) limits crowd animation variety?

I have recently noticed something in a large number of sports games relating to the animation of the crowd. Scenario Player holes the golf ball and the crowd all clap their hands. Whilst the faces ...
6
votes
2answers
4k views

How to Export Flash Animation Data

I'd love for my partner, the artist, to be able to animate using flash movieclips and timelines. Then I, the programmer, would like to read the raw Flash info and re-program it into my engine of ...
6
votes
1answer
724 views

How to create a character animation where the parts of the sprite change?

Let's say I'm creating a game (in Java or C++). In this game I have a character that can do a sword swing animation, but the character can equip different swords. Do I have to make an animation for ...
6
votes
4answers
11k views

Wavefront *.obj loader in C++

I'm creating a game using OpenGL (via SDL) and C++ (via Visual Studios 2010 Professional). During the game, I will be using 3D character animation. I'd like to use wavefront *.obj files for all the 3D ...
6
votes
2answers
3k views

Animation workflow between Blender and Mecanim

I've recently started learning Unity. Not being able to add custom animations to the standard FBXs you get from Unity's app store is really really slowing me down. When I import one into Blender, it ...
6
votes
1answer
383 views

Building 2D Assets for a Game Targeting Multiple Framerates

To make a real-world example, lets assume I want to build an animated sprite for an explosion. The duration of the animation should last ~1 second, and we'll say exactly one second to make the math a ...
6
votes
2answers
785 views

Where should the animation be done?

Let's say I want to make a character (an animal) with a stick in its mouth. I dont understand if the animation (done in Blender) should have the stick in its mouth or if it should be done in ...
6
votes
1answer
992 views

2D animation: Animated 3D models or sprites with animation frames?

Starting out with new project, I am stuck choosing between: 3D textured model animated directly through the renderer 2D sprites and drawing each animation frame The game will be 2D platform, I ...
6
votes
1answer
2k views

Rotation of bitmap using a frame by frame animation

I have one large bitmap that has four frames drawn on it and I only draw one at a time by looping through the bitmap by increments to animate walking. I can get the bitmap to rotate correctly when it ...
6
votes
1answer
2k views

Animating a 3D model with XNA

How do I animate a biped model from 3ds max using XNA framework or not necessarily the biped model, it could be any 3D model but how can I code the animation?
6
votes
1answer
335 views

Unity: Why do my normals flip during an animation?

This problem boggles my mind. I have an animation running on a face object (imported from Blender). At a few points in the animation, the normals switch direction! It causes the mesh to blink. Of ...
5
votes
2answers
784 views

What is the technical term for animation of a dead body?

In some 3D games when a 3D model of a person is shot to death (or suddenly dead) his body falls to the ground and every limb, the head and the body move free. What is this particular way of handling ...
5
votes
2answers
2k views

Where can I find free motion capture footage? [closed]

Are there any repositories of free motion capture footage? Or maybe just libraries of animations.
5
votes
2answers
6k views

Is it possible to export a simulation (animation) from Blender to Unity?

I created an explosion animation within Blender, something as shown in this video. To achieve this I used a particle-system, together with the "Explode" modifier. This kind of animation (simulation) ...
5
votes
1answer
182 views

Should Different “Types” of Animations be in the Same Class?

For example, say you want a character animation and a health bar animation. Since these require different algorithms, should they be in the same class? They both re-use some of the same code but ...
5
votes
1answer
2k views

Bones Animation - Matrices and calculations

We are 'on final' when it comes to finishing the project, but just before implementing the animation system. Our Client decided to choose "Bones Animation" - which is that I should export each ...
5
votes
3answers
5k views

Getting started at 3D modelling and animation [closed]

I'm looking for book or a guide that will direct me to 3D modelling/animation for gaming. Most tutorials will go for lengths about things I don't really need for games and I want to get to the chops ...
5
votes
2answers
156 views

Isometric vehicle animation

I am working on a medieval isometric RPG in which the player can ride on horses and in horse drawn carriages. The player's movement is not restricted to the common eight directions; he may move in ...
5
votes
3answers
1k views

Can I swap out Farseer physics fixtures at runtime?

I am working on a 2D side-scroller using Farseer Physics Engine v3.3.1. In order to create a realistic physical skeleton for the player, I am using a method similar to the one explained here (See ...
5
votes
3answers
2k views

How can I generate isometric sprite sheets from 3D animations?

I want to generate sprite-sheets for an isometric projection of various 3d assets purchased from the Unity3D asset store. I'd preferably also render the normal maps. I am a programmer, but new to 3D ...
5
votes
2answers
257 views

What does the Particle engine do and how are special effects created/processed?

For example, take bullets, sparks, fireballs, light sabers, lightning bolts, any kind of special effect in a game. Are there various ways to implement these effects in a game. As far as I can see you ...
5
votes
1answer
553 views

Why are my animated objects (from Blender) always playing at the global origin in Unity?

I created and animated a sledgehammer in Blender 2.67b using an armature. The sledgehammer has one animation (created using the Action Editor) called "Idle". I parented the imported sledgehammer to an ...
5
votes
1answer
499 views

Animation of moving circle by square's outer surface

I want to make this animation in OpenGL, here I attached a simple gif how I want it to looks like: Main problem is that I can not figure out how to move by corner - circle should smoothly move by ...
5
votes
2answers
316 views

Multiple, independent animations for one character

I'm using XNA, and I'm well versed with the skinnedModel sample. I'm starting to make my own models and animations. I'd like to be able to take animations that apply to different, independent body ...
5
votes
1answer
486 views

How does this animation work?

This project "Locomotion Skills for Simulated Quadrupeds" creates an animation for the dog model in the program. However if you go into the project's files the dog's skeleton is made of individual obj ...
5
votes
0answers
441 views

Converting designs from photoshop/flash/after effects into code [closed]

I work as part of a two person team, I am the developer and my partner is the designer. We are currently having great difficulty working out the best way to convert his work into the actual app. We ...
4
votes
4answers
6k views

what is the simplest 3d software for unity? [closed]

Ive heard a lot about Daz studio, Poser, Maya, K-3d, Anim8or, Blender, and all the rest. My question is which one is the best choice in terms of simplicity and quality. price is not an issue really. ...
4
votes
1answer
644 views

How to code a simple torch light?

How would you code a simple "8 bit fire torch" (just one, nothing else to worry about on screen), without using any sprites? For instance, how would you "animate" a torch that looks like this one:
4
votes
3answers
560 views

How do I procedurally animate a cell eating another cell?

The entities in my game are soft-body, amorphous cells. I'd like to create an animation where enemies are engulfed by the player's cell. That is, I want to generate a "cell eating another ...
4
votes
3answers
529 views

How do I make an arrow line up with a bow when rotating them?

I am trying to create a bow and arrow animation in which the player can drag downwards to increase the bow strength (see the image) and release it to hit a target. I can't get the arrow to align ...