-
Notifications
You must be signed in to change notification settings - Fork 0
Spine Animations
Radomiej edited this page Aug 15, 2016
·
4 revisions
JGameObject arrowMan= scene.instantiateGameObject(new Vector2(50, 250));
arrowMan.addComponent(new SpineRenderer("resources/animations/skeleton.json#arrow"));public class SpineTestComponent extends DefaultComponent {
@Override
public void start() {
getGameObject().getComponent(SpineRenderer.class).setAnimation("run", true);
}
}