0 votes

Timers can be created with the Timer-Node or with the command "yield (gettree (). Createtimer (1)," timeout ")".

The question now is whether the timer node and the command consume the same amount of memory.

in Engine by (80 points)

1 Answer

+5 votes

Are you running out of memory? If so, compared to all the other things going on in your game, have you profiled and found that timers are taking up most of it?

This is a non-issue that you should not even be thinking about. Use the tools provided and make your game. Worry about performance if/when you actually have a performance problem. If you do, measure what is actually causing it.

by (21,712 points)

Thanks for the summary answer! :D

I think I was bored at the time XD.

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.