Questions tagged [animation]

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

Filter by
Sorted by
Tagged with
4 votes
1 answer
538 views

How can I apply a "genie animation" to a CCSprite?

I am new to Cocos2D and following this tutorial. I want to animate a CCSprite with the genie effect that OS X uses for hiding windows to the dock and showing them ...
iPatel's user avatar
  • 168
3 votes
3 answers
627 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. ...
Freesnöw's user avatar
  • 787
3 votes
2 answers
1k 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 ...
Luke's user avatar
  • 97
3 votes
4 answers
608 views

Playing a death anim on an enemy that I want to remove

I've been trying to find a tutorial on how to best make animations in Android. I already have some animations for my enemies and my character that are controlled by rectangles and changing ...
Green_qaue's user avatar
  • 1,893
3 votes
3 answers
17k 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 ...
BiAiB's user avatar
  • 143
3 votes
2 answers
2k views

How can I avoid "Moonwalking"

Let me explain my question: I have a sprite sheet with the different frames of the animations. Each animation has 8 frames. Based on the player's input, I modify the character's coordinates, thus I ...
Letokteren's user avatar
3 votes
2 answers
267 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 ...
brushleaf's user avatar
  • 131
3 votes
2 answers
10k 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 ...
www.Sillitoy.com's user avatar
3 votes
2 answers
2k 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 ...
Jack's user avatar
  • 406
3 votes
2 answers
3k views

Blender rigid body physics animation into Unity?

I'm stuck trying to get these cube objects to explode into chunks when destroyed in Unity. I've set up a physics sim in Blender of the effect I want, originally planning to replace the unbroken ...
Bob Doyle's user avatar
3 votes
2 answers
177 views

Suitable interpolation for animating explosions

Is there a standard interpolation function for animating explosions? Like there is with smoothstep or smootherstep for walking animations or cars going from point A to B. I'm assuming the explosion ...
Rodia's user avatar
  • 313
3 votes
1 answer
9k views

Simplest way of skeletal animation in openGL

I am not interested in using easy libraries like assimp which will import collada files with ease to get skeleton animation done. I wanna know what is the minimal requirement to get the animation ...
Yashwanth CB's user avatar
3 votes
2 answers
807 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 ...
OwenAlexander's user avatar
3 votes
1 answer
8k 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 ...
Tharindu's user avatar
  • 125
3 votes
1 answer
644 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 ...
131nary's user avatar
  • 33
3 votes
4 answers
720 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), ...
Luke's user avatar
  • 97
3 votes
3 answers
500 views

Blending animations for more character movements

I am making a hack n slash 3rd person game, and I want the character movements to be more dynamic not like fighting games where you have a moves list. I want to animate tons of different animations ...
user avatar
3 votes
2 answers
3k views

How to use Animation Player in Godot like Animated Sprite

So currently I am using the following code to play my sprites (AnimatedSprite Node). $Sprite.play("Animation Name") However now I want to use the AnimationPlayer ...
Johnston Liu's user avatar
3 votes
2 answers
809 views

What are the benefits or drawbacks of splitting the player animation system from the wall collision system into multiple objects pinned to each other?

I'm currently making a simple platformer in GameMaker Studio 2 and I've had people telling me that I need to separate the two things into an invisible wall collider mover and animation sprites pinned ...
Amet's user avatar
  • 33
3 votes
1 answer
9k views

How do I use coroutines to animate properly?

I have a coroutine, which I called from the Update() method on every click. First, I call AddTrunk() to add to my ...
Kartik Shah's user avatar
3 votes
1 answer
8k 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 ...
Valerio Santinelli's user avatar
3 votes
1 answer
2k 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 ...
Tinadm's user avatar
  • 443
3 votes
2 answers
3k views

Problem With Smooth Animation In C++/SDL/OpenGL

I been working in the animation of a 2D platformer game in C++/SDL/OpenGL, and my team and I reach the point where we need to establish that every animation of the player (Walking, Running, etc..) ...
oscar.rpr's user avatar
  • 338
3 votes
1 answer
413 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 ...
Pablo Ariel's user avatar
  • 1,382
3 votes
2 answers
832 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 ...
Setheron's user avatar
  • 596
3 votes
3 answers
2k 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) ...
Lisandro's user avatar
3 votes
1 answer
5k 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 ...
Matthew's user avatar
  • 891
3 votes
1 answer
298 views

How can I change an animated sprite's images per second from script?

Consider an AnimatedSprite with an animation of 9 .png files and a setting of 5 images per second. How can I change the number ...
pietrodito's user avatar
3 votes
3 answers
6k views

How to make card movement behave like those in Hearthstone and Eternal CCG?

I'm trying to achieve the same effect that cards in Hearthstone and Eternal CCG does, for example, cards behave as they were a type of "crane", when the cards move, their body is tilted towards the ...
ULI-R0's user avatar
  • 133
3 votes
1 answer
2k views

How should I animate sprites with separate body parts?

I am not an artist. I have a 2D Sprite broken up into different body parts that I want to animate. I know how to do it in Unity, but every artist I know would prefer to use Flash. I am trying to ...
Evorlor's user avatar
  • 5,793
3 votes
1 answer
922 views

Mesh's triangles don't move properly during skeletal animation

I've been trying to implement skeletal animation in my engine using this tutorial, and I've been having problems. Using the model they provided, I get results like this: But on some other models, ...
Yattabyte's user avatar
  • 1,013
3 votes
1 answer
6k views

Combining several animations into a single FBX

I'm trying to figure out a workflow for preparing character animations for Unity so that they are all combined in a single FBX file. The advantage as far as I see it is that it then uses only a single ...
BadmintonCat's user avatar
3 votes
1 answer
844 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 ...
user avatar
3 votes
1 answer
183 views

Animations won't transfer states until entire animation is completed [duplicate]

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 ...
user8363's user avatar
  • 179
3 votes
2 answers
3k 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 ...
Mihai Scurtu's user avatar
3 votes
3 answers
2k 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 ...
Francis Stokes's user avatar
3 votes
2 answers
3k 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 ...
ashes999's user avatar
  • 11.3k
3 votes
1 answer
1k views

C# - separate sprite for 2d character and arms

I'm making a 2D action platformer in C# (not using XNA). So far I have the character drawn on the screen, animating and moving. The sprite sheets provided by the artist have the character and arms in ...
Mike Squinter's user avatar
3 votes
3 answers
881 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 ...
Nick Badal's user avatar
3 votes
2 answers
2k 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 ...
viperld002's user avatar
3 votes
1 answer
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 ...
PeterK's user avatar
  • 516
3 votes
2 answers
2k 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 ...
Saad's user avatar
  • 133
3 votes
2 answers
50k 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 ...
Michael Davis's user avatar
3 votes
1 answer
3k views

How to do State-Based Animation with ECS

I'm making a simple platformer game and was suggested to use ECS from a friend. It looked pretty interested and at least worth a try, so I did. I got ECS working and started work on the rendering ...
William Thompson's user avatar
3 votes
1 answer
64 views

How to avoid wagon wheel illusion of a rotating gun barrel reversing direction?

I didn't know which forum to post this in, but I'm going to try here first. I am making a shotgun with 3 barrels which spin. However, I also want it to have kickback in the animation, but every time I ...
Wolfie_Waffle's user avatar
3 votes
1 answer
4k views

How can I have realistically bending/flexing paper?

I am a new hobbyist to Unity and I working on a game where the player goes around picking up clues in the form of paper notes to solve a mystery. So far, thanks to the help I got here, I was able to ...
Sorade's user avatar
  • 283
3 votes
2 answers
336 views

Unity 2D animation issue

I have this weird animation bug in Unity that I believe is how Unity handles the frame. I dont know how to show the image so I'll do my best to explain it. So I put a bunch of 2D sprites in a ...
user199845's user avatar
3 votes
2 answers
9k views

How to destroy object after animation

I've made an object and when the player has pick it up, rise it up and stop it out of screen. But because you can see the shadow of that object, I will destroy it after the animation has played. But ...
H. Pauwelyn's user avatar
3 votes
1 answer
2k views

Putting each animation on a thread

I'm trying to make my game as friendly to multi-core as possible. as such, i'm putting each animation on a new thread. I was hoping someone could check out my proof of concept code in java; an ...
tuskiomi's user avatar
  • 134
3 votes
1 answer
45 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 ...
user71891's user avatar

1
3 4
5
6 7
30