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

learn more… | top users | synonyms

0
votes
1answer
1k views

HTML5 Canvas Tileset Animation

How to do in HTML5 canvas Image animating? I am have this code now: http://jsfiddle.net/WnjB6/1/ In here I am can add animations something like -> Animation.add('stand', [0, 1, 2, 3, 4, 5]); But ...
0
votes
2answers
304 views

Android Game Development problem with Speed = Distance / Time

I have been coding speed for an object. I have made it so the object will move from one end of the screen to another at a speed depending on the screen size, at the monemt I have made it so it will ...
0
votes
1answer
244 views

Animating isometric sprites

I'm having trouble coming up with a way to animate these 2D isometric sprites. The sprites are stored like this: (Game Folder Root)/Assets/Sprites/(Sprite Name)/(Sprite Animation)/(Sprite ...
51
votes
7answers
16k views

Why don't more games use vector art?

It would seem to me that vector art is more efficient in terms of resources/scalability; however, in most cases I have seen artists using bitmap/rasterized art. Is this a limitation put on the artists ...
1
vote
2answers
660 views

3D Studio Max biped restrictions?

I have a stock biped character in 3D studio max which has a jump animation. The problem I have with the jump animation is that there is actual y offset happening inside it which makes it awkward to ...
0
votes
1answer
387 views

Maintain proper symbol order when applying an armature in flash

I am trying to animate a character's leg in flash CS 5.5 for a game I am working on. I decided to use the bone tool because it's awesome. The problem I am having, however, is that for my character to ...
1
vote
1answer
560 views

Running one action on multiple sprites simultaneously

I have created a spiraling animation for a football. I want to be able to run it on 2 sprites simultaneously. This is what I have done: CCAnimation* footballAnim = [CCAnimation ...
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 ...
0
votes
4answers
720 views

Separating game logic from animation

For non-game applications the model-view-controller pattern is typical where data, logic, and visuals are separated. But for a game how would you architect the game logic and the animation system in ...
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 ...
3
votes
2answers
814 views

2D Animation Smoothness - Delta time vs. Kinematics

I'm animating a sprite in 2D with key frames of rotation and xy-positions. I've recently had a discussion with someone saying that when the device (happens to be an iPad using cocos2D) hits a ...
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 ...
2
votes
1answer
215 views

Blending Two different animations

I'm sure there are articles around on this but I'm not really sure what they are called. animation blending tends to give me the blend between two different complete animation such as walk and run. ...
-1
votes
0answers
67 views

ball 2d animation [duplicate]

Possible Duplicate: 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(); ...
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 ...
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 ...
3
votes
2answers
928 views

How do you chase a changing value with ease in and ease out

Assume you have a target that changes. Example: // on average every 1000 frames, move the target if (random(1000) == 0) { // pick a value between 0 and 999 target = random(1000); } Now, I ...
3
votes
3answers
651 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 ...
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 ...
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 ...
0
votes
2answers
2k views

Libgdx Animation Timing

I'm having a small issue with libgdx animation. I'm using getKeyFrame() to get the current frame of the animation and I'm updating the state time by adding on deltaTime in my update function for the ...
2
votes
1answer
457 views

XNA: Good way to queue up animations

I'm writing an AnimatedSprite class that has an Animation object (which itself contains a sprite sheet). The AnimatedSprite plays certain animations during key input. My problem is that how do I ...
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 ...
0
votes
1answer
257 views

What technique should I use to create models and animation sequences in OpenGL code?

I'm getting into game development using OpenGL (and the LWJGL library) and I want to create models for characters, NPC's etc. in the code, as well as animation sequences (for example the way the ...
0
votes
1answer
241 views

Player sprite moving slower on iPhone 4

I just finished getting movement/jump animation for a player sprite in Xcode using Cocos2D. The basic movement algorithm is a timer that updates every 0.01 sec, changing the sprite position to ...
1
vote
1answer
463 views

Frame Interpolation issues for skeletal animation

I'm trying to animate in-between keyframes for skeletal animation but having some issues. Each joint is represented by a quaternion and there is no translation component. When I try to slerp between ...
0
votes
2answers
309 views

Animating a jellyfish hardcoding?

I have drew a hemi-sphere by myself, and would like to do basic jellyfish animation by animating the vertices of the hemi-sphere. I tried a lot of experiments but it seems I'm doing it wrong. I need ...
1
vote
2answers
874 views

How do you make game objects (enemies, NPCs) move in interesting, non-linear ways? (e.g. shoot 'em up enemies)

I'm using a series of easing equations to make menus and transitions a little more interesting in my first game. That got me thinking about how game objects (enemies, NPCs, spaceships, whatever) are ...
2
votes
1answer
1k views

Open GL Android frame-by-frame animation tutorial/example code

My first question was asked wrong, so I need to ask again :) I found out, that I will have to do an OpenGL animation for my Android game. The closest (known) example is Talking Tom (but I don't know ...
1
vote
1answer
471 views

File format for animated scene

I've got a custom OpenGL based rendering engine and I'd like to add support for cinema-type scene animation. The artist that is helping me uses primarily 3DSMax. I'd like a file format for exporting ...
1
vote
0answers
153 views

How do I control an animation with a drag command?

I want to play an animation when someone drags a sprite from it's default position to another selected position. If they drag half of the selected position then animation will be play half. For ...
13
votes
2answers
2k views

Data-driven animation states

EDIT: To clarify what exactly my question is: is this a good way to handle animations / animation state in a game engine with the eye on content creation / management? What are the flaws in doing it ...
16
votes
3answers
2k views

How to programatically retarget animations from one skeleton to another?

I'm trying to write code to transfer animations that were designed for one skeleton to look correct on another skeleton. The source animations consist only of rotations except for translations on the ...
1
vote
1answer
1k views

Android frame by frame PNG animation

I am new at Android game development. I have done some apps before, but none of them are games :) So, I wanted to do a frame-by-frame animation of PNGs. I tried with AnimationDrawable, but ...
1
vote
1answer
169 views

Need to make animation whereby the character shatters into a bunch of pieces

I would like to take a 3d character model, cut out a bunch of shapes (or a bunch of triangles in the shape of the pieces I want) and then have the pieces separate from each other at the beginning of ...
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 ...
9
votes
6answers
423 views

Is there a (family of) monotonically non-decreasing noise function(s)?

I'd like a function to animate an object moving from point A to point B over time, such that it reaches B at some fixed time, but its position at any time is randomly perturbed in a continuous ...
15
votes
2answers
9k views

I can't figure out how to animate my loaded model with Assimp

I have loaded in a model to my C++ OpenGL game. It is a COLLADA file type that I have loaded, and I setup an animation under blender for the file. The problem is I don't know how to animate the model. ...
4
votes
2answers
633 views

Bejeweled-like game, managing different gem/powerup behaviors?

In general, what I am asking is, given any game where a game element can look/behave/affect-other-elements one way under one set of conditions, and look/behave/affect-other-elements a different way ...
0
votes
2answers
480 views

Dropping multiple objects using an array in Actionscript?

I'm trying to get these fireBalls to drop more often, I'm not sure if I'm using Math.random correctly. Also, for some reason I'm getting a null reference because I think the fireBalls array waits for ...
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 ...
1
vote
3answers
313 views

What's the best way to write fade in out function?

I want to create a continuous fade in and out. I'd like to have some function F(time) that returns values increasing from 0 to 255, then from 255 back down to -255, and repeats, as time progresses.
2
votes
2answers
4k views

Change alpha to a Frame in libgdx

I have this batch.draw(currentFrame, x, y, this.parent.originX, this.parent.originY, this.parent.width, this.parent.height, this.scaleX, this.scaleY,this.rotation); I want to apply the alpha that ...
8
votes
1answer
989 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 ...
9
votes
3answers
12k views

How to play animations in Cocos2d-x?

I'm new to Cocos2d-x and looking for a good way/tutorial on how to play animations in Cocos2d-x.
1
vote
1answer
152 views

Anybody remember this webpage? [closed]

I remember visiting a webpage some time ago (1 year ago maybe) It contained many java applets, describing how certain mathematical functions like sin, cos, arcsin, exp would make an object move, with ...
0
votes
1answer
228 views

Primitive Animation

I am creating a minecraft-like clone and was wondering what is the best way to go about animating a model, for example implementing the following feature: when the player presses the arrow keys, move ...
3
votes
1answer
532 views

Time Required for Animation to Finish

Using a tutorial found on the AppHub, I've been attempted to add controls to a sample sprite sheet. I am able to get all the animations working, but for stuff like punching or stabbing, the animations ...
15
votes
5answers
1k views

What's the best head-bob formula?

Given a point in space, a direction of travel, and a time since start, what's a convincing, non-sickening formula to simulate head bob? What's been successful in previous games? Has there been any ...
2
votes
2answers
588 views

Tips on combining the right Art Assets with a 2D Skeleton and making it flexible

I am on my first attempt to build a skeletal animation system for 2D side-scrollers, so I don't really have experience of what may appear in later stages. So i ask advice from anyone that been there ...