I want to make non-dependent modules in my game thanks to signals. Is it optimized to call a signal every time a player moves, which is tied to the reaction in the world generation module, or is it better to just call a function?
I would hesitate to emit a signal for potentially every single processed frame as it involves signal emitting, signal processing and then potentially calling other resources at the place of the processing signal part. Even when the player moves, calling a method every processed frame is needs to be evaluated if it’s necessary, especially when it concerns other scenes and scripts.