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

learn more… | top users | synonyms

1
vote
1answer
45 views

set sprite to current animation texture

In my game I have some box2d bodies where I add sprites using the following code in my render() method. for (Body body : worldBodies) { if (body.getUserData() instanceof Sprite) { ...
0
votes
1answer
25 views

Which MoCap Animation Sits

I have an UMA that I want to be in a sitting position basically forever. I assume I need an animation that will put him in an idle sitting position. I found the MoCap Huge Animation library for free ...
0
votes
0answers
7 views

Is there a FOSS sprites repo [duplicate]

I am trying to learn (on my own, not in a class) how to write games in C++, using SDL. I'm confident I can learn the code. Making even half good art, I'll never master. Is there a FOSS repository for ...
1
vote
1answer
60 views

Update Based Animation Position Values?

Is it possible to control the key-frame/sample value or the time based position in the animator? I’ve set a global float that identifies the rotation of an object on its Y axis and I would like the ...
0
votes
2answers
347 views

ASSIMP transformation hierarchy and animations

I don't fully understand the transformation hierarchy used by ASSIMP. According to the docs (http://assimp.sourceforge.net/lib_html/structai_node.html) an aiNode's transformation is relative to its ...
0
votes
0answers
42 views

How to play 2 animations at same button pressed?(unreal engine4)

I created a animation where a player swing a mace in blender but when imported in ue4 it is divided into 2 animation where a character moving his hand and in another a mace swinging now i want it to ...
0
votes
0answers
48 views

How to play animation when button pressed? (UnrealEngine4)

I already know about how to play animation but when I put 2 animations (Mace and Hand) to play together there is a problem now I cant able to play any animation at button pressed . when I press "use ...
1
vote
1answer
20 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
2answers
131 views

Problem with animations from Blender

I have a model that I made in Blender and also I have a gun reloading animation, the model has a rig. So it appears that the animation of the rigged model is devided into 25 different animations but ...
0
votes
1answer
2k 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 ...
0
votes
2answers
227 views

2D animated sprite in 3d Game

I have a model created in Blender for a character with a sprite as a child of the character that I would like to animate. I'm making a turn based strategy game in which I would like to be able to ...
1
vote
2answers
279 views

Lightning bolt effect with particles is not continuous

I am Drawing a lightning effect animation using this image: Below the result: As you can see the outcome is not a continuous purple color as I wanted it to be, but it has black spaces in ...
0
votes
0answers
56 views

Unity Mechanim makes physics behave weirdly

I'm developing a 2D Wrestling game in Unity 5 build 5.1.2f1. It's just the beginning so the character only has a number of animation states and a rigidbody2d. This is the state machine and these are ...
1
vote
2answers
298 views

2D motion synthesis for a human character

I want to make the player controlled character of my two dimensional sidescroller responsive to environmental forces, while still being controllable. I read about the commercial software product ...
1
vote
0answers
116 views

Unity - How to Receive “Animator” on AnimationEvent

How to receive "Animator" by parameter on an Animation Event parameter? Its possible?
1
vote
4answers
12k views

How can I do something only after an animation has finished?

I'm making this 2D platform based game. Basically what I want is when the player walks into spikes (which have a "deadly" tag") it displays the animation that has the parameter of animate with the ...
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
21 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 ...
0
votes
1answer
1k 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, ...
9
votes
4answers
229 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 ...
4
votes
1answer
2k 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 ...
1
vote
2answers
48 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
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
44 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 ...
1
vote
2answers
133 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
98 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
491 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 ...
0
votes
0answers
104 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 ...
0
votes
2answers
3k views

How can I make animations “snap” between transitions in Unity?

I have an animator with a few animations in it. These are very basic animations, just changing a transform to slide a sprite around in a cutscene. The issue that I'm running into is that when I ...
6
votes
1answer
323 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. ...
21
votes
2answers
6k 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 ...
1
vote
1answer
107 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) ...
-2
votes
1answer
250 views

Error running an Action in Cocos2d-x

In my game I have a "rocket" type and I want to run a sequence of actions on it. At first it must run an explosion animation and then remove itself from the game. For this I used the following code, ...
0
votes
1answer
158 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
225 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 ...
3
votes
1answer
30 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 ...
-2
votes
2answers
91 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
46 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
119 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
235 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
73 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
88 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
175 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 ...
3
votes
2answers
311 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
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
27 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. ...
0
votes
1answer
503 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?
2
votes
1answer
156 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 ...