|
@@ -40,7 +40,7 @@ int main() {
|
|
GlTextureLoader textureLoader;
|
|
GlTextureLoader textureLoader;
|
|
Atlas *atlas = new Atlas("data/spineboy-pma.atlas", &textureLoader);
|
|
Atlas *atlas = new Atlas("data/spineboy-pma.atlas", &textureLoader);
|
|
SkeletonJson json(atlas);
|
|
SkeletonJson json(atlas);
|
|
- SkeletonData *skeletonData = json.readSkeletonDataFile("data/spineboy-pro.json");
|
|
|
|
|
|
+ SkeletonData *skeletonData = json.readSkeletonDataFile("data/spineboy-pro.skel");
|
|
|
|
|
|
// Create a skeleton from the data, set the skeleton's position to the bottom center of
|
|
// Create a skeleton from the data, set the skeleton's position to the bottom center of
|
|
// the screen and scale it to make it smaller.
|
|
// the screen and scale it to make it smaller.
|