How to Do Speed Boosts?
quickclawapps
Member Posts: 9
Hi I'm creating an endless runner RPG, and theres a store in the main menu where the player can buy speed boosts. The player then goes to a pause menu while playing which is the inventory to use it. How can I program it so that when the player uses a speed boost item, the player's speed is doubled for 5 seconds? Please help soon
Comments
Rule: When Speed Boost Used
Change Attribute: Speed = Speed * 2
Timer: After 5 Seconds
Change Attribute: Speed = Speed / 2
Put the speed / 2 change attribute inside the timer block.