Skip to content

Add Examples and Guides #36

@pablomayobre

Description

@pablomayobre

Add examples on how to use the different parts of Concord. Some of these already exist in the README but could see some improvement with in depth explanations, for example, when to use them, or how they relate to other features.

Introduction

  • Getting Started (Rewrite from README)
  • Tips & Tricks (Utils, Assemblages, Method Chaining)
  • Making a game with Concord and LÖVE
  • Tooling? Once we have tooling

Basics

These following articles assume previously reading Getting Started
They go into the same topics but going a bit deeper into each topic and covering all the available methods. They would then link to more advanced topics when needed.

  • Components
    • Flag Components
    • Adding methods
    • Do's and Don't's
  • Entities
    • Give vs Ensure
    • Remove Components
    • Assemblages
    • Removing Entities (go into detail on safe ways to do it)
    • Entity's World
  • Systems
    • Filters (including negation)
    • Pools (how to create many)
    • Enable/Disable
    • Callbacks
    • Initializing
    • Storing data
    • System's World
  • Worlds
    • Events (basics)
  • Why ECS? Why Concord?

Intermediate

These articles are for more specific uses and functionality not used by many but useful for those that would like to benefit of the feature complete benefits of Concord.

  • Cloning a Component
  • Entity Keys and Resources
  • Serialization
  • Loading Namespaces
  • Sorting pools
  • Component:removed
  • onAdded/onRemoved
  • onEmit

Advanced

Finally these articles go into some of the internals and are tailored to advanced users or people writing libraries that go alongside Concord.

  • Tweens
  • UIs
  • Cloning an Entity
  • Reusing Entities (mark as empty, find and reuse them)
  • Before and After Events
  • Pool Flushing and Timing
  • Custom pools
  • Finding the Entity and World in populate functions

Metadata

Metadata

Assignees

Labels

devexThe feature request improves Developer ExperiencedocsIssues related to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions