Thank you very much man!!!!!!
That helped me to make a step forward in the project :)
Develop games in your browser. Powerful, performant & highly capable.
*animation? The player is constantly doing the walking animation even if i'm not pressing anything.
There's the code, the player has the 8-direction behaviour but without the changing rotation thing.