Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify game files structure #36

Open
guerro323 opened this issue Jul 13, 2021 · 0 comments
Open

Simplify game files structure #36

guerro323 opened this issue Jul 13, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@guerro323
Copy link
Collaborator

bit of a mess as of now, the best would be to make component and systems files in the same folder
image

Structure suggestions:

Mixed theme structure

Components and systems of the same theme are in the same folder.
When there is too many components, it should be put into a special folder

eg:

Game/
  - GamePlay/
    - Units/
      - Components/
        - UnitArchetype.cs
        - UnitCurrentKit.cs
        - ...
      -      

Component/System folder structure into a common theme

This is almost already the way it work, but the Components/ folder should be put inside Game/

eg:

Game/
  - Components/
    - GamePlay/
      - Units/
        - UnitArchetype.cs
        - UnitCurrentKit.cs
        - ...
  - Systems/
    - GamePlay/
      - Units/
        - UpdateUnitPlayStateSystem.cs
        - UpdateUnitStatusEffectSystem.cs
        - ...
      -
@guerro323 guerro323 added the enhancement New feature or request label Jul 13, 2021
@guerro323 guerro323 self-assigned this Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant