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

learn more… | top users | synonyms

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
654 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
178 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 ...
4
votes
2answers
880 views

Animation Systems

As an animator specializing in Disney-style animation for videos and movies and whatnot, one of the things I've always wondered about is game animations. I'm especially wondering about it now, because ...
4
votes
2answers
493 views

Particle and Physics problem

This was originally a forum post so I hope you guys don't mind it being 2 questions in one. I am making a game and I got some basic physics implemented. I have 2 problems, 1 with particles being ...
4
votes
1answer
72 views

Can I create cocos2d animations without using Xcode?

I need to have someone do animation work for an iOS game I'm developing (using cocos2d), however this person does not have a Mac and as such cannot run Xcode. Is there a way for them to create ...
4
votes
3answers
566 views

How can I efficiently create/store/implement animations as I add to my game?

My game's characters are made up of different parts (head/body/legs/etc), and whatever items they have equipped. As I'm creating the animation system for my game, I want to try to anticipate a large ...
4
votes
3answers
1k views

Implementing skeletal animation and GPU skinning (DOOM MD5)

DISCLAIMER This question has been completely rewritten to narrow the scope of the question in light of previous suggestions and answers, but the same problem still persists. Currently I'm trying to ...
4
votes
3answers
250 views

Is there a way to squash/stretch a sprite based on an angle?

I have a ball that can move along any angle, and I want to squash and stretch it based on this angle. To be clear, if you dropped the ball down at a -90 angle, the squash would be all along the y, and ...
4
votes
2answers
678 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 ...
4
votes
1answer
902 views

Is there a tool to import a sprite sheet into Flash as a frame-based animation?

I'm looking for a tool that can help create a Flash-based animation given a spritesheet -- basically the reverse of Spriteloq. I'd like to take a sheet like the one below, import it into Flash, and ...
4
votes
1answer
401 views

How do I play an animation using lib3ds?

I am having trouble playing an animation of a .3ds object using lib3ds. I am able to load the .3ds model with lib3ds. But I can't find a way to play (for example) my 'walk' animation. Where can I ...
4
votes
0answers
80 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 ...
4
votes
1answer
115 views

Why is my Slick2D spritesheet animation cut off when it loops?

I am loading a SpriteSheet with Slick2D and using the Animation function in the render method to display it. The spritesheet loads perfectly, but when the animation loops, it does so moved down a few ...
3
votes
1answer
721 views

How do I make a jumping dolphin rotate realistically?

I want to program a dolphin that jumps and rotates like a real dolphin. Jumping is not the problem, but I don't know how to make the rotation. At the moment, my dolphin rotates a little weird. But I ...
3
votes
5answers
2k views

How are realistic 3D faces created and animated in video games?

I'm interested in being able to create realistic faces and facial expressions for the 3D characters of a game I'm working on. Think something similar to the dialog scenes in games like Mass Effect. ...
3
votes
3answers
445 views

Representing Wind in a Block-Based Game

I'm creating a game inside of a game called "ROBLOX". The game gives you some scripting tools to allow me to basically create anything I want. The world is created up by decently large blocks. ...
3
votes
4answers
552 views

Vary speed of enemy smoothly

Hey. I'm trying to create an enemy that travels at a speed s on screen but I'm having trouble with trying to make the speed vary in a smooth motion. Basically, I can get the enemy to move at a ...
3
votes
1answer
881 views

How do I make a 2D character aim their gun toward the mouse?

Heli Attack is a perfect example of the shooting mechanic I'd like. The character aims perpetually toward the mouse. What's going on here? From what I've read so far, you could separate the arm and ...
3
votes
3answers
3k views

How to play animations (GIF, SWF… )?

I have many diffrent animations made with flash. I can make it as (1).SWF, (2).GIF or as (3).PNG (every Frame per second). Searched in google... but coudn't find anything usefull. SWF: For SWF i ...
3
votes
2answers
696 views

Better to use fixed sprite size or variable sprite sizes in a sprite sheet?

you have N frames for an animation (an idle animation for example) of a 2D character. What is the best resolution to use for each frame? The problem is that if you save the N frames such that each of ...
3
votes
1answer
862 views

Converting time of day into a smooth day/night variable?

I'm trying to make a smooth day/night cycle for a game project that I've been working on. I've already set up a clock that adds deltaTime to seconds, wraps seconds to gameMinutes, etc. The issue that ...
3
votes
4answers
1k views

Public format for 2D animations

What public animation file formats are there available for 2D games? I'd like to know about both formats for procedural/skeletal animation, as well as traditional animation.
3
votes
3answers
12k views

Import a 3D animation into an android game

I want to import a skinned and animated character model built with bender into an android game. The animations can be: idle, walk, run ...etc I've seen a related question but it's only about ...
3
votes
2answers
4k 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) ...
3
votes
2answers
2k views

How to animate a model in WebGL?

I created a human model in Blender, exported the vertices and indices into a JSON file and render the model in a browser using WebGL. Now I created a walk and jump animation in Blender and would like ...
3
votes
2answers
232 views

Does there exist a library of animations for easing, skewing, bouncing, and squishing?

I'm specifically referring to the types of animations that are typical in 2D hand held games on the Nintendo platform, where menus slide in, bounce, squish, etc. I'm looking for something that is ...
3
votes
4answers
546 views

Is character movement with an animated sprite controlled by the animation itself or moved manually?

How is a walking animation of a given character designed? I can see two possible ways: The first way is to draw each frame of the animation such that, if the frames are displayed at position (0,0), ...
3
votes
4answers
588 views

Authoring Hitboxes

What sort of tools/processes are used for setting up hitboxes and make them move/resize/appear/disappear to match the character animations? I'm working in 2d, so attaching collision volumes to the ...
3
votes
2answers
5k views

How To Smoothly Animate From One Camera Position To Another

The Question is basically self explanatory. I have a scene with many cameras and I'd like to smoothly switch from one to another. I am not looking for a cross fade effect but more to a camera moving ...
3
votes
1answer
746 views

Keeping game model and graphics/animation separate but in sync

Suppose I'm building a chess game where I want to have animations. Pieces glide to their new squares when moved. Pieces perform attack animations when capturing other pieces. I'm not sure how to ...
3
votes
2answers
968 views

Managing animations

I'm developing a 2d game that requires sprite based animations. I was thinking about which is the most convenient way to manage many of these sprites all together with timings. I already know how ...
3
votes
1answer
3k views

Load character animation on button press - Unity3D

I am new to Unity3D and I am going to develop a simple animation application. There is a human character and there are three button Eg:- "jump", "down" , "roll", I want to bind the animation files ...
3
votes
1answer
6k views

Can I use an animated gif as a texture?

I want to have a plane that shows an animated Gif as it's texture, so essentially it will be a movie. Can I apply an animated Gif as a texture? If so, does it apply like a normal texture? Note: I know ...
3
votes
1answer
550 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 ...
3
votes
2answers
715 views

How to achieve hologram projection effect with head tracking

I want to recreate this: http://www.youtube.com/watch?v=9xMSGmjOZIg&feature=related I can take care of tracking the user's head, and in one of the comments I believe the author says that he used ...
3
votes
1answer
250 views

Should I use different object types for different kind of 3D meshes?

well... I'm building the animation system of my game engine (the skeletal and skinned animation stuff), and I came to a point where I added so much functionality in the frame and node structures ...
3
votes
1answer
2k views

How to “swing” bounding box and update collision for sprite swinging a weapon?

I have a simple question about sprite swinging weapons. I am making an RPG and would like something other than stabby-swords, so why not swinging swords? I have a bounding rectangle for them, and the ...
3
votes
2answers
666 views

XNA 4.0: Trouble Aligning an Animating Sprite (Texture Origin)

I'll try to explain this as best as I can. I'm trying to build a game where there exists a "Surfer" who is surfing down a rail. I have a sprite sheet for the surfer however I have been running into ...
3
votes
3answers
1k views

How to animate a character from a sprite sheet?

I'm making an online game, and I had been using a blank square as the character until recently. Now I want to add a real, animated character. I downloaded a free sprite sheet which has 12 (3x4) ...
3
votes
1answer
4k views

iPhone image asset recommended resolution/dpi/format

I'm learning iPhone development and a friend will be doing the graphics/animation. I'll be using cocos2d most likely (if that matters). My friend wants to get started on the graphics, and I don't ...
3
votes
1answer
3k 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 ...
3
votes
2answers
906 views

Creating Animations Without Hardcore Art for 2D Action RPG

I'm working on a 2D action RPG. One of the issues I run into is art; in the vein of Flash games like FF7, Secret of Mana, or Epic Battle Fantasy, I would like to actually display the weapon with the ...
3
votes
2answers
858 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 ...
3
votes
2answers
1k 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
1answer
1k views

Cocos2d animation problem, [__NSCFString rect]: unrecognized selector sent to instance

I am testing (and learning) animation in Cocos2d using a series of .png's called "splash-x.png". I am getting error and at the first sight i thought it was easy to solve but it turned out that i ...
3
votes
2answers
734 views

How to store character moves (sprite animations)?

So I'm thinking about making a small rpg, mainly to test out different design patterns I've been learning about. But the one question that I'm not too sure on how to approach is how to store an array ...
3
votes
2answers
23k views

How can I convert a 3ds Max .max to a Cinema 4D .c4d and maintain the animation?

I have recently purchased this asset from the3dstudio.com: http://www.the3dstudio.com/product_details.aspx?id_product=193089 It has a corrupt .3ds file available, and a .max (as well as what appears ...