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

learn more… | top users | synonyms

6
votes
2answers
152 views

Good techniques for syncing gameplay actions to specific animation timings?

So I've come across an issue in the game I'm working on, but it seems to be a pretty fundamental thing that probably comes up in a lot of games. My game requires that some gameplay function occurs ...
3
votes
1answer
35 views

Why doesn't the animtor animate in unity5?

I have a player consisting of 20 different body parts which I have animated into a walking cycle. When I play the animation in an 'animation' component it works as intended, but when I try to play it ...
0
votes
0answers
43 views

How many ways are there to animate a 2D sprite in Unity3D?

I know about the following animation methods, 1/ Spreadsheet Animation.. 2/ Unity's animation (with individual parts).. Beside these two, are there any other animation system available? Is there ...
0
votes
0answers
19 views

How can I dynamically change the bone structure to reach a point?

Say I have a skeletal animation about a whip hit a target. When I create this animation, the root of the whip is at (0, 0, 0) and the target is at (10, 20, 10). Now in the real game, the target is not ...
9
votes
4answers
216 views

How do I interpolate around a rectangle?

I want to make a fancy animation where a point travels around a rectangle. I want to find the point's position at a time t. The rectangle is given by X, Y, Width and Height. Is there an algorithm ...
0
votes
1answer
76 views

Why are my Mecanim animation curves not staying within the entered range?

I have an in-place animation that I added curves to (In the rigged FBX which has the animation). I created 2 float parameters in the relevant controller with the same names as the curves in the ...
0
votes
0answers
15 views

How to make multiple characters with similar design [duplicate]

I am making a 2d platformer RPG game and I would like to create a character creation system that allows you to create your character as you please in the beginning. Since I want at least 10 different ...
0
votes
0answers
15 views

Python & Pygame: How do I use this animated gif as background surface? [duplicate]

How would I go about putting an animated gif into my game in Pygame? I'm following along on the tutorial at inventwithpython (source) slidepuzzle.py My code is very similar, as I'm just beginning how ...
0
votes
0answers
40 views

2D sprite making tool for huge project?

I recently bought spriter 2D but it was a disaster, it is not a finished product at all and i encountered so many bugs and crashes with it, so please don't suggest it. I am looking for a 2D sprite ...
0
votes
1answer
71 views

Beginning on animations

I am clueless with regards to animations. I have a simple rendering engine that renders models, sprites, skyboxes and whatnot; but everything is simply static with no animations whatsoever. With my ...
1
vote
0answers
287 views

The animation state could not be played because it couldn't be found!

If I try to use animation.Play() or have Play automatically ticked in the inspector on the animtion object, it gives me the follwing error: The animation state could not be played because it couldn't ...
1
vote
2answers
45 views

Animation impulse system?

I'm working on an animation system for an RTS game. Each unit has several animation states: Move, Idle, Engaging, etc.. Units also have a variety of "Animation Impulses" which are animations that get ...
0
votes
0answers
77 views

Scene2D: Dialog show with animations Sequence is also applied to the Dimming Background

I have issues with the dimmed Stage background when showing a Scene2D Dialog with Action Sequence (animations). The problem is that the animations are also applied to the dimming background and the ...
1
vote
2answers
97 views

How can I make a gameObject jump quick at first then start slowing down after a while?

How can I make a gameObject jump quick at first then start slowing down after a while? It definitely has something to do with deltaTime.
0
votes
1answer
301 views

How can I detect a long press then activate an animation?

How can I detect a long press on a touch screen then activate an animation? And when the finger is released, play another animation smoothly? Let's take for example the main character in Crossy Road: ...
1
vote
1answer
77 views

Sprite animation frames in Adobe Photoshop CC

I am creating 64x64 px sprites for my game and want to test the animation play before saving the sprite sheet in game. I watched this video to learn, which told me: 1) Click Window->Timeframe 2) ...
6
votes
1answer
283 views

How To Program a fully controllable spring (Damped) motion

i'm working on a project that needs realistic 2D Animation, none linear motion you might say, i have tried many things such as Hermite Curve and a few other motions and in the end Spring Motion. ...
0
votes
1answer
103 views

Monogame/XNA Making animations play once per click

I'm currently making a #gbjam entry and everything has been going smoothly up to this point. My issue being that I've implemented a shooting mechanic and along with it an animation to play as a shot ...
2
votes
1answer
105 views

Animations with individual images in Phaser.js

So I have this game that I made a while back and I want to port it using Phaser. The game is made using individual PNG files for all the animation frames, and there are over 100 of them. From ...
-2
votes
2answers
87 views

How to stop game but animation is running?

i want stop my game but the animation is runnig. how to make it ?? for Example : i call anim, i want when press the eScape , my game stop but animation is running. void Update() { ...
0
votes
0answers
40 views

Unity fill in Sprites/Animations at runtime for Mecanim & State machines

I'm creating a 2D wrestling game in Unity 5. There are going to be 10 or more characters with exactly same states like walking, running, idle, jumping etc and same sprite names. I'm not sure but It's ...
1
vote
2answers
89 views

Can't attach animation to script

I'm working on a little game (which is also my first one) and I want to insert a splash screen at the beginning (after the Unity one). I've finally achieved to add a fade-in and a fade-out transistion ...
1
vote
2answers
102 views

What is the movement represented by this sprite animation?

Fire Emblem 7 is a sprite based game with some interesting sprite art aesthetics. For example, see this sheet of one of the main characters, Lyn: On the last frames of the critical hit, the artist ...
1
vote
2answers
87 views

Fading in and fading out animations

This is how I'm creating my player. Is there any way to start fading in and fading out for an amount of time when I get hit? private Texture tex = Game.res.getTexture("player"); public Player(Body ...
0
votes
1answer
69 views

Game Sprite Motion

I really like the effect that I see in this video of Mario Party 10 Jewel Drop (at 2:40). It occurs when the four green orbs join together. You'll see a four items with long trails move to the top ...
0
votes
2answers
60 views

LibGdx TextButtonStyle Offset not working correctly

I'm intending to give an animation to the TextButton by giving the pressedOffsetX and pressedOffsetY values: TextButtonStyle buttonStyle = new TextButtonStyle(); buttonStyle.font = font25; ...
0
votes
1answer
697 views

Unity5x GetComponent<Animation>().Play(“sequence”.StopAll) not working

I'm working with Unity3D 5x using C#. I've attached collision detection to the character controller script that plays a "gothit" animation clip (using legacy animations). Here are the code snippets, ...
0
votes
1answer
104 views

Java: How do I cycle through a BufferedImage array of images and display them?

So, I'm coming from Python and Pygame here, porting most of my code because I didn't like the performance. A lot of the syntax is similar, but I've been having some trouble with a few things, namely ...
-2
votes
1answer
58 views

How do I clear the previous frames of a canvas animation?

I am trying to rotate an object, but all the previous frames still show up on the canvas. Here is my code. This didn't work: this.ctx.clearRect(0, 0, this.canvas.canvasWidth, ...
2
votes
0answers
25 views

MoCap data files applied to avatars using Mecanim

I am applying some animations (e.g. running) from this free MoCap package that I got off the Unity Assets Store, and as far as I can see from running the animation previews, they seem fine (i.e. ...
2
votes
2answers
202 views

Problem with coroutines unity 3d

I cannot understand why the coroutines are not waiting the designated number of seconds before executing the code below it. At the moment, the animation bleeds into the next state. I could get around ...
2
votes
1answer
121 views

How animated block in voxel engine?

In my voxel engine (XNA 4.0) I'm use a vertex buffer for the entire chunk and update it after the set block, changing block metadata or light level. This is not too frequent operation compared with ...
0
votes
1answer
343 views

2d character generator for android games

I am a developer, and not an artist. is there a 2d character generator that i can feed one picture and it will generate the proper files to be displayed for a running animation?
1
vote
0answers
33 views

Interpolate camera rotation over many keyframes smoothly

I have a defined set of rotation/position keyframes that I want a camera to animate between smoothly. Handling the position is easy enough using cubic bezier curves (and just auto-generating the ...
1
vote
1answer
18 views

Animation package from Assert Store not working probably with Unity Model/Custom Model?

I downloaded the animation pack from here: https://www.assetstore.unity3d.com/en/#!/content/25794 The assert contains a fbx file, which contains a bunch of animations. Then in Animator window I added ...
0
votes
1answer
1k views

Change sprite to animation in unity 5 2d (c#)

I want to do the same as this older post with one change: Change the sprite of a Object in Unity I want to use a .anim animation (created with unity) after the space key is pressed instead of ...
2
votes
0answers
45 views

How to set default scale on a per bone basis

Does anyone know how I can change the default scale on a per bone basis in Maya? (I'm using 2016) I want the scale to be 1,1,1 for this bone without making it smaller than it currently is. So, I ...
0
votes
1answer
386 views

How to animate objects in Unity 3D

Yesterday I played around with Unity 4.6 and I came up with a question about animation. I have an fps-survival project (most for educational purpose). I use the default build-in fps camera ...
2
votes
1answer
26 views

Animations won't transfer states until entire animation is completed

I am following the survival shooter tutorial and am using Unity 5. I just completed this video (linked) and I tested played it to see my animations worked but it seems like it will only transition ...
0
votes
0answers
20 views

Animation not visible

I made an animation with keyframes in Blender with a rig and exported it to a FBX. I then loaded it in into UE4 and I just saw the mesh fine (except for the materials, but that is another story.). So ...
2
votes
0answers
86 views

Animations in games

I wonder how skeletal animations in games work. I am Writing my own Graphics Engine for "fun", and I have come across several problems with animations. Here is how I do it right now: 1: Load the ...
3
votes
2answers
256 views

How can I generate a simple river surface seen from above, in a browser game?

I'm developing my first browser-based game, a very simple signup gamification where users become captains of boats, and their referred friends join the boats. The boats race to a finish line. There ...
1
vote
1answer
95 views

What is next to interpolate camera position with smooth speed changes?

I am working on a path camera to be used in demo playback. (3d game) The spline math used is catmull rom. I am on my second attempt to get constant position speed :( (someone else is doing rotation). ...
0
votes
0answers
46 views

Can not translate/rotate/scale skinned mesh

I have a Blender model with a skinned mesh and some unskinned meshes in it. After i import it into Unity, i can transform all the non skinned meshes with no hassle. But about the skinned mesh, ...
0
votes
0answers
26 views

Animation running on startup

I am trying to include a door that opens automatically upon entering into a collider. The animation is working correctly with the exception that it runs one cycle when starting. I have tried to stop ...
0
votes
1answer
168 views

MVC How To Handle Animations?

I am working on a turn based game that utilizes the model, view, controller design pattern to separate logic from input from rendering. I am still a little new to the pattern, but from my ...
1
vote
1answer
52 views

Looking for an easing equation

I am looking for an easing equation with the following properties: It starts at a velocity of zero, and eases into a constant velocity of 1 for a duration of t_1 seconds (cubic, exp, or quintic, ...
0
votes
0answers
79 views

Vertex Skinning OpenGex Incorrect Transformations

I'm following the formula here, I'm using LJWGL, OpenGl, OpenGex, and Blender: I implemented the code and it works but there is a few things. First, there is a gap between the two bones, or on each ...
3
votes
1answer
1k views

Changing animation speed at runtime

Is there a way in Unity to change the animation speed of an animation managed by an animator controller (Mecanim)? I'd like to do that at runtime so that I can speedup and slow down an animation ...
0
votes
2answers
190 views

How to make the capsule collider that comes with character controller follow the animations

I'm making a 3D endless running game like subway surf. When I swipe/press down arrow the slide animation starts but the capsule collider isn't following along as it doesn't slides along with the ...