Acceleration !.. and other stuff

Hi I'm currently learning rpg maker on my own but for the love of lord, I cannot figure this one out 🙁
I'm currently making my own race car game and I was wondering if it was possible to include an acceleration system.

I was thinking of a gauge ( which I'd add with a HUD) which allows the character to move faster with time and slower if they've been walking too fast.
Ive thought of hang variables to achieve this but I just couldn't figure out how to increase the character's speed!

A kind of successful implementation I tried to include was the use of obstacles, ( I simple put a bunch of static events). But I couldn't figure out if there's a better way to do this yet (-_-😉


I also thought brakes and smooth turning would be a nice mechanic, they don't have to be crazy super complex— but I'm pretty sure they require a plugin to achieve that effect. If anyone knows of any, please let me know 😀
But if it's possible for me to achieve them without a plugin, that would be even better!!
That's all I can think of at the top of my head! If anyone has some other suggestions, please let me know! ・ω・))
Thank you so much for reading!!
Acceleration you can probably handle by changing the move speed in small intervals every 30 - 60 frames or so via a parallel process that is activated on a button press. With script calls I heard you can set a fractional move speed but you'd have to look up the JS code for that as I don't know it sadly. So you could try to set it to 3.1 then 3.2 then 3.3 and so on up to the max over a period of time.
you'll have a better chance at this with a pixel movement system.
regular events would always try to stick to the grid.

basically the way to do it is to have the key press modify an offset value, while the system moves the object at [currentspeed - decay + offset]
assuming decay is 0 (orbital mechanics, no friction), for offset 0, you keep moving at whatever speed you've acquired.
for offset > 0 (accelerating) you speed up, and for offset < 0, you slow down.
have the "forward" key put offset above 0, and the "brake" key below 0.

for making it more complex, you run the process twice: current speed changes based on offset (accelerates/decelerates) and offset ALSO increases gradually.
so, you let go of the accelerator, and the engine revs down while still pushing at whatever rate it was at, at every increment.
same for brakes... the more you hold it, the faster it breaks.

Original thread: https://forums.rpgmakerweb.com/threads/acceleration-and-other-stuff.148924/