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

learn more… | top users | synonyms

3
votes
3answers
649 views

How to position a sprite in a 2D animation skeleton?

Given two joints that define a bone, I would like to know how to decide where, between those two joints, I should draw the sprite. This should be a fairly simple thing to solve, but there is one thing ...
3
votes
1answer
408 views

Animated dice framework for XNA?

I'm looking for a reusable 3d animated dice component I can reuse in my XNA board game. I know it might be wishful thinking in hoping such a component exists, but at the same time worthwhile ...
3
votes
2answers
697 views

How can a load and play an .x model using vertex animation in XNA?

From a game I developed years ago, I still have character models that my former 3D engine designer created and that I'd like to reuse in a Windows Phone project now. However, the files are in DirectX ...
3
votes
2answers
2k views

Export Maya Animation Data

I have a pretty simple character rig animation. How can I export the raw data of that animation? I'm looking for some way to export a raw text array of data that tells exactly what every joint does ...
3
votes
2answers
522 views

WebGL geometry calculations

I have a dynamic surface in WebGL, that is animated in vertex shader. I want other objects to interact with this surface (for example, an object riding on dynamic terrain). What's the best way to do ...
3
votes
2answers
355 views

How can I integrate IK into a hierarchical editing environment?

I have a situation where I'm trying to push the output of an IK solver back into a user editable joint hierarchy (which stores components as it's primary source), and I'm not sure how to go about it. ...
3
votes
1answer
364 views

Animations not accepted in animator

In the official Unity Animator State Machine tutorial video animation clips are dragged out from the assets folder into the animator and dropped. I have a 3D model that i bought online to experiment ...
3
votes
1answer
138 views

How can I render a wave effect like the one used in California Games' surfing mini-game?

Well, I'm trying to study XNA, and I'm trying to make a California Games-inspired surfing game. I got the surfer guy done, and it's working very well but I don't have any idea on how I should draw ...
3
votes
2answers
471 views

How do I morph between meshes that have different vertex counts?

I am using MeshMorpher from the Unify wiki in my Unity project, and I want to be able to transform between arbitrary meshes. This script only works when there are an equal number of vertices between ...
3
votes
1answer
202 views

Applying prerecorded animations to models with the same skeleton

well my question sounds a bit like, how do I apply mo-cap animations to my model, but thats not really it I guess. Animations and model share the same skeleton, but the models vary in size and ...
3
votes
1answer
322 views

How do I animate a tilemap in Flixel?

I am trying to animate a tilemap using Flixel 2.55. I found this code that apparently enables the use of sprites as tiles. To my understanding, this loops over the tilemap's graphic and replaces the ...
3
votes
1answer
442 views

How to design a character animation system?

I'm searching for suggestions and resources on the possible ways to design a character animation system. I mean a system built on top of the graphics engine (as graphics engine I use Ogre3D, that ...
3
votes
1answer
491 views

Animating DOM elements vs refreshing a single Canvas

A few years ago, when the HTML Canvas element was still kinda fresh, I wrote a small game in a rather "unusual" way: each game element had its own canvas, and frequently animated elements even had ...
3
votes
2answers
147 views

Trade offs of linking versus skinning geometry

What are the trade offs between inherent in linking geometry to a node versus using skinned geometry? Specifically: What capabilities do you gain / lose from using each method? What are the ...
3
votes
1answer
235 views

Web site for XAML snippet sharing?

I am making a game with WPF and C#, and I frequently am in need of artwork for it. Some things could be easily shared, such as explosion animations, exhaust plumes, etc. I was wondering if there are ...
3
votes
1answer
259 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 ...
3
votes
0answers
220 views

How can I apply a “genie animation” to a CCSprite?

I am new to Cocos2D and following this tutorial. I want to animate a CCSprite with the genie effect that OS X uses for hiding windows to the dock and showing them again. Here's an example from an ...
3
votes
1answer
920 views

Where can I find animated textures for free? [closed]

I'm looking for some animated textures, especially water textures that show movement. After a bit of searching, I could only find this list. Although those textures are certainly not bad, there are ...
2
votes
1answer
527 views

Why do I have to run my 2D game at 300+ FPS for movement to be passably smooth?

I'm working on a simple game with SFML, and the only way to make the game reasonably smooth is to allow it the highest framerate my machine can handle (that is, giving it no limit). 60 FPS in my game ...
2
votes
3answers
1k views

Interpolating Matrices

Apologies if I am missing something very obvious (likely!) but is there anything wrong with interpolating between two matrices by: float d = (float)(targetTime.Ticks - keyframe_start.ticks) / ...
2
votes
1answer
151 views

How do I animate pieces between puzzle states?

I'm developing a simple C# puzzle game as a learning exercise, using OpenTK. It's similar to Puzzles and Dragons' puzzle part: The aim is to match 3 pieces to remove them. Removed pieces are replaced. ...
2
votes
3answers
368 views

Level Design V.S. Modeler

From what I understand being a level designer and a character/environment/object/etc Modeler are two different jobs, yet sometimes it feels like a Modeler can also do the job of the level designer. I ...
2
votes
4answers
301 views

What is the standard technique for shifting the frames of a sprite according to user input?

From my own experience, I developed two techniques for changing the sprites of a character that's reacting to user input -- this in the context of a classic 2D platformer. The first one is to store ...
2
votes
2answers
320 views

How do you handle animations that are for transitioning between states?

How does one usually handle animations that are for going between a game object's states? For example, imagine a very simple game in which a character can only crouch or stand normally. Currently, I ...
2
votes
1answer
348 views

Moving sprites based on Delta time - consistent movement across all devices with different resolutions

This is the formula I am currently using to move my sprites across the screen: Examples below only deal with X coordinates to keeps things as short as possible. Initial variable declarations: float ...
2
votes
3answers
386 views

Animation with non-uniform frame sizes

How do you know when to draw the next frame if its bounding box is larger/smaller than the current? For example, in KOF, some characters have elastic arms and things of the like..How are these handled ...
2
votes
2answers
259 views

How do I render an animation where some frames appear twice?

I am animating a sprite. The sprite has 7 different frames, but the animation is 10 frames long. This is because 3 of the original frames appear twice in the animation: 3 -> 4 -> 5 -> 6 ...
2
votes
1answer
285 views

When animating sprites, why subtract frametime when switching between sprites instead of resetting elapsed time to zero?

I am currently on chapter 3 of the book "Learning XNA 4.0". At the end of this chapter is a section on changing the animation speed of sprites. timeSinceLastFrame += ...
2
votes
1answer
266 views

Some app are very primitive bitmap types of graphics, but some are so realistic, such as Cut The Rope — how does it do it?

Cut the Rope is so smooth and real life like, while some apps are very "bitmap" like. How does Cut the Rope do such realistic animation?
2
votes
2answers
419 views

I'm looking to learn how to apply traditional animation techniques to my graphics engine - are there any tutorials or online-resources that can help?

There are many traditional animation techniques - such as blurring of motion, motion along an elliptical curve rather than a straight line, counter-motion before beginning of movement - which help ...
2
votes
1answer
315 views

How do I loop my animations seamlessly?

I am trying a complete my method, which crops Maya-Animations (from Maya-Models) to specific ones using the SkinnedModelProcessor. My only problem is, that after one animation-loop completes, the ...
2
votes
2answers
147 views

Animating a background 'pulse' with easing equation

I'm trying to find a suitable easing equation (or other method) to animate an object so that it 'pulses' (imagine a 'spike' on a music visualiser, or see the image I drew badly below) 'v' is the ...
2
votes
1answer
409 views

What are file formats that store skeletal movements, and are there databases of them?

I have a set of 3d vectors representing the positions of a character's hand, foot, shoulders and so on. Is there any kind of easy to read file I can use to animate those with walking, standing, ...
2
votes
1answer
376 views

animate a drawn 2D image to move

I am trying to make a game where the person can create their own character, but instead of using a character builder, i want the person to be able to draw their character. how do i code that in c# so ...
2
votes
2answers
538 views

What algorithm is mostly used to interpolate animations?

Because DCC tools supports very many options, we resample the animation curve splines, but I think it still need to be interpolated. I think there's some de facto standard for this animation ...
2
votes
2answers
5k views

Exporting the frames in a Flash CS5.5 animation and possibly creating the spritesheet

Some time ago, I asked a question here to know what would be the best way to create animations when making an Android game and I got great answers. I did what people told me there by exporting each ...
2
votes
3answers
4k views

Exporting an animated FBX to XNA? (in 3DS Max)

I'm now working on an XNA 3D game, and I want to add animated models in it. I came across this example. I see there is one FBX file and a few texture files in the content project, and that in the ...
2
votes
1answer
149 views

How to animate a destruction of a model?

I have a model (see image) and I am trying to animate a destruction. But it doesn't seem possible, since XNA is using only bones to animate. So my question is: Which workflow should I use, to ...
2
votes
1answer
160 views

Guidelines when rigging a character

Just wondering that how many IK (Inverse Kinematic) bones should you apply to a game character before it starts to go resource hog. Basically should you try to get rid of IK bones and just try to ...
2
votes
1answer
127 views

Number of iterations to real time

I have an animation of traffic. I have 20 cars in road network, each car have a starting node and end node. Each car know how much distance does it need to travel in order to reach the end node. I ...
2
votes
1answer
439 views

Early stages of games development - create 2d animation images for iOS games?

I am in the early stages of developing a game. I don't have an artist or graphics person on board yet. How can I create simple images for animation to work through the early stages of game ...
2
votes
2answers
1k views

Problem With Smooth Animation In C++/SDL/OpenGL

I been working in the animation of a 2D platformer game in C++/SDL/OpenGL, and my team and I reach the point where we need to establish that every animation of the player (Walking, Running, etc..) ...
2
votes
1answer
454 views

Shapes and sprites in SVGs

I understand SGV images are used in 2D games to store shape data for the physics engine of the game. I'm unsure though, should the raster sprite also be stored in the SVG or should it be separate? ...
2
votes
3answers
377 views

Blending animations for more character movements

I am making a hack n slash 3rd person game, and I want the character movements to be more dynamic not like fighting games where you have a moves list. I want to animate tons of different animations ...
2
votes
3answers
454 views

Managing flash animations for a game

Ok, I've been writing C# for a while, but I'm new to ActionScript, so this is a question about best practices. We're developing a simple match game, where the user selects tiles and tries to match ...
2
votes
1answer
85 views

Processing move between tiles with an animation in isometric map

In my isometric map, entities can only be in the center of the floor tile. So it's tile per position. This is my map with an entity: Entity can either move forward, left, or right. Where forward ...
2
votes
1answer
143 views

How can I correctly line up differently sized animation frames with a character?

For educational purposes, I'm developing a 2d game without APIs or libraries. Currently I'm stuck with a sprite drawing problem. To store sprites for drawing (assuming I have the sprites I need all ...
2
votes
1answer
115 views

How can I reuse animated meshes?

When creating meshes, I made a mesh class and then used that one as base model and redrew that same mesh for each instance of an object with that mesh. (For eaxmple, one rock mesh, many rock objects.) ...
2
votes
1answer
795 views

Moving a character according to the animation, rather than code

I'm using 3ds Max to export character animations in which my character is moving. I expected this to mean that the character will move in Unity, but it doesn't... For example, if my animation (in 3ds ...
2
votes
1answer
138 views

How can I make an animation using arrays?

I want to take an array of sprites, for example sf::Sprite animation[3] = { stepLeft, inMiddle, stepRight }; and construct an animation by looping them. Is this possible? How do I go about it?