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

learn more… | top users | synonyms

4
votes
2answers
614 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
408 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
279 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
312 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
3k 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
902 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
3answers
10k 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
222 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
527 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
538 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 ...
1
vote
3answers
1k views

Detecting End of Animation

So I am making a death animation for a game. enemy1 is a UIImageView, and what I'm doing is when an integer is less than or equal to zero, it calls this deathAnimation which only happens once. What I ...
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 ...
4
votes
2answers
742 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 ...
0
votes
2answers
678 views

Creating pixel art / animation with flash

I have a friend that was the one creating graphics for my games. He left the town for some months (work, sigh) and I have tried to get in contact with him but it is impossible right now. Last talk I ...
-1
votes
1answer
429 views

Blender or 3Ds Max [closed]

I am starting a 3D video game project and I do not know whether I should use Blender or 3Ds max. Other sites say to use Blender because it has similar functionality and it is free, but I need to know ...
8
votes
1answer
440 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 ...
0
votes
2answers
200 views

Transition between two Views

i want to animation the transition between game screens , in my game loop i have a function called getCurrentScreen() which returns a Screen object this Screen Class has a function called present() ...
3
votes
2answers
3k 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) ...
0
votes
1answer
1k views

3D Bone Animation API in C# [closed]

i have been looking for 3d Bone Animation for plain C# (to be used with Sharpdx or Slimdx) but i did not find anything !!! I just find some for XNA. Any Suggestions! Accept c++ suggestions also
1
vote
0answers
461 views

Any way to edit Warcraft MDX or MDL Animated models?

I have been searching for a while for a way to get an animated mdl or mdx model into any 3D animating software (such as Blender), but so far have not had any success. I found a few methods of getting ...
0
votes
2answers
811 views

Computer animation in C++ and if it can be integrated in web designes

I have a PhD in Mathematics with some experience in C++ programming. I am very interested in computer animation, and would like to try to teach myself in C++. My humble resources at the moment are: ...
2
votes
1answer
501 views

COLLADA, loading, the modelling/animation process?

So, we're making a game in C++ using SDL - a TDS. It was originally intended to be 2D, but our lead programmer wanted to redo the engine and make it 3D. And, now, we really don't know how to go about ...
2
votes
1answer
217 views

How can animate a set of rigs without reinventing the wheel?

I have a set of rigs of my own defined 3D doll in Javascript. I would like to animate a set of rigs to simulate walking, jumping, etc. Obviously I could do it by myself, but I'm sure I would be ...
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 ...
1
vote
1answer
399 views

Special Effects in a 3d game

I am creating a 3d game ( a car racing game) using opengl ES. i know the rendering concept and also using a physics engine for all the physics stuff. All modeling is done using 3d modeling softwares. ...
1
vote
1answer
257 views

How can I change the path a sprite is following in real time?

Is there a common way to implement a character following path that is issued and replaced in real time? For example: the character follows a path issued, and while it's on that path, if a new path is ...
0
votes
1answer
813 views

Animations in FBX exported from Maya are anchored in the wrong place

We are trying to export a model and animation from Maya into Unity3d. In Maya, the model is anchored (pivot point) at the feet (and the body moves up and down). However after we have performed the ...
1
vote
1answer
497 views

Problems with 3D rotation when creating a 3D skeleton

I am writing a simple BVH parser in C# using the XNA framework. At the moment I have managed to parse in all the data and my goal is to find out the global coordinates of all the joints in the ...
2
votes
1answer
692 views

Character and Weapon animation interaction

If I have two models, for example: some character, and a bow, how do I work with them together in 3DS Max to animate them both (for example, when the character shoots an arrow with his bow, the ...
3
votes
2answers
660 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 ...
5
votes
3answers
883 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 ...
2
votes
1answer
127 views

How do I make “weaponsclash” = animations adapating to parameters

Meaning: how do I build my animations/system so that I can have swords blocking each other? I honestly believe this is the hardest part of a game: I need animations to interact with each other. If a ...
8
votes
2answers
1k views

How do character/object interaction animations work in isometric games?

I am planning an isometric business simulation game where the player sees an office with the usual furniture such as desks, whiteboards etc. Characters (Staff/NPC's) within the game should interact ...
3
votes
1answer
480 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 ...
4
votes
1answer
742 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 ...
14
votes
2answers
3k views

Animation Blending Basics

Say I have a framework with characters that can run and walk and of course, stand still. Am I right in thinking that animation blending is the process of smoothly transitioning between these by ...
2
votes
1answer
282 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 += ...
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 ...
1
vote
1answer
218 views

Process for developing psd images into animation

I wrote a kids' picture book that I want to make into an iPad app and iPhone app. (More of a story than a game, but same principles, I guess.) Here's a sample page: ...
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
1k 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 ...
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 ...
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, ...
2
votes
1answer
901 views

Unity3D animation and world collisions?

I'm using death animation for my enemies but the problem is that when enemy dies he crosses the walls/world. I want enemy/animation to be pushed back into world when he dies (animation is playing). ...
2
votes
1answer
433 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 ...
-1
votes
3answers
491 views

How to create solid human characters in MAYA, so that their hands do not cut into bodies while signaling hand sign?

How to create solid human characters in MAYA, so that their hands do not cut into bodies while signaling hand signs? Or can I make the characters solid in Unity? I create animations in MAYA and import ...
1
vote
1answer
993 views

Connecting 2D skeletal animation to physics engine

I'd like to use skeletal animations in my 2D game, and since I already use Box2D as the physics engine, I'd like to enable (but not enforce) ragdoll animations as well. I need some help in figuring ...
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.