Student post

Weekly Article 1

This is the first weekly article I'm making

Apr 10, 2026 Togore #game-development
Back to /students/togore-dreemurr/

I’ve learned how to create smooth 2d player movement, although the diagonal movement isn’t even at the moment. I’m looking to move the project to phase.js, but currently it is vanilla js.

function moveX(spd) {
  player.style.left = parseInt(player.style.left) + spd + "px";
}
function moveY(spd) {
  player.style.top = parseInt(player.style.top) + spd + "px";
}