The whole requiring to stand still when to move was intended as each shot was to be made specifically in a row. I've left feedback on your Lua.Playground project. VERY impressive visuals and work put into it.
It's a design decision. The movement the player takes are tweens to new positions. I purposely made it so that the player and every entity in the game move in a grid while the combat and everything else is real-time (Megaman Battle Network is a solid example of what I am going for).