0 votes

I want to make a powerup which you pick up and changes the speed of the player but couldn't figure out how to make it so it only lasts for like 30 seconds.

Godot version 3.3.2
in Engine by (56 points)

1 Answer

0 votes

There is a timer node you could use to count, the OS object has a a couple of different timestamp functions that are helpfull, or you could count the process delta.

by (1,001 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.