Info

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

Statistics

  • Download count3,010 total downloads
  • Latest download count 1,024 downloads of latest version
  • Average download count2 downloads per day average

Owners

Description

Deprecated! Tweening plugin for the c3runtime + tween timeline support.

Example Files

Everything you need to know :) Requires tWeeen version 1.0.2.0

Discussion

  • 67 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?

  • Yea, i know, its deprecated, but i'm use it on my large project:

    The Problem is, currently don't work with the latest beta."Error: Addon 'wackytoasterTweeen' ACE 'initializeTimeline' uses "variadic" parameter which is not supported in the SDK."

    Can you fix this? That would be very useful for me.

  • WackyToaster

    I have an error while exporting, it freezes the game. I tried on latest stable and beta construct versions with different settings, with nws.js export and html5 export. It doesn't happen when just testing the project in the editor, but only during the loading of an export. Whether I use one of the default loading screens or a custom one, it happens just after reaching 100% loading.

    As it also happens in the stable version (before construct added their own tween), I suppose it comes from your plugin.

    An image with the error:

    imgur.com/a/DO3lkAW

  • 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.

    • Hey, I´m not 100% sure if I understand everything correct (based on your image) but from what I tested it appears to work. One thing that did cause trouble is the platform behavior interfering with the tween bahvior (most likely because it has a permanent gravity acting on it) so as long as the tween is running, the platform behavior should be disabled. If that doesn´t solve it I´d request an example file showcasing the bug.

      EDIT: If you don´t want to disable it completely (so the player can still move left/right) you can also set the gravity to 0.

      wackytoaster.at/parachute/tweeen_platformer.c3p

      • Ok, didn't fix, I'm going to send an example capx soon

        Load more comments (0 replies)
      • ok

        I am glad you answered but from what I tested the problem is not here.

        I checked before and the platform behavior and tweeen were working perfectly fine together (mainly because I didn't change the coordinates when not on the floor) when I tested with one player, but as soon as I land or jump at the same time with several players it crashes.

        I'm going to try the c3p you sent.

        EDIT: your c3p was a good source of inspiration, thanks, I'll try to disable the platform behavior for the jumping and falling animation but I'm afraid that it will affect gameplay.

        RE-DIT: While I'm at it, the error was: Uncaught (in promise) TypeError: Cannot read property 'val' of undefined, which doesn't seem to be linked to the platform behavior

        Load more comments (0 replies)
  • 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.

  • Load more comments (24 replies)