Is it okay to run 10+ separate object timers at the same time?

Hello, I would like to ask a question about object timer.

I’m making a game about auto battling where my characters automatically perform an action repeatedly for example a guy with a gun will shoot every 3 seconds but the problem is there isn’t only that guy, there are 10+ object including enemies that shoot automatically every x seconds and reset.

I can’t use the same timer because there will be some items that reduce action cooldown so there will be different cooldown for each object.

I’m not sure whether is it fine to run many timers at once or I need other solutions

Now I haven’t notice any performance issue but I’m aware of it.

Hey @RedMuffin

10 timers is a relatively small number. This shouldn’t be a problem at all.

1 Like

Thanks for the answer. :smile:

1 Like