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

learn more… | top users | synonyms

2
votes
1answer
170 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 ...
0
votes
2answers
471 views

Android: How to create fluent animations by using bitmaps and ObjectAnimator?

I want a resized bitmap item to move over the screen into a house. This basically works, but the movement is not fluent and is stuttering. Since I always have to draw both the resized background and ...
0
votes
1answer
28 views

Animation State [closed]

Well i'm not entirely sure how to manage animations. I've looked at a few solutions, havok and ue4, which seem to use state machines but the states and their interactions are created using external ...
1
vote
2answers
319 views

How to disable play automatically on animation in Unity3d 4.5.1

Where is the option to disable the 'Play Automatically' function for animations in Unity3d 4.5.1. In previous versions, there was a button under the Animation tab to disable the play automatically: ...
0
votes
1answer
54 views

Setting up images for frame animation

I am learning the basics of iPhone frame animation. I have code that loops through 15 images to do an animation: - (void)viewDidLoad { [super viewDidLoad]; UIImageView *iv = [[UIImageView ...
0
votes
2answers
586 views

Playing an animation relative to current Transform in unity?

I have an animation created with the built-in dope sheet. It plays correctly but I would like it to be played relative to current object transformation. For example I have a palm tree that moves its ...
2
votes
2answers
270 views

Animate from end frame of one animation to end frame of another Unity3d/C#

So I have two legacy FBX animations; Animation A and Animation B. What I'm looking to do is to be able to fade from A to B regardless of the current frame A is on. Using animation.CrossFade() will ...
2
votes
1answer
113 views

AndEngine GLES 2 Animate Character [closed]

I want to animate my character in game. My graphic animator prepare for me three options. Frame-by-frame by this is over 9MB for one animation. With TextureSpriter 4-5MB. Spriter but I can't find ...
3
votes
2answers
556 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 ...
0
votes
0answers
94 views

Export Blender 3D animation to be played by Android OpenGLES

Below code snippet shows the way to export coordinate of bones: def export_bone_matrix(armature, bone, label, file_handler): SystemMatrix = Matrix.Scale(-1, 4, Vector((0, 0, 1))) * ...
0
votes
0answers
42 views

Transform texture coordinates when using shader

Assuming I define four vertices of a quad with texture coordinates that cover a whole texture or region of a texture, I can animate these coordinates by setting a transform using SetTransform( ...
0
votes
0answers
36 views

Unity import from blender missing action animation

I'm trying to import my .blend file into unity, but one of my animations never appears in Unity. That animation is "Fall", which is observable in Blender's "NLA Editor". I am currently exporting as an ...
0
votes
0answers
108 views

Animation system for smooth character movement

For 2D games similar to the indie game Limbo, what kind of animation system or techniques do such games typically employ? I'm primarily interested in how the animation data is stored and used by the ...
6
votes
1answer
702 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 ...
0
votes
0answers
83 views

How to export blender coordinate to be used in Android OpenGLES

I'd like to create my personal light-weight Android 3D engine to show 3D animation configured by Blender. I have successfully loaded the Blender-created 3D models by OpenGL ES on Android. Now, I'd ...
0
votes
1answer
181 views

Unity animations in iOS

I'm an iOS developer and I'm trying to make 2d animations with Unity 4.3 + RageTools Pro + RageSpline. I want to integrate the animations into a native iOS application. In Unity I have different kind ...
1
vote
1answer
40 views

No animation clips in assets folder

I'm trying to import an FBX file made in Blender into Unity so I can use the actions created in Blender in a Unity animation state machine. A lot of sites seem to suggest that simply dropping the FBX ...
8
votes
3answers
2k views

How are game characters animated? [closed]

I will be working with my friends on our final year project. Our game will be FPS and I have to draw some animations for FPS view and other enemy character that can be programmed easily to make a good ...
0
votes
1answer
72 views

What software can I use to animate my character in Unity3D? [closed]

I am new in game development and I want to know what software can help me to create good animations for my 3rd person character.
2
votes
2answers
260 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 ...
3
votes
1answer
157 views

Most efficient way to implement delta time

Here's one way to implement delta time: /// init /// var duration = 5000, currentTime = Date.now(); // and create cube, scene, camera ect ////// function animate() { /// determine delta /// ...
0
votes
0answers
59 views

2D Platform Jump Animation

I have implemented the jump and want to add some animation to it. I have a tile for "preparing for jumping", one for jumping and one for landing. I use a time based system for jump and I already ...
0
votes
1answer
71 views

How to animate two interacting objects

I'm not very familiar with animations but as far as I know, most of the animations are done frame by frame. For example animating a character walking etc. However, let's imagine this scene: There's ...
4
votes
1answer
90 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 ...
0
votes
1answer
68 views

How can I animate the stretching of a sprite over time?

My goal is to find the function to stretch a sprite like my example below, and then get it to animate during a certain time. It is like an interpolation, where the starting point is the original ...
2
votes
0answers
82 views

2D Animation Blending [closed]

I have been researching on 2D Animation Blending technique similar to what Unity 4.3 has. I know how Animation blending in 3D works but I have no idea how it works in 2D. How does 2D Animation ...
1
vote
1answer
96 views

How can I play an animation in response to an event?

I've written a script to play an animation, but it starts immediately as my level loads. Instead, I want it only to start when triggered by some event or after a given timeout. How can I do this?
2
votes
1answer
378 views

How do I support animation with frames of different sizes?

I'm trying to create a simple top-view 2D rpg, in the style of Zelda and Secret of Mana, using PyGame. I've managed to make the beginnings of a game, with an animated character walking around. ...
1
vote
1answer
409 views

How can I move keyframes further apart in ToonBoom?

I've created an animation entirely out of screen capture fragments and keyframes, and I haven't allowed enough time for one portion. I'd like to simply stretch out the time between two keyframes, ...
0
votes
1answer
88 views

How big a transition from programmer to modeler/level designer/creator [closed]

So I think I may take a break from the programming side, I have put in 6 hard months learning C++ and graphics theory, I have learned a huge amount but over the last few days have been studying level ...
5
votes
2answers
210 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 ...
0
votes
0answers
133 views

Unity not updating sprite animations (possible bug)

I have a simple animation of a foot which i want to change sprites from one sprite to another, which is seen in the following two images: now as one can see in the animation timeline there is a ...
1
vote
1answer
69 views

How can I make an attached gameobject behave correctly on character flip?

I have a character that on start-up is equipped with another gameobject/prefab as a weapon, attaching it to a hand. void Start() { handFront = transform.Find ...
0
votes
1answer
335 views

Skeletal animation with Unity2D?

I want my character to aim with the mouse so, arms and head must move following mouse cursor and when the character is stand still it could change its stance a bit to accommodate the arms position. I ...
3
votes
1answer
342 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 ...
1
vote
2answers
114 views

How to use blender files in your own engine?

It is not trivial to use your own shader on blender, so I've created a good-looking webgl shader. Now, what do I need to use the things I made in blender on it? An obvious first idea would be to parse ...
0
votes
0answers
125 views

Animate 2D Human body Skeletal with Hands using JS

I am working on a JavaScript app to create interactive 2D animations in the browser. I'd like to create a human body. Let's consider this simple scenario to better explain what I want to achieve: I ...
0
votes
1answer
48 views

How to find the right direction to plug a sword into a rig's hand after projecting it?

I've downloaded BVH animations and projected it following a book. I can now see a 3D moving rig and it looks alright. The problem is, now I want to plug a sword on the hand of the rig, but I don't ...
0
votes
1answer
104 views

Why doesn't my animation stop when I press a key?

I wrote a program that animates two squares diagonally across the screen, from opposite sides. Used Timer object to do so. The squares collide with each other and also with the frame boundary to ...
1
vote
1answer
104 views

Who should handle animations when game logic is separated from rendering?

Suppose I have a tile-based game and I want the step to be 1 tile but also want the movement to be smooth while the player is getting there. If I understand correctly, the only way to achieve this ...
0
votes
1answer
41 views

How to use mocaps in your game if they don't loop smoothly?

Following suggestions on IRC, I've downloaded, parsed and incorporated the Free Release of 2500 mocaps to my game. I've noticed, though, that none of those loop perfectly. It does not connect and thus ...
12
votes
3answers
611 views

How do I lerp between values that loop (such as hue or rotation)?

View Demo I'm trying to make the joint rotate smoothly around the center of the canvas, toward the angle of mouse pointer. What I have works, but I want it to animate the shortest distance possible ...
3
votes
1answer
529 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 ...
0
votes
1answer
88 views

2D animation is not rendered as it supposed to

I'm working with Melonjs, i have configured everything to update the character movement and still get this "delayed" rendering of the character. below is the constructor // call the constructor ...
1
vote
2answers
479 views

Exporting distinct images from a sprite sheet using GIMP

I have recently found that in Photoshop there is a script that enables you to export individual images on different layers into distinct png images on disk. Is it GIMP capable of doing the same ...
-1
votes
1answer
502 views

Animating a sprite with mecanim

I want to try animating sprites with the Unity's mecanim. All the tutorials I found used bipedal humanoids, which already have the avatar for the animator component and imported animations. What I ...
1
vote
0answers
966 views

LibGDX RPG walking animation [closed]

I've been trying to nail down a walking animation with libGDX. I'm making an RPG with the character that can move up, down, left, and right. I have this movement in a spritesheet. I've been ...
1
vote
1answer
806 views

How should I handle animation states in Mecanim?

I did a tutorial which associated an integer to each state and manually set transitions from one state to another based on that integer, but that seems really sloppy. Is there a more elegant way? I ...
1
vote
1answer
118 views

Multiple FBX Animation Files in Maya

I bought some animated models which came as FBX files from the unity asset store and I'm trying to export them to PNG sprite sheets in Maya (for an html5 web project). The file seems to be main fbx ...
1
vote
2answers
114 views

SDL sprite animation problem

I'm currently drawing my character from a single file, and my sprite class handles it taking the file path as an argument. Now, I need to add a simple animation, cycling between two frames. The ...