playMaker

Author Topic: Timer and tween (synchronize) [Solved]  (Read 584 times)

LuminRabbit

  • Full Member
  • ***
  • Posts: 161
  • Lumin Rabbit
Timer and tween (synchronize) [Solved]
« on: December 12, 2020, 07:01:34 PM »
Hello,

Im trying out the playmaker tweens and its nice (can't wait to see more!).

What Im trying to achieve is every 5 seconds Id like to have my timer (text) to scale up then back to normal but the tweens I have are 0.5 seconds each, which offsets the timer anyone know how I would synchronize this to match the timers 5 second increments?

Timer States:
Start State: Float Subtract, Seconds ToString, Set Text, Wait (5 seconds).
Next state: Tween Scale (0.5 seconds to scale up)
Next state: Tween Scale (0.5 seconds to scale back to normal size)

I'm not the greatest at math and have tried so many different approaches (float switches, int switches, etc..)
« Last Edit: December 13, 2020, 09:52:20 PM by Kodagames »
Have I said how much I love playmaker!!! This is one amazing tool

LuminRabbit

  • Full Member
  • ***
  • Posts: 161
  • Lumin Rabbit
Re: Timer and tween (synchronize)
« Reply #1 on: December 13, 2020, 09:51:21 PM »
I don’t know why I didn’t think of it but I’ll control the scaling with another FSM on the same object 😁
Have I said how much I love playmaker!!! This is one amazing tool