I have a sprite that I am trying to scale. I use scaleTo skaction to do this ... I want it to decrease slowly. And that was my initial decision:
let scal = SKAction.scale(by: 100, duration: 10)
scal.timingMode = SKActionTimingMode.easeIn
The problem is that since it scales, because it scales so much that it slows down. Therefore, I need to use the timeingFunction function to write a user easeIn procedure for the action.
https://youtu.be/CE-B27gSXJI
In the video you will see that it starts fast and slows down. This only appears because I go to the scale, and the more you slow down, the more it appears ...
Problem: I have no idea how to do this with the synchronization function, and I could not find a good source to use as a link?
Any help would be appreciated and appreciated.
source
share