@Neurological wrote:
Starting to have some doubts and troubles after the discovery of GameServices. I'll try to explain my setup, I have 3 major classes that are used by everything in the game basicly, FileSystem, CVarSystem and CommandSystem, before putting them into the services I had them as static classes. I didn't like for some reason that htey were static and accessible like that fro meverywhere even if they come in handy in that form, but some problem with services arised as FileSystem for example need CVarSystem in some parts, so it would be a spam of GetService calls here and there.
I don't have any of the services running in a Update loop, if I need that I just make a member variable but then it defeat the purpose of having a quick access to it.
So I'm a bit unsure if I should keep this way of doing things with services or go back to statics or maybe there is a better ordered way.
I have my main Game classs already a singleton so in theory could put the stuff there and access from the instance but I'm not sure.
Any suggestion? Thanks.
Posts: 3
Participants: 3