# ECSpanse - an Entity Component System framework for Elixir

**URL:** <https://forum.elixirforum.com/t/ecspanse-an-entity-component-system-framework-for-elixir/57650>\
**Category:** Announcing\
**Tags:** library, gamedev, ecs, entity-component-system, ecspanse\
**Created:** [August 14, 2023, 10:57pm UTC](https://forum.elixirforum.com/t/ecspanse-an-entity-component-system-framework-for-elixir/57650 "2023-08-14T22:57:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![iacobson](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/iacobson/32/2974_2.png) [@iacobson](https://forum.elixirforum.com/u/iacobson)\
**Post date:** [August 18, 2023, 6:38pm UTC](https://forum.elixirforum.com/t/ecspanse-an-entity-component-system-framework-for-elixir/57650/2 "2023-08-18T18:38:41Z")

</div>

New release [v0.2.0](https://github.com/iacobson/ecspanse/releases/tag/v0.2.0)

Introduces [Component and Event Templates](https://hexdocs.pm/ecspanse/Ecspanse.Template.Component.html) for simplifying the creation of related components and events.

Adds a new query [`Ecspanse.Query.fetch_tagged_component/2`](https://hexdocs.pm/ecspanse/Ecspanse.Query.html#fetch_tagged_component/2) that returns an entity’s component by a list of tags. Attention, it is the logic implementation duty to ensure that no more than one component is returned, or it will raise an error.

Introduces also some small breaking changes: the Timer Component and Event are now Templates.  
`use Ecspanse.Component.Timer` and `use Ecspanse.Event.Timer` should be replaced with `use Ecspanse.Template.Component.Timer` and `use Ecspanse.Template.Event.Timer`.

---

_[View the full topic](https://forum.elixirforum.com/t/ecspanse-an-entity-component-system-framework-for-elixir/57650)._
