Skip to content

Clearer Documentation and Working Example #33

@MorganeLeCaignec

Description

@MorganeLeCaignec

Hello! This is great, but I wanted to give some feedback on my initial impressions of this repo's documentation and how I think it could be improved.

The existing documentation is good, but could be a bit more consistent. Currently, the documentation shows snippets of code for specific elements but omits others, and the examples used in the documentation don't really connect.

For example, when I first downloaded this to try it, I started copying/modifying things from the docs as I read them, but things feel out of order. The first snippet shows a new Hero() and new health(10) which are not explained and never declared elsewhere in the docs.

Maybe the entities and components need to be explained first?

In each section where we declare components, entities and systems, it would be useful to show how they are added/removed from the engine (even if that has already been declared elsewhere), to avoid scrolling back to the engine section multiple times.

I think this also needs a full working example that showcases all (or most) of the library and that can quickly be copied and played with for a new user. As a new user, I wasn't sure at first how to setup everything together and how to make the game loop.

A working example would also provide a nice reference for the docs, a user would be able to follow the docs alongside the working example and be able to play with it directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions