Well we have our answer. I was using an accidentally documented, undocumented feature that wasn´t intended to be used.
github.com/Scirra/Construct-3-bugs/issues/2155
I guess I will have to rework that part with the next update.
Noice!
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.
Wew so long story short: There is some weird crazy stuff going on and basically I have no clue why it is happening, I may have to ask Ashley about that one.
Anyway, the newest update fixes the problem BUT you must change a minor thing in your code. Instead of using "Is on floor + trigger once" you have to use "on landed" because... reasons.
Hope that solves it :)
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
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 :)
Hey, check out the newest Beta-Relase
I opted for a different approach (that allows you to tween instance variables) but I hope you like it anyway. :)
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.
It only works with the new runtime, you have to switch to the new runtime in the project properties.
That is indeed useful. I´ll add it with the next update :)
Not exactly planned but it should be relatively easy to port it. I´ll try to update it soonish.
Thank you! :)
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?
Hey, thanks for the info. The minifier was something I kinda pushed into the "I don´t really wanna do this right now" category... But it should work now though I haven´t tested it with instant games specifically. Let me know if everything works.
Check out the newest release ;) It needed some very minor adaptions but it works perfect!
Regarding custom tweening, I probably can, shouldn´t be that hard. But not in this release.
Member since 18 Feb, 2014
err ok 15 characters I hope I don´t make mistakes