GithubHelp home page GithubHelp logo

aurelienribon / universal-tween-engine Goto Github PK

View Code? Open in Web Editor NEW
256.0 256.0 70.0 35.94 MB

The Universal Tween Engine allows you to create smooth interpolations on every attribute from every object in your projects!

Home Page: http://www.aurelienribon.com/

License: Apache License 2.0

Java 99.74% HTML 0.26%

universal-tween-engine's People

Contributors

aurelienribon avatar marzapower avatar silveryard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

universal-tween-engine's Issues

Using UTE at Java Server Side

I wish to use UTE at the server side.

Requirement:
I will have dynamic user data with which I will be creating animation frames in a batch. Those animation frames I will be using to create videos.

Current Problem
I am using LIBGDX which renders the frame on the screen and I am able to see the Window Frame. I don't want that frame to come up instead it should be an Headless Application just generating the frames in the file systems.

Anyone can help me accomplish this?

I'm Having an issue with the Timeline ending before the animation is completed.

I'm using Google PlayN(Java)

(1) Am I creating the timelines correctly? all of my timelines are generally created this way.
//****************************************************************************************************************
public static Timeline doSexyZoomScaleIn(ImageLayerContainerLocal ilc,float delay){
Timeline animationTimeline = Timeline.createParallel().beginParallel()
.push(Tween.from(ilc, TweenEngineAccessorContainer.SCALE, 400.0f).target(5f, 5f).ease(TweenEquations.easeOutBack))
.push(Tween.to(ilc, TweenEngineAccessorContainer.ALPHA, 200).target(0.4f).ease(TweenEquations.easeOutBack))
.end();
return animationTimeline;
}
//********************************************************************************************************

(2) I see you have a fix for this bug 2 years ago, and switching to 6.3.3 really made a big difference in the frequency the issues occurs but It did not stop it. Is it something I'm doing that may cause the issue to occur?

I'm also attaching callbacks so I can trigger events in my app. any insight will be greatly appreciated, even if it to point me to where the timelines are managed in the api and I'll try fixing it myself(I have tried).

Tween intersection

Hey,

I am running into a pretty weird problem: I have two TweenAccessors that handle totally different classes and that live inside two different classes as well. But when I create tweens for both accessors at the same time, it happens that the values seem to intersect.

My specific example looks like this (I'm working with LibGDX):

  • My AnswersSelection actor has 4 sprites that are being modified by a SpriteAccessor. It scales the buttons up (to 1.f) on .show() and fades them out on .hide(). This works fine.
  • My QuestionTitle actor has a PositionOffsetAccessor (with x,y values) which modifies a custom PositionOffset object. The actor creates a new tween that animates the PositionOffset to (0,0) on .show and animates the offset to (0, 150) on .hide().

Now, if I animate both Accessors at the same time, it looks like they are intersecting. One of the buttons suddenly has a default scaleY of 150.f and scales down to 1.f which totally distorts everything.

I hope you get what I'm trying to explain and I hope you can help me.

Easing parameters

What is the correct way of creating custom easings like you can in GSAP? It seems the library has been prepared for it as for example there is a param_s in the BACK equation class and it has a method which can set it.

public Back s(float s) {
    param_s = s;
    return this;
}

However when instantiating it, I get a 'Non-static method s(float) cannot be referenced from a static context' error.

private Back customBack = Back.s(.5f);

Tried with and without the new keyword.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.