Sprint Effect/ Button Question
Sup guys! I was curious on how you could create a sprint effect for an app game. Basically, i would like to temporarily increase my characters running speed for like 6 seconds by holding down a button, then having the game slow him down from his normal speed for 3 seconds before going back to his normal pace. I would also like to make it where I cant hit sprint again for another 10 seconds after that.
I hope you guys know what Im asking and thank you for the replies ![]()
Comments
Make an attribute boolean called sprint and while the button is down, turn sprint to true. Then, make a rule to check if sprint is true. If so, just increase the speed with a timer of 6 seconds.
Something like that
I'm not sure if you want the 10 second delay to start when you start sprinting or when you release/stop sprinting, so you might have to adjust this.
Thanks for the reply! Not quite sure what im doing wrong here. Maybe you could dumb it down a little bit for me more? Lol steps or a screenshot would probably make it easier for me.
thanks
I'm guessing you were replying to @alexconsinc. Did the attached demo work for you?
@tatiang lol yeah I was. Im about to check out the demo right now, ill reply after i check it out
@tatiang Thanks for taking the time to make that demo, I am unsure however I can apply this to my game for example,
1) The two display texts before the Change attribute rule; I'm guessing those aren't required because I already have a character made right?
2) I pretty much just copy exactly what is shown onto my main actor and he will sprint?
3) How can i send you a file like the one you sent me of what I have, so you can maybe catch the problem?