how do i make a top view game

all i really need to now is when i make the player move it will slide in the direction you make it go how do i fix that

There is already a discussion about this and it’s pretty recent:
http://forum.flowlab.io/discussion/5792/character-going-into-walls#latest

Grazer: "here’s an example of grid-based movement with collision detection, and the logic is super simple: http://flowlab.io/game/view/843549 "

Here’s another example, except it’s not grid-based: http://flowlab.io/game/play/2463