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

learn more… | top users | synonyms

7
votes
1answer
513 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
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

How do I apply skeletal animation from a .x (Direct X) file?

Using the .x format to export a model from Blender, I can load a mesh, armature and animation. I have no problems generating the mesh and viewing models in game. Additionally, I have animations and ...
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
2answers
2k 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
3k 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
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
6answers
2k views

How come the 3d graphics and animations of MMORPGs are usually worse than non-online 3d games?

I have noticed that in general it seems like the 3d graphics and animations for MMOs and MMORPGs seem not as seductive and polished as the graphics for normal, non-online 3d games. How come this is ...
6
votes
4answers
2k 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 ...
6
votes
3answers
1k 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
288 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 ...
6
votes
2answers
981 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
208 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
3k 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
554 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
1answer
379 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
1k views

Animation Workflow from Blender to Mecanim in Unity 3d

I've recently started learning Unity and one of the things that's really really slowing me down is not being able to add custom animations to the standard FBX's you get from unity's app store. When I ...
6
votes
1answer
632 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
1k 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 ...
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
1k 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?
5
votes
2answers
725 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
1k 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
1answer
2k 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 ...
5
votes
1answer
179 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
3answers
4k 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
1answer
7k 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 ...
5
votes
4answers
10k 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 ...
5
votes
2answers
691 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 ...
5
votes
3answers
931 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
2answers
202 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
381 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
228 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
285 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
385 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
377 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
4k 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
581 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
341 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 ...
4
votes
4answers
318 views

Playing a death anim on an enemy that I want to remove

I've been trying to find a tutorial on how to best make animations in Android. I already have some animations for my enemies and my character that are controlled by rectangles and changing ...
4
votes
2answers
670 views

Xna - How do you use large animations for a menu

In the main menu of my game I have several animations that pause in specific frames. I made the sprite sheets for the different layers, but then I found out that the sprite sheet has to be smaller ...
4
votes
3answers
2k views

Player sprite animation in 2D platform game

It's pretty easy to get animations rolling from a sprite sheet. Though which ways there are on combining the animations with player dynamics and motion? I've figured there's two starting points ...
4
votes
1answer
411 views

Splitting logic into threads in Java tower defence game

I'm making a tower defence game in Java! It's my first game development. I want to know how many threads Do I need to create in a game, to split logic.. I've made this one: Main App thread (adds ...
4
votes
2answers
240 views

generating animations in runtime

i am creating my 3d game engine using Opengl. this question might sound stupid to you but i am still in the process of learning, i have a 3d animated girl that slaps guys of different talls on the ...
4
votes
2answers
1k views

canvas ball physics animation

I want to animate ball in html canvas like this. ctx.beginPath(); ctx.arc(75, 75, 10, 0, Math.PI*2, true); ctx.closePath(); ctx.fill(); start position is left top corner and ball's maximum ...
4
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 ...
4
votes
1answer
3k views

How Plants vs Zombies animation is done?

I really like the plants vs zombies style of animation and it doesn't look complicated yet the result is really good. I doubt it's made of sprites seeing there's a large number of animations, ...
4
votes
3answers
633 views

Determine animation frame from interval

I have an array of sprites that are displayed in-order to make an animation. There is code in an update loop that has access to a value 'time' indicating how far along the animation is. Time is a ...
4
votes
1answer
157 views

Is there a name for this kind of composited sprite animation technique?

Character avatars composed of different sprites for each component (arms, legs, head) connected together through a series of joints seem to be trending lately. For example, Scrolls, Candy Crush (in ...