Skip to content

The getting started example is wrong #37

@dennisliu1

Description

@dennisliu1

GECS Version

main

What happened?

In https://github.com/csprance/gecs/blob/main/addons/gecs/docs/GETTING_STARTED.md, the example code for e_player.gd tries to "Sync the entity's scene position to the Transform component".

However, since Entity extends Object, it doesn't have a global_position.
So the example code does not work.

Steps to Reproduce

n/a, an issue with the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentationgood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions