Game Architectural Question
Now I am building a small multiplayer card game. During this, I found confusing about the system classes such as Gamemode, GameState, PlayerState and PlayerController. So what I am trying to do is to save a chessboard, store some in game player data, handle game logic and handle player input. I am wondering where to put these data and functions. Now I put the chessboard and game logic in GameState, player data in PlayerState. And user input functions are implemented in PlayerController. I found this architecture confusing and not performing. Where am I wrong?
asked May 27 '17 at 12:35 PM in C++ Programming
Here a Quick refference about the Classes your talking about. Im not sure what you mean by "not performing" though. Performance comes from your Code, UE4´s code runs pretty fast.
Where you store your Stuff is up to you in the end and you dont have to use UE4 Architecture in most cases but its benefitial todo so for especially Multiplayer Games. If you want to know more how the classes relate to multiplayer you can read that fantastic Compedium from eXi (PDF):
answered May 27 '17 at 04:21 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here