Lerpz, 2D platformer, always run modification?

Hey guys. I wanted to modify the 2D lerz platformer to make him always run. I want to turn it into a “speedrun” game where character always run and you just jump.

Any hints on where to start? I see something at Spawn() function but don’t know what to call there. I first need a vector so he runs towards the right place, witch should be to the right of screen. Then I need him to always start in running mode.

So, any ideas on where to start? Thanks

you could find the place in the code for lerpz that uses the “horizontal axis” and replace the InputGetAxisVertical with a 1 (or a variable you set up)

thanks, will look there and see what happens

ok, played around with the script and changed where I saw I could do something. What I have so far is that lerpz plays the run animation constantly. When pressing D (forward) he runs and when pressing A he still runs forward so almost done. I still lack Lerpz running on his own.

Any more hints on this? :slight_smile: