Hello. This is my first post. I watched many tutorials but never found this. Perhaps there is in some advanced complete video tutorials, but I'm still at beginning of my game.
So here is what I want to do. Please help me if possible, to at least give me an idea. ^^
When press SHIFT, object ACCELERATE till a MAXIMUM VELOCITY.
For example, if normal velocity is 50, I want that upon SHIFT pressed, velocity slowly increases until 100 and stops. And for all the time that SHIFT is pressed, there will be a STAMINA BAR decreasing. When STAMINA BAR is at 0, object will decelerate until reach his 50 velocity again.
SHIFT can be pressed at any time, even if STAMINA BAR is at middle.
Also, if possible, I wonder if its possible to add a animation triggered by that. Like a turbo/nitro animation.