The creation, manual or algorithmic, of frames of animation 'twixt keyframes.

learn more… | top users | synonyms

6
votes
4answers
206 views

Interpolation using cubic Bezier curves

I am trying to create an interpolate function for an animation library to achieve a tweening effect between frames. I want this to work with Bezier curves. I have created a jsFiddle (here) of my ...
0
votes
1answer
121 views

How to tween to move an object in arc?

Okay, so I think I need to use a tween in order to move an object in my game. I have some little green dudes that need to move in an arc (bezier) to a location that is clicked by the user. My game ...
1
vote
1answer
54 views

Tween - keeping a constant velocity at different distances

I am using a tweening library to move my units around. The problem is that the speed varies depending on the distance that the unit has to move because of the tweening: var time = 1000; var tween = ...
1
vote
1answer
102 views

Tween animation with Universal Tween Engine LIbGDX

Let me preface by saying that I'm new to libgdx... I have an animation that I'm currently drawing to the screen using: game.batch.draw(flyAnimation2.getKeyFrame(elapsedTime, true), 200,200,0, 0, ...
0
votes
1answer
49 views

The import aurelienribon cannot be resolved

I've been having problems with using the Tween Engine by aurelien ribon for a Splash Screen for my 2d game. I'm using Eclipse and libgdx. I've tried rebuilding, clean...-ing, and refreshing. I've ...
1
vote
1answer
439 views

Making a 2D sprite move in a curved jump in Unity

Given a 2D Sprite (I'm using NGUI if it matters), what is the simplest way to move it to another position using a curve that resembles a jump? When I used cocos2d, there was an action called JumpTo ...
1
vote
1answer
282 views

libgdx universal tween engine how to control the tweening speed?

How can i control the speed of a tweening sprite? Here is the code: in create () /*try tween*/ w = Gdx.graphics.getWidth(); h = Gdx.graphics.getHeight(); ...
-1
votes
1answer
59 views

What's the difference between Box2D and tweening?

It seems like Box2D can be used to move sprites across the screen, so how does this differ from tweening? Is it that Box2D is for physical collision detections and tweening is just animations?
1
vote
1answer
63 views

Gaps appearing between Sprites when scaling the stage

  I'm learning to use createjs using this game level to-be as a sandbox: http://www.mboyeman.com/dashingdog/   The level is composed of a single background image and 64X64pixel ...
4
votes
2answers
328 views

How to make a smooth circuit path in Universal tween engine?

I tried to make a circuit by starting at point A, with waypoints B and C and final target at A again, and infinite repeats. What happens is that the path from A to B, B to C is smoothed, but path C to ...
0
votes
2answers
430 views

Tweening multiple image objects in html5/js

Is there an optimal way to choose when tweening multiple images as a single image? For example let's say i have 10 preloaded image objects in my script, and i want to place them one on top of the ...
1
vote
1answer
101 views

Multiple concurrent Tweens

I'd like to be able to direct a game object to move to a new target position over a certain amount of time. There are lots of different easing functions available, but for now let's say I'm just ...
2
votes
1answer
258 views

Universal Tween Engine - simulating time T instantaneously

I have a circuit in Universal Tween Engine in libgdx and I want to make several entities follow this path , each behind the other, like body pieces of a snake. The problem is that I need to find ...
0
votes
1answer
317 views

Tweening in 2d side-scrolling RPG

I'm working on a 2d side-scrolling RPG-ish game. Currently the movement of the main character(hero) is based on the A and D keys, because it's 2d and I don't really care about jumping. I would like to ...
0
votes
0answers
191 views

Tweening MovieClips collisions

I am making a platform game and I have trouble finding the right way to do the enemy collisions... I am a noob in as3 so I 'm gonna try to explain my situation! I have an enemy, movie clip, and I have ...
1
vote
1answer
5k views

LibGdx : Animations not working on custom actor

I have this code for rendering a sprite, retrieved from a TextureAtlas public class SpriteActor extends Actor { private Sprite sprite; public SpriteActor(TextureAtlas atlas, String spriteName) { ...
0
votes
1answer
52 views

How to linearly blend between multiple points, deviating from a default point?

I have a set of 3D points that I need to "blend" between. Lets say I have points [A,B,C] and I have the amount I want to blend each as [0.5, 0.2, 0.8], how can I blend between these points with the ...
1
vote
1answer
125 views

How to linearly “blend” between multiple 3D points?

I have a set of 3D points that I need to "blend" between. Lets say I have points [A,B,C] and I have the amount I want to blend each as [0.5, 0.2, 0.8], how can I blend between these points with the ...
1
vote
2answers
294 views

Tween Animation Cannot Start

Do you have any reasons why my tween code didn't run or work? I already add the tween engine onto the library folder under LibGDX project folder and "Order and Export" it under Java Build Path at the ...
0
votes
1answer
395 views

box2d tween what am I missing

I have a Box2D project and I want to tween an kinematic body from position A, to position B. The tween function, got it from this blog: function easeInOut(t , b, c, d ){ if ( ( t /= d / 2 ) < ...
3
votes
2answers
639 views

Animate on tap in XNA (Windows Phone)

I'm trying to convert a AS3 game to C# / XNA and I'm looking for a way to animate a sprite. More precisely, I want the sprite to rotate and scale a bit, then return to its starting position. In AS3 ...
2
votes
1answer
160 views

Is there a way to export all the images of my tweening effect in Flash?

i'm using Flash to create the animation of my character in 2D (i'm just beginning). Is it possible to make a tween effect of a character, and then automatically export all the images/frames? So far, ...
0
votes
1answer
2k views

AS3 hittest with a tweening movieclip, what is the best way?

I'm making a simple game. The character is movable with the arrow keys. The enemies are moving around the screen with a (classic) tween. I want to detect collision between the character and the ...
0
votes
1answer
1k views

Creating an abstract Animation class

I'm creating a simple 2d game with c++ and SFML, and I've got a simple framework going for animating a sprite using a "SpriteSheet" image (an big image containing all the "frames" of an animation) ...
2
votes
1answer
953 views

Tweening Colors in OpenGL

I'm making a sky gradient in OpenGL by drawing with glColorPointer and glDrawArrays. I would like to be able to change the sky colour from morning to daytime to evening etc. I can either: Make a ...
2
votes
3answers
404 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 ...
9
votes
2answers
2k views

Easing Functions

I started to involve myself with easing functions (Flash AS3), came about in trying to understand TweenLite and Robert Penner's website: http://www.robertpenner.com/easing/ The question I have is ...