From 0e17a170b6756a675abac99c04099622f30c5768 Mon Sep 17 00:00:00 2001 From: AKnopf Date: Thu, 20 Jun 2013 19:09:04 +0200 Subject: [PATCH] Update Example: Positioning of Skeleton Its better to set X and Y of the skeleton then setting X and Y of the root bone. --- spine-xna/example/src/ExampleGame.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spine-xna/example/src/ExampleGame.cs b/spine-xna/example/src/ExampleGame.cs index 0115f1ce3..2c1132adf 100644 --- a/spine-xna/example/src/ExampleGame.cs +++ b/spine-xna/example/src/ExampleGame.cs @@ -78,8 +78,8 @@ namespace Spine { state.AddAnimation("jump", false); state.AddAnimation("walk", true); - skeleton.RootBone.X = 320; - skeleton.RootBone.Y = 440; + skeleton.X = 320; + skeleton.Y = 440; skeleton.UpdateWorldTransform(); }