A downloadable addon

This is a FREE behavior for Construct 2.

With this behavior, you can animate a value or the properties of an object over time, using ease functions to alter the rate at which the value changes.


⚠ Note that this behavior is just a port from the original Tween behavior from Construct 3, so all credits goes to Scirra team.
Updated 25 days ago
StatusReleased
CategoryTool
Authorskwp
Tagsaddon, behavior, Construct 2

Download

Download
tween(v1.1).c2addon 11 kB
Download
tween.c2addon 10 kB

Install instructions

Simply download the .c2addon file, then drag and drop the file in to the Construct 2 window.

Development log

Comments

Log in with itch.io to leave a comment.

(1 edit) (+1)

Hey there! Thank you so much for making this.
I seem to be getting an error when I use the "Tween (value)" action, everything else has been working perfectly until I tried using values instead of the set 'one' or 'two properties'.



Also, I noticed that when referencing the Tween.Value expression, it takes it as a string instead of an integer, which in turn would prevent me from using the value as a proper number unless I use 'int' (but the game crashes before I can check for that anyway), maybe that's related to what's causing the issue?

I'm sorry if this isn't the right place to report bugs and such, I couldn't quite find any other means. Again thank you for your time and contributions, it's helped me so much in my projects.

Hi! Thanks for your bug report.

Unfortunately, I can’t test the fixed version because I don’t have a PC right now (I edited the scripts on my phone), so please reply whether it’s fixed or not.

If you encounter any other bug, you’re free to use the comments, don’t worry.

Thank you for using my addons. :)

(5 edits)

It works wonderfully now! And it returns it as an integer too. Thank you so much!

Also, while I'm here I guess I should say, the reason I encountered this bug in the first place was because I tried tweening a sprite's rotation using variables manually, because when tweening the angle it would rotate the sprite the wrong way around, not accounting for the 360º to 0º wrap around, I imagine that's not intended behavior?
I'm sorry I forgot to mention on the previous message, I can live with it, but it'd be nice to have a fix for that too.

Again, thank you so much for your hard work regardless, it's been truly priceless.

(+1)

Great. Do you have plans to recreate Move-To and Follow behaviors (from C3) to Construct2 too?

(+1)

I do have plans to port a few more addons from Construct 3 to Construct 2, but I have to fix and publish some of my unreleased addons first.

Thanks for using my addons.

Huge thanks, my friend. Your addons are truly amazing and I wish all success to you with all your projects.

(+1)

good