Questions tagged [tweening]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
162 views

How do tween librarys in Unity update tweens?

I am trying create a small lerp helper script that basically allows me to do something like a small tween with a extension or static method (So I can call it from my other scripts easily like you can ...
Ivan's user avatar
  • 317
0 votes
1 answer
1k views

LeanTween | Rect Transform Moving To Incorrect Position

I am using LeanTween to animate my menu selector. This is how is looked prior to animating it with LeanTween: And when I animate it with Leantween, for some reason it is positioned much further away: ...
PayasoPrince's user avatar
0 votes
1 answer
4k views

Is it possible to have multiple simultaneous tweens within a LeanTween sequence?

I'm trying to create a sequence that controls multiple animating objects (ObjectA and ObjectB). I want it to look like this... Step 1: ObjectA moves to center, while rotating. Step 2: ObjectB moves ...
SemperCallide's user avatar
0 votes
1 answer
7k views

How to run a DOTween tween on float and apply it to a component on each update?

I am trying to use DOTween by tweening a float and then applying that float to the parameters of a gameObject's components on each update. In LeanTween, this was done like this: ...
mike's user avatar
  • 481
0 votes
1 answer
1k views

Optimization problem with tweening UI using DOTween in Unity

I read in a Unity blog post that using normal animation with UI in Unity is not really recommended, but instead you should use tweening if you can. To test this so I tried the same animation with both ...
Ivan's user avatar
  • 317
0 votes
1 answer
229 views

Tween a pop-up containing several buttons

I am developing a small game with Phaser 3. I want to make a container with several buttons, representing a pop-up dialog. The container needs to pop up on completing a task. When container pops up, I ...
bhagya's user avatar
  • 11
4 votes
1 answer
5k views

DOTween: How to make a spring bounce effect?

I am looking how to make a bouncing effect with DOTween, like when the object is attached to a spring. How can I make an effect like this?
fguillen's user avatar
  • 243
1 vote
1 answer
318 views

Godot tween animation playing order

I'm making a three in line game with godot, but i'm having an issue. First time when swapping cells, the animation of swapping and the elimination of cells (in the case of making 3 or more cell ...
Progs's user avatar
  • 93
0 votes
1 answer
733 views

Getting array of points shaping curve from 2 vector3 points

What I want is to get path for DoTween method DoPath(), which as a parameter expects array of vectors shaping the direction of the path. I googled some stuff and found out nothing. Just think bezier ...
Chestera's user avatar
  • 115
1 vote
0 answers
220 views

Unity animation: How to reset pivot after 3D character somersaults?

I have this new character animation that I made in Blender. None of my other animations use Root Transform or anything fancy, and they work great. This new one is special though. The character jumps ...
hatinacat2000's user avatar
1 vote
1 answer
2k views

How to run DOTween tweens in succession?

I have a function in my Unity game which marks a given cell GameObject as a valid cell for next move by changing the texture on it. I wanted to spice things up a bit by adding some tweens to the ...
Straightfw's user avatar
1 vote
0 answers
169 views

The gist of tweening with WebGL / OpenGL

I am trying to wrap my head around how to take advantage of shaders for things like tweening. For example, there are these simple easing equations, which we can use like this: ...
user10869858's user avatar
1 vote
1 answer
1k views

Unity target position never stops with Vector3.SmoothDamp

I've integrated Vector3.SmoothDamp method to have a more fluid and native movement between the character and his camera in Unity. The camera movement is perfectly ...
vitto's user avatar
  • 109
1 vote
1 answer
12k views

How do I restart tweens in DOTween and Unity?

I am trying to restart a couple of tweens when I load a new scene. So far, I have this in MainMenuController.cs : ...
vkainth's user avatar
  • 13
0 votes
0 answers
2k views

Unity - strange performance impact with moving objects

I'm trying to find the solution for 46 hours now and I'd be really happy if someone knows it! I'm using a DOTween library for moving the objects. I also use ...
Jacob's user avatar
  • 2,522
0 votes
1 answer
2k 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 ...
ShivGames's user avatar
  • 105
1 vote
0 answers
73 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 ...
newguy's user avatar
  • 255
0 votes
1 answer
458 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: ...
Jacob's user avatar
  • 2,522
2 votes
1 answer
854 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, ...
lash's user avatar
  • 131
7 votes
4 answers
3k 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 ...
Jackson's user avatar
  • 231
0 votes
1 answer
6k 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 ...
GeoJohn's user avatar
  • 339
0 votes
1 answer
773 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: ...
Oliver Schöning's user avatar
1 vote
1 answer
2k 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: ...
N8ALL3N's user avatar
  • 113
0 votes
1 answer
290 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 ...
resfever's user avatar
4 votes
1 answer
7k 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, ...
Saturn's user avatar
  • 1,771
1 vote
1 answer
646 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 () ...
hkguile's user avatar
  • 193
-1 votes
1 answer
104 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?
John's user avatar
  • 41
2 votes
1 answer
150 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 ...
Manny Adumbire's user avatar
4 votes
2 answers
587 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 ...
ibrabeicker's user avatar
  • 2,941
0 votes
2 answers
956 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 ...
ktsangop's user avatar
  • 143
1 vote
1 answer
303 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 ...
TenFour04's user avatar
  • 475
2 votes
1 answer
348 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 ...
ibrabeicker's user avatar
  • 2,941
0 votes
1 answer
444 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 ...
Felix's user avatar
  • 43
1 vote
1 answer
7k views

Animations not working on custom actor in LibGDX

I have this code for rendering a sprite, retrieved from a TextureAtlas ...
UberLambda's user avatar
0 votes
1 answer
151 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 ...
Robin Rodricks's user avatar
1 vote
1 answer
236 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 ...
Robin Rodricks's user avatar
1 vote
2 answers
370 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 ...
David Dimalanta's user avatar
0 votes
1 answer
523 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: ...
philipp's user avatar
  • 389
3 votes
2 answers
702 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 ...
Marcus's user avatar
  • 31
2 votes
1 answer
170 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, ...
Paul's user avatar
  • 679
0 votes
1 answer
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 ...
Opoe's user avatar
  • 149
1 vote
1 answer
2k 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'...
loogie's user avatar
  • 13
2 votes
1 answer
2k 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 ...
Aram Kocharyan's user avatar
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
11 votes
2 answers
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 ...
user avatar