• Editor
  • Animation FPS mysteriously changed

Hi,
My animator recently noticed some of his animations were mysteriously slowed down. by a 33% factor.

Indeed, looking at the JSON export of the animations when comparing the same keyframe before and after the problem appeared, we can see that the time value for the same keyframe is different:

Before

"torso": {
   "translate": [
      {},
      { "time": 0.675, "x": 10.35, "y": -0.22 },
      { "time": 2 }
   ]
},

After

"torso": {
   "translate": [
      {},
      { "time": 0.9, "x": 10.35, "y": -0.22 },
      { "time": 2.6667 }
   ]
},

Now when looking at the start of the .json document, I noticed that there's an extra line for the "before" version:

{
"skeleton": {
   "hash": "o/rwqhErUEn3Y/z634JT7JVPPdQ",
   "spine": "3.8.99",
   "x": -596.27,
   "y": -16.32,
   "width": 1046.63,
   "height": 2503.83,
   "fps": 40,                          <

---

 This line here
   "images": "./images/",
   "audio": "D:/Asfalia/Box Sync/Asfalia/01_SPINE/03_RIG/03_CHARLIE_Antoine"
},

My animator told me he's always worked in 30fps and has no idea where that value comes from.

Any idea what setting is impacting this?

Related Discussions
...
  • Изменено

The FPS is written to the JSON when Nonessential is checked. It is set in the playback view:
Playback view - Spine User Guide: Timeline FPS
He must have accidentally changed it on the playback view. There is no other way to change it (eg, no hotkeys).

Likely setting it back to the default of 30 and then exporting will fix the problem. If he has created animations using 40, he should review that they play at the speed he wants after changing the FPS back to 30. If they aren't the right speed, he can box select all the keys and scale the selection by dragging the left or right edge to adjust the animation duration.

Yup, thanks, after doing some testing we came down to the same conclusion. We re-scaled all the animations to 75% and set the playback to 30 and it worked like a charm. Thanks