YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
21 stars 8 forks source link

Control the playback speed of Spine animations on different tracks independently. #3016

Open SimpCarlWheezer opened 1 year ago

SimpCarlWheezer commented 1 year ago

Is your feature request related to a problem?

The current Spine runtime in GameMaker lacks many features.

Describe the solution you'd like

We need to be able to play different Spine animations at different speeds on different tracks. For example, on Track 1, we want the Run animation to play at a speed of 1 frame per second, and on Track 2, we want the Reload animation to play at a speed of 2 frames per second. Currently, it is only possible to change the running speed of Spine animations globally, which means that it affects all tracks at the same time.

Describe alternatives you've considered

I was able to implement this missing feature, but I would still like to see an official solution.

https://github.com/YoYoGames/GameMaker-Feature-Requests/assets/46505079/738a5912-455a-4d8c-a7f9-d2254b3bfd10

Additional context

Spine uses the timeScale property to change the playback speed of each animation on different tracks. You can find more information in this link : https://en.esotericsoftware.com/spine-api-reference#TrackEntry-timeScale

rikman81 commented 10 months ago

This is not something I've ever had to do in GM so I didn't realise it wasn't possible in it's implementation, but I'm always happy to push for Spine features in to be added to GM to bring it in line with the supported features of other engines.

+1.