The creation, manual or algorithmic, of frames of animation 'twixt keyframes.
0
votes
0answers
14 views
Create angle when moving object
Create angle when moving object. I want to pretend like I'm throwing some object in real life.
example:
CODE:
new TWEEN.Tween(start).to(end, duration, {bezier:[{x:100, y:100}, {x:0, y:200}, {x:-100,...
1
vote
1answer
73 views
Smooth Camera Movement Java
So, I'm making a platformer game from scratch in Java and I am trying to make the camera movement smoother. Here is what it currently is (stupid)
public class Camera {
private int x, y;
...
1
vote
0answers
34 views
Where to put Tweening effect codes in HTML5 Canvas game?
I am building a javascript HTML5 canvas game and I need to scale the map. However whenever I scale my map the screen stutters very obviously. To scale smoothly without player noticing I add Tween ...
3
votes
1answer
105 views
Libgdx, TweenEngine - continous rotation animation without stopping/delay
I have a probably dumb question.
I'm trying to create a LoadingCircle so I just picked one image (you can see in the attachment) and made some sequences to rotate it:
Tween.to(loadingCircle, ...
1
vote
1answer
262 views
Infinite scroll with tweens in Phaser
Let's say you have a bunch of tweens running like this:
http://holbrook.no/tests/featherfall.html
Now you want to scroll them horizontally while they fall. By updating camera x, they start moving, ...
7
votes
4answers
807 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
530 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
117 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
666 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, 124,...
0
votes
1answer
115 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
1k 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
399 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
66 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?
2
votes
1answer
73 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
427 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 ...
1
vote
2answers
568 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
130 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
283 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 the ...
0
votes
1answer
347 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 ...
1
vote
1answer
6k views
Animations not working on custom actor in LibGDX
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
61 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
135 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
314 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
447 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
667 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
163 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
3k 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)
I'...
2
votes
1answer
1k 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
424 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 ...