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

learn more… | top users | synonyms

0
votes
0answers
5 views

How to make legacy animations run in Unity in unscaled time? (Pause game related)

I'm relatively new to Unity, and I've been having a very difficult time getting the legacy animations to run in unscaled time. I need to pause my game, and as soon as it pauses, I need to have my ...
0
votes
0answers
26 views

Efficiently creating animation sprites

I'm currently developing a simple 2d game on LibGDX. The core game logic is in place, but the assets are simply taking forever to create. My current method to create each animation frame is to ...
1
vote
1answer
33 views

How to Incorporate two loops: One for Turn Based Gameplay, and another for ongoing actions

I'm working on a roguelike using libtcod. So far everything works well with the turn-based functions. Essentially, when a player takes a turn, it triggers everything to advance. What if I have an ...
0
votes
0answers
11 views

How can I track a leader vehicle at a specific angle and distance?

I am using Matlab and have code which allows a vehicle to find its way to certain coordinates chosen by the user. I now want to add a second vehicle which stays fixed at a specific distance and angle ...
1
vote
2answers
46 views

How do I show a small sprite being dragged by touch?

In my mobile game, users drag shapes across the screen. Think of it as a classic Lines game, where you drag a dot on the field, or a chess game where you drag and drop pieces. The problem is that the ...
2
votes
2answers
126 views

How to synchronize damage with attack animation in a RTS game?

I have been working on a RTS game in unity and did damage deal through code and a timer but it does not fit with the animations quet well. The damage is dealt in the beginning of the animation and ...
0
votes
1answer
40 views

Animation fails due to a NullPointerException which I'm certain shouldn't be thrown (LibGDX / Java)

What the title says basically. I've been stuck on this error for a few hours I got it to work earlier but I honestly can't see why its failing now (ctrl + z'd back to the working stage). Here's my ...
0
votes
1answer
40 views

How can I make background elements wrap around the screen?

I'm looking to make my clouds wrap around the screen in my game (like the picture). Right now it just continues off the screen. The current movement code is: Cloud.center = ...
0
votes
0answers
20 views

Continous horizontal animation of objects

We have to continously animate objects from right to left in a panel. The player has to pop the first object. If the first object could not be destroyed by the player and it reaches the left ...
0
votes
1answer
73 views

Smooth transitions between 2d animations

I am writing a 2d game (in libGDX, but I think that doesn't matter too much). In that game I want to have smooth transitions between animations. For example, let's think of a guy walking around. Now ...
0
votes
2answers
85 views

How to get asset/model name from (custom) Content Processor in XNA 4.0

I'm trying to make multiple animations for multiple models in XNA 4.0 and I need to get the name of the model/asset from the content processor which is a custom one (XNA default I think), I'm trying ...
1
vote
1answer
67 views

State system and animation of derived classes

I'm trying to get some kind of state system for my game objects. I have a base Actor class that is derived by classes like Policeman, Informant or Brawler. Each of those classes describes different ...
0
votes
0answers
27 views

(Unity) Is There a Way to Add Multiple Animation Curves Together?

This is a bit of a cross post from answers.unity3d, but I don't know how much exposure my question will get there so I figured I'd try and see if anyone here had a solution for this. You can find it ...
0
votes
2answers
72 views

Why does this simple if-statement that checks my main characters state never get called (Java/LibGDX)?

Been working on this for a while - basically I want my player to perform a front flip when he jumps (screen tap -> player jumps). I wrote the animation class Animator (extends Player implements ...
0
votes
1answer
115 views

Programmatically creating sprite animations in Unity

Some background: I have a set of animated gifs which I've converted to spritesheets, which are then imported into Unity as multiple sprites. The end result is that each spritesheet in the Unity editor ...
0
votes
1answer
41 views

Set Non-Looping Animation Time to Seconds

I have an animation that does not loop. It plays for the default duration (n seconds), then stops on the last frame. This is exactly what I want to have happen, but I want it to play for m seconds, ...
0
votes
1answer
55 views

Animation works, but Unity doesn't realize it

I have an animation which plays once, and it played once just fine. I want to Invoke a method as soon as the animation finishes. I have been researching and experimenting for over an hour now, but ...
0
votes
1answer
25 views

Add Existing Animation

I have several animations that I am using on a GameObject. I switched the folder they were stored in, and they got detached from the gameObject. How can I add the existing animations to my ...
1
vote
1answer
50 views

Sprite animation with “overlapping” animations?

I'm trying to implement my own sprite animation system, and so far I've got it working quite nicely. I store each animation as a "take" which basically denotes the row of the animation in the sprite ...
0
votes
1answer
73 views

How to retarget animation from Generic to Humanoid?

I am in a constant struggle to convert a character that is indeed a humanoid character but its rig has been assigned as a generic rig. I want it to be humanoid so I can easily retarget its animation ...
0
votes
0answers
80 views

Gamemaker Running Animation Flashing, showing single frame, and displaying jump and run sprites at same time

EDIT: I changed the origin of the run sprite to the center, and it is no longer hovering above the jumping sprite. It now flashes in the same location as the run sprite when moving to the side. ...
0
votes
1answer
120 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 ...
1
vote
0answers
28 views

Play videos via 3rd party library or as animation in libGDX?

I want to add an animated splash screen to my desktop game, which I develop using libGDX. Now I see there is no native support for videos in libGDX, so I guess I have two options: Include a 3rd ...
4
votes
1answer
518 views

Is my skeletal animation algorith/representation correct?

I'm representing a rig (skeleton) as: A root pivot point, with a position (Vector3) and a direction (Vector 3). A tree of bones, where each bone is a struct with a rotation (Quaternion) and a length ...
0
votes
1answer
103 views

How can I implement procedural humanoid generation like MakeHuman?

Some applications allow you to generate a human mesh by simply adjusting parameters. The results are broad and convincing: you can get from a thin asian girl to a muscular african man by just ...
0
votes
0answers
39 views

How do I correctly set up a Unity animation to move?

I downloaded a custom .fbx model from the asset store, imported it to my project and placed it in my scene. I then created an animator controller and added it to the object. To get the animations ...
0
votes
0answers
37 views

How to import character from Mixamo with animations

I am in desperate need of a way to import a free character from maximo with the walking and idle animation. I have been trying for 2 days in a row now trying to get this to work but I just cannot do ...
0
votes
0answers
39 views

How to import animations from one model to others

I have two models (one animation in each) which I got for free from Mixamo. I imported them in Unity and they look like this: http://imgur.com/atjQbkI Justin@Idle and Justin@Walking. As can be seen ...
1
vote
0answers
108 views

What pattern(s) are used for networked strategy games (real time/turn based) [closed]

I have always been baffled by how real time strategy games handle animation and game state updates. I would imagine update loops for these games look something like this: get input. update current ...
0
votes
1answer
71 views

Animated Energy/Combo Bar (Unity 4.6) [duplicate]

How could I achieve the animated Combo bar effect used in Ski Safari / Ski Safari: Adventure time? Preferably with Unity 4.6 UI. General explanations also welcome! Links to videos showing the wanted ...
0
votes
1answer
95 views

Can't play animation from script in unity

I'm making a 2D sidescrolling game in Unity, and when the player shoots an obstacle, I want the obstacle animation to play and then destroy itself. I got it to destroy itself, but the animation won't ...
0
votes
1answer
104 views

LibGDX , Scale button with animation when it is pressed

I am developing game using LibGDX . I want to create beautiful menu and to scale buttons when they are pressed but not in this way , when it is pressed scale it 1.5f , I want to scale it with ...
0
votes
1answer
90 views

Typing text animation (dialogue) libGDX or in general

Can anyone think of an efficient way to animate the typing dialogue text as found in pokemon? I have a vague idea of using string.length, and having a new letter drawn every .2 seconds or so, but ...
0
votes
1answer
88 views

Dealing with multiple 2d sprite animations for the same object

I am using libGDX for a 2d game. Some of my in-game objects have animations, for example a soldier in top-down view that has a walking animation. That is working fine. Now, while walking, this ...
1
vote
1answer
56 views

How to access an animation properties from the animator?

I'd like to change the property speed of an animation from the animator. For example, I'd like the player to be able to reload faster with upgrades. So I have a basic reload animation on the gun ...
0
votes
2answers
226 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 ...
0
votes
2answers
105 views

Help Understanding libgdx create animations example game

I am trying to understand the example game, cuboc. GitHub is https://github.com/libgdx/libgdx-demo-cuboc. I have generated my texture atlas but I do not understand the code that uses this texture ...
0
votes
1answer
109 views

Java 2d Gaming, best practice to update random falling objects

I'm new to game development. I do have basic knowledge in Java and also have moderately good experience in OOP from other languages. I started developing this simple 2D game as my first project. The ...
0
votes
1answer
59 views

Set a different animation rate for moving player NOT using a sprite

I am trying to start making a simple game using HTML5 with a canvas and some JS. I have a player whose movement I am comfortable with, but the rate at which the player animates when it moves is too ...
0
votes
1answer
64 views

Texture organization and budgeting for a HD Sprite Based Game [closed]

I've been making a game that features 2 traditionally animated playable characters, hd backgrounds, props, and extra special effect animations. Things have gone well so far, but I have a few questions ...
1
vote
2answers
55 views

How to prevent fish eye effect when using CCOrbitCamera in Cocos2D?

Note: I'm using CocosSharp, a Xamarin C# version but the question is valid for all Cocos2D versions I presume. I'm also fine with answers in any Cocos2D dialect (there is no tag yet for CocosSharp ...
1
vote
1answer
34 views

Altering Animation Playback Given Terrain Information

Say my character has a jog animation. Assuming Y is vertical, his feet leave the ground at Y=0 and hit the ground again at Y=0. This works fine in a world like that of Minecraft, where every surface ...
0
votes
0answers
51 views

How to control animationClip though scripting or button pressed

I am stuck in my project designing Game Menu in unity. I am using NGUI plugin free version. I created image button and animated in animation view. It made animationclip and added in animator ...
0
votes
0answers
15 views

Spriter: add object across whole animation?

In Spriter, I have a semi-complete animation that I want to add a sprite on top. However, when I add a sprite, it only stays for one keyframe, then disappears. If I try to copy and paste it to all the ...
0
votes
0answers
126 views

libgdx y axis rotation (card flip)

I am a complete new user to libgdx and am looking to use it to write a simple card game. I want to be able to flip my cards over to reveal them, in the same way as this example from Google shows. ...
0
votes
0answers
139 views

Method to fake 3d in 2d top down game

I'm relatively new to game development and its terminology and I was wondering how to achieve the effect that is being used on the main character in this game: http://youtu.be/XK7whzmywno?t=2m38s To ...
0
votes
1answer
181 views

Creating looping canvas animation (slot machine with reels)

I have a small assignment to create something like slot machine with spinning pictures. I have to use HTML5 Canvas. I would like to hear some opinions how this can be made simply and performantly. ...
0
votes
0answers
32 views

Collada 3d file type

For animations in the Collada file type. How does it store them? I'm reading them in with Assimp and I got the keys. mNumPositionKeys = 24. I made the animation and it had 24 frames. But only 2 were ...
1
vote
1answer
38 views

Animating Two Objects' Interaction?

I want to animate a character who could be doing any number of things. Say for example, I want the character to get into bed, under the covers. Do I animate the character and the sheets moving ...
2
votes
1answer
44 views

Ease action to simulate a clank in a moving or rotating device near end of the trajectory

You know those mechanisms that moved or rotated, and then just a few millimeters near the end of the trajectory they oppose a bit of resistance and then clank to the final position. I want to ...