How do I process functions at regular intervals rather than every frame?
I know I could use a timer, but is there any other or better way, or is that actually the best way to handle it? Is there any way for instance to tell a particular enemy to process their movement every fourth frame? And are there any downsides to this that I may not know to anticipate aside from reduced responsiveness?
Thanks!