Hi,
first of all I'd like to say thank you very much for the importer.
Up to now I've been using a single Player, but I've now switched to a PlayerTweener.
The PlayerTweener is instantiated like so:
_playerTweener = new PlayerTweener(data.getEntity("Robot")); _playerTweener.getFirstPlayer().setAnimation("Idle"); _playerTweener.getSecondPlayer().setAnimation("Walking"); _playerTweener.setWeight(0); _playerTweener.setScale(0.0045f); // I'm using Box2d, which uses meters as base units, so the animation has to be scaled down a lot.
The weight between the two animations is set based on the horizontal velocity.
Both animations play fine in simple player instances, but in the tweener some of the sprites of the "Idle" animation are not scaled, i.e. they appear absolutely huge.
As soon as the "Walking" animation gets full weight, there is no problem.
Any hints? Which further information should I provide?
Thanks in advance
Andreas