Closed yuripourre closed 7 years ago
After load a character, I call:
player.setPosition(x,y);
But the character is rendered at (0,0) and the position only changes after some draw calls (is possible to see the character then it is teleported to the right position).
Am I missing something?
P.S.: The position takes less than a second to update.
Yout have to call setPosition before player.update
Thank you very much, it worked.
After load a character, I call:
But the character is rendered at (0,0) and the position only changes after some draw calls (is possible to see the character then it is teleported to the right position).
Am I missing something?
P.S.: The position takes less than a second to update.