Description

Tweening plugin for the c3runtime + tween timeline support.

Example Files

tWeeenExample.c3p (171 KB)

Everything you need to know :) Requires tWeeen version 1.0.2.0

Version History

Version Size Downloads Released
1.0.2.1
Beta
12 KB 6 Download
1.0.2.0
Beta
12 KB 18 Download
1.0.1.4 (Current)
Stable
12 KB 90 Download
1.0.1.3
Stable
12 KB 2 Download
1.0.1.2
Stable
12 KB 39 Download
1.0.1.0
Stable
10 KB 48 Download
1.0.0.0
Stable
10 KB 19 Download

Share

Download

1.0.1.4 Stable (12 KB)

Info

  • License MIT License
  • Copyright Pascal Gräml. All rights reserved.

Statistics

  • Download count 222 total downloads
  • Latest download count 90 downloads of latest version
  • Average download count 4 downloads per day average

Owners

Tags

  • 54 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • Thank you for that, very useful!

  • Can you get this to work for r120?

    • It does work unless some error creeped in with the new update that I´m not aware of. It only does not work prior to r113. I guess I can remove that info anyway since nobody will use r112 or less anymore :)

  • I was about to ask if you intended to allow us to tween colors, but it seems you were quicker. I can just do it with instance variables with the new version, I can even tween effects.

  • This is great! What motivates you in making this?

  • Hey,

    Thanks for the plugin. It's great!

    Just one thing. I'm trying to dynamically change a value (angle & duration) for a random spin of an object.

    I've tried initializing and using the random(xxx,xxxx) and also using a variable that gets set like that too.

    My problem is that after the first initialization, the values seem to be hardcoded and just keeps repeating that first value each time.

    I may be just being stupid :D

    • I worked it out - I didn't realise you had to re-initialize each time.

      I now have a problem where I can't get the opacity to tween correctly. I initialize and then set the target to 80%.

      Everytime I call the Tween, it goes straight to 100% and ignores duration/target value etc.

      Any ideas>?

      • Yes, you have to re-initialize it each time. The idea is that you only have to initialize it once and can re-use it everytime. But of course if you need to change the values you have to re-initialize it with the new values.

        Regarding opacity: The target is between 0 and 1, not 0 and 100, that is likely the reason why it appears to jump. But since it isn´t really mentioned anywhere, I´ll make sure to add that info in the next release!

        If that doesn´t solve it I´d request you share the code so I can take a look.

        Load more comments (1 replies)
  • Here was a comment about an error, but I'll replace it by a conclusion after a big debugging session:

    I didn't know it, but you can't launch timelines or tweens on several instances at the same time (around less than 0.1-second difference. Might be a bug.

    It's a bit annoying for "is on floor" from the platform behavior when everyone spaws at the same time for example but understandable.

    I just hope it's going to be fixed soon because it causes me problems when players are jumping.

  • I can't seem to get it to work within my project after installing the addon through the addon manager. It doesn't seem to appear in behaviors. Any tips on installing?

  • can you provide a fake support for c2 runtime ? i'm trying to use c3runtime but because of lite tween plugin i can not open my project in c3 and can not open your plugin in c2 runtime neither so if there be kind of a fake support for c2 i can change litetween actions to this plugin ad then safely move to c3 runtime.

    this should be many's problem here.

    • Even if it´s just fake support I would still have to recreate all the aces and I really want to avoid confusing people. Sorry. Either way it should be relatively easy to switch, make a backup of your project and open it side by side with the one you edit.

  • I currently can't switch from LiteTween to TWEEEN because of missing functionality. Can you please add a "value" property that can be tweened? Then an expression to return the "value" property? Then an action to manually set the starting number of "value"?

    This is a feature of LiteTween that is very helpful with tweening variables. For example tweening a high score number from zero to 1000 so the player can watch their high score go up. In LiteTween you can set the tweened property to "value", then set the target to 1000, then set value to 0, then start the tween. Then in every tick I can set my high score variable to LiteTween.Value. This feature seems missing in TWEEEN.

    Thank you. Any help is appreciated.

    • [-] [+]
    • 1 points
    • (1 child)
    [deleted]
    • Hmm, hard to tell what could be the problem.

      Do other tweens (e.g. position/rotation) work?

      Is the tween simply not running or does it also freeze the app?

      Any log outputs?

  • Load more comments (19 replies)