Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Hey abdullah i  want to know that some times when i preview it starts to walk diagonally instead of walking straight what should i do?

I don't know how to fix it but i know why the problem occurs . It is because if your mouse is not lockedand the mouse is moved then the value of Mouse Pointer Lock Movement X and Y change without the mouse actually moving. If you click on the game straight away than it will be normal

(3 edits)

Hey first of all thanks you helped me a lot. I fixed the problem just by adding the condition if the pointer lock with the (change the angle of player) action :)

Nice, could you show me a screenshot of the events

(1 edit)
Here You can see the whole event sheet just add the ( Pointer Lock ) condition :