These are the advanced mechanics for a smooth movement these are for up, down, left, and right if there are any requests, tell me in the comments below if you use this, please give me a shoutout, and don't forget to like a favourite for more
this is simple velocity programming it's quite easy to use just add it to your sprite