Gdevelop: Tween instructions problem / Right-click editor and behavior-related instructions

Created on 1 May 2020  ·  7Comments  ·  Source: 4ian/GDevelop

I have object A with tween behavior attached.
I add a first tween action: tween scale of A to 1.2 as "somename".
Then, I copy-paste that action, and change the values to a new tween name and to scale 0.8.
I add some conditions to avoid conflict, and I try.
And that second action won't work until I double click on it to open it "fully".
I just need to double-click on it and close it, and then the tween works as expected.
Quite frustrating because I triple-checked the values, tried and tried again, and when I double-clicked on the event by mistake, it fixed the whole thing. 😒
It seems to happen with both conditions and actions.

Possibly related to that report, but not sure, since this time, the behavior is attached to the object: https://github.com/4ian/GDevelop/issues/1198
Not sure if related to that other tween bug I flagged recently.

Here's an example project, if it works on your side...
bugtweencopypaste.zip
Open preview and release space key, no tween.
Go to events, double click on the tween actions and click ok.
Now preview again, the tweens work.

🐛 bug

All 7 comments

With a diff tool on the json code when we copy paste the instruction we can see the Tween behavior is missing.

On left when i open the project. | On right after open and close with OK button the instructions wihout change the parameters.
image

Fun fact the behavior is correctly displayed before click OK
image

This missing parameter can be possible only if you create the event first, and after add the behavior to the object.

I couldn't replicate it any other way.

Oh, I think I got it.
It happens when I create the tween event by using the right-click menu. Can you replicate now?
I must have copy-pasted before fixing the first event so it propagated and I got mixed up?

I think the issue is indeed the right click editor not filling the behavior
parameters.

On Fri, 1 May 2020, 23:35 PascalLadalle, notifications@github.com wrote:

Oh, I think I got it.
It happens when I create the tween event by using the right-click menu.
Can you replicate now?
I must have copy-pasted before fixing the first event so it propagated?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/4ian/GDevelop/issues/1715#issuecomment-622578016, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJYRAVOD4FBWUKPI7F3XLDRPM6BZANCNFSM4MXD6SGQ
.

@blurymind
Another report about it, this is defenitively the behavior when the right click is used with the new fast instruction editor.

Reported by an user on forum

Original PR https://github.com/4ian/GDevelop/pull/1416

Right this is really a bad looking bug as hard to debug. I'll take a look

Fixed for next version :)

Was this page helpful?
0 / 5 - 0 ratings