Hello! I am looking to make an acceleration script like inside Roly Boi Playground, for a Sonic fangame I am working on. I have been wanting to know how to make a good acceleration script for a while, preferably in 1 script, like in StarterPlayerScripts or StarterCharacterScripts.
Keep in mind that I am fairly new to coding.
I am not the best, if not, even good at scripting, and do not know how to use ray casting. I know how to modify scripts though, kind of.
I know how to make the player move faster the more they walk, it’s included in my game. I’m talking about slope acceleration, like going faster going down a slope, and going slower going up a slope.