[Behavior] LiteTween

From the Asset Store
Skin it
$20 USD
A skin plugin and behavior to add a skin system in your game.
  • Great stuff! Does anyone tried it with node webkit exporter?

  • A quick test with node-webkit preview option tells me that this plugin works flawlessly with nw export. 10/10, would test again.

  • As a confirmation yes LiteTween works with NodeWebkit. We use Lite Tween for the tutorial.

    I would link the torrent of our game, but that's a shameless plug.... nm

    facebook.com/unsupportedbrowser

    We use Litetween and Litetween rocks. Let it be known Lunarray rocks :)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi, could you add in 'Tweened Property' the X and Y properties, so we can manipulate them separately. That's because using the "position" to handle only the X, messes in Y too.

    Thanks

  • marcelokohl

    It can be done by setting the target property to "400, 0" (to tween only x, 400 pixel right) and setting the target mode to relative.

    If you want to tween only Y, 100 pixel up, you can set target property to "0, -100" and set the target mode to relative.

    If you need absolute coordinate (i.e: move sprite to Y: 340, regardless of current Y), that would be a little trickier. You can use this in the event sheet:

    Event: On Sprite created

    Action: Set Target, target is Y (Absolute), and set value to 340

    Action: Set Target, target is X (Relative), and set value to 0

    However, I think I will reconsider adding that 'only X' and 'only Y' to tweened property, along with ping pong play mode due to alot of demand.

  • marcelokohl

    Added Ping Pong and Horizontal/Vertical tween, please redownload the behaviour.

    EDIT: Forgot to upload the updated behaviour, for those who already download and found out that it is actually the same as the older one, please redownload...

  • Thank you for the explanation,

  • Small fix, added loop mode and added some notes on first post about position tween to clear some confusion. (some people thinks it's a bug)

  • Looking at the examples, I couldn't seem to figure out where the apple bounce effect can be seen in a demo. Is there any link to the capx for that? I'm able to make an object grow and bounce to the new size, but if i want the object to end the same size it started and would like to be sure i'm doing it the most efficient way.

    dl.dropboxusercontent.com/u/55358831/LiteTweenStretch/index.html

    Thanks!

    Caleb

  • Also, is there anywhere that really explains what all of these various functions actually mean? I would love to understand what the difference between an EaseInOutCubic is different than EaseOutCircle, etc.

    Disregard.. I found that info here, just overlooked before.

    easings.net

  • Is this behavior built to support multiple tween behaviors on the same object? I've used that method without issue except that when one tween ends, it fires the On End event for all tween behaviors.

    Example:

    http://storage.wertle.com/construct2/DoubleTween.capx

    I have two different tween behaviors on the object, PositionTween and ScaleTween, but when PositionTween ends, the On ScaleTween end event fires.

    Is this a bug or should I just only be using one tween behavior per object? Thanks!

    Edit: Fixed the link

  • Wertle

    I can't download that example, the link is broken :(

    I just tested it here, and it can call the right onEnd event on each behavior though, are you sure that is the latest tween you are using?

    onEnd Test

  • part12studios

    The apple example, I lost the original apple demo capx but this one should be close to what you need

    Apple capx

  • lunarray

    I updated the plugin and it now works as expected, I guess I had an older version than I realized. Thanks!

  • I had made Tween2Effect behavior to pass the tween value into effect. It could extend the usage of tween behavior.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)