This is an basic smooth movement engine with wall detecting. You may wonder, that when you are hitting walls, then you are like "sticking" a bit on them, this isn't a bug, its a FEATURE, which i added, because i didn't like the "bouncing", when you touch walls.
This engine is free-to-use for EVERYBOY, you DONThave to give credit, just don't claim the script as yours.