mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
[libgdx] Default to 30 FPS.
This commit is contained in:
parent
a400ee3bf2
commit
979d8072bc
@ -51,7 +51,7 @@ public class SkeletonData {
|
||||
String version, hash;
|
||||
|
||||
// Nonessential.
|
||||
float fps;
|
||||
float fps = 30;
|
||||
String imagesPath;
|
||||
|
||||
// --- Bones.
|
||||
|
||||
@ -117,7 +117,7 @@ public class SkeletonJson {
|
||||
skeletonData.version = skeletonMap.getString("spine", null);
|
||||
skeletonData.width = skeletonMap.getFloat("width", 0);
|
||||
skeletonData.height = skeletonMap.getFloat("height", 0);
|
||||
skeletonData.fps = skeletonMap.getFloat("fps", 0);
|
||||
skeletonData.fps = skeletonMap.getFloat("fps", 30);
|
||||
skeletonData.imagesPath = skeletonMap.getString("images", null);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user