So I’ve been wondering, is it in any means a smart idea to send a notification to the server that a bullet has been spawned? It seems rather wasteful and terribly optimized in every way as a new bullet can be spawned rather fast. (GOLANG AND GODOT but this is theoretical so shouldn’t matter)
Also to add to this is handling everything in MatchLoop a smart decision? Are there any alternatives like using Goroutines or something to optimize this? I am currently not doing many calculations server-side but just thinking about checking each player’s movement, their bullets and checking for a collision on their bullets, checking and updating each AI and stuff like that makes me kinda scared how slow is that gonna get. Any ideas on this? Maybe passing the broadcaster to different threads so they can emit in their own pacing?
If anyone knows the fundamentals and the behind scenes of how it works, I’d love to know so I can better understand this.