How do I get the tween to registre any finished?

0 favourites
  • 5 posts
From the Asset Store
Calculate parabolic trajectories and tween objects over them.
  • Hello!

    I have tried everything, now and cannot seem to find out why my tween is not responding. The tween im trying to use tween with is on a UI layer and is overlayed over the game, it moves like it should but the command "Any tween finished" does not do anything.. :(

    Hope someone will help to find the problem

  • I can't see on your picture the event for:

    On any tween-finished?

    Are you sure that you are targeting that trigger and not a different one?

  • Sorry my bad, I was trying to call the tween with the tag.. "DashboardUP"

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Sorry my bad, I was trying to call the tween with the tag.. "DashboardUP"

    I see

    Normally, for this type of situation, the only way anyone can help you is by posting a minimal example so they can investigate it and show you what was wrong as it's hard to debug without seeing your project. They will just guess.

    Here are some ideas you can test:

    1-Make sure that the Tween "MoveToCentre" finished is triggering by adding a console log as you did on your second trigger

    2-If the above tween Trigger is working then I will run the project on debug mode and check if that "PlayerBase_Collisions......" Boolean "isBasegrab" is = True

    3-Then If the above two are true, I will run the project on debug mode again and check if the object "PlatformWindow.........." Exist on the current layout

    4-Then If the above three are true, I will check that both Names (Trigger & Tween Action) match "DashboardUP" without any extra spaces

    5-Then If all above are true I will post a small example reproducing the problem

  • Thanks so much for answering and I most say that your 5 steps did help, because of you I checked the whole code again and found the bug, caused by a tween calling that ran at the exact same time and overruled the one I checked for.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)