Download

Managing Gametypes Best Practices Question

Greetings everyone,

I am throwing out a question for the experienced people in the industry as I want to make sure design moving forward is the best way to go. I have a game that will be switching between PvP, PvE and general Social modes depending on the map / area a person is occupying. Now AFAIK I can contain all of those attributes in a single game instance and only call upon the ones I need for that area, but is that the best way to go? For example Social will not be using any combat and will likely not need to call upon any of that data, but they may elect to join friends in PvE where obviously such attributes like player to player damage is disabled and AI becomes significantly more front and center. Thank you in advance for lending me your experience and input, I would rather avoid walking back project design parts where I can :).

You could use the Gamemode class for this.