Idle State Sprites #759
Replies: 1 comment
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022). @Override
public void setLocation(final Point2D position) {
if (position.equals(getLocation())) {
return;
}
super.setLocation(position);
} Thanks for bringing this to my attention - this has uncovered some deeper problems with how forces work. |
Beta Was this translation helpful? Give feedback.
-
This post has been migrated automatically from the old LITIENGINE forum (2018 - 2022).
Posted: 2022-11-11 18:39:36
User: Bernie [] (age: 98 days 🎓; posts: 8)
Hi,
I just found out that the idle state of the Sprites is somehow not working as expected (at least how I understood it). In the Demo Game https://litiengine.com/docs/tutorials/creating-a-platformer/ even when the Creature is not moving right or left it's still in the "walk" state and not the idle state, but the picture is there for the idle state. Is this a bug or am I using it wrong, is there a fix or workaround possible?
Thank you
Bernie
Beta Was this translation helpful? Give feedback.
All reactions