I’m new to Unreal Engine development, and I’m currently working on a simple chess game to teach myself the scripting side of the engine. But I’m currently stuck because I’m really not sure how my game’s code should be structured. So I have just a few simple questions for the more experienced developers here:
- Should the pieces be Actors themselves, or components of a ChessBoard actor? I want them to to have individual animations and stuff.
- If they should be Actors, should they be Pawns?
Where should the state of the board be stored? In a GameState object? If so, how should I reference the individual pieces?
How can I trigger events like setting a piece on a specific square of my ChessBoard object?