-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Thanks for the recent changes, it's nice to see someone taking a look! Perhaps I can get your opinions on some thoughts.
I'm thinking of splitting the repo up into separate packages; it would help enforce decoupling of the logic between different core parts of the game to promote reusability in other projects. e.g. in https://github.com/ElliotB256/ECSCombat_Spawning I've added behaviours for spawning ships through a 'Spawn' entity, which can be coupled with modifiers and refits to swap out components on the ships (so, eg you can create an entity to spawn a number of fighters and swap their small weapons hookpoints for lasers, for instance). It's used in this prototype:
https://elliotb256.itch.io/command-deck
Personally I'm not sure what the best way to handle this in unity is. For now I've set it up using git submodules, so each module is pulled in as a separate sub repo to the main project Assets folder. It could probably also be done using UPM (probably the more technically 'correct' way in unity ecosystem?), but I've had bad experiences with UPM in the past. Very open to suggestions.