How do I have the Tween behavior work properly here?

0 favourites
  • 2 posts
From the Asset Store
Calculate parabolic trajectories and tween objects over them.
  • Hello C3 community,

    I'm currently working on my very own F-Zero fangame (I love the games so much) and I wanted to implement a mechanic where your acceleration decreases as you get faster, to provide a stronger sense of momentum.

    I want to use the Tween behavior to have the acceleration decrease gradually. So I made this script, and it doesn't seem to work properly. The player's acceleration doesn't change at all unless they're boosting. I checked the code and it didn't seem like there were any instances of the acceleration forcing itself to remain at its normal value every tick, so I'm not sure what to do here. Any help or alternative solutions are greatly appreciated!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't know if this would fix the problem, but try changing the "Trigger Once" to be something like "if Tween 'Deceleration' is NOT playing", Trigger Once is usually pretty clunky and weird with individual instances, or at least it has been in my past experience.

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