Dotity
Dotity is an ECS framework for managing game entities and logic, offering performance optimization and clear separation of concerns for scalable projects.
by Minh Mino
Price History +
Dotity is an open-source Entity Component System (ECS) framework inspired by Entitas, designed for learning and contribution. It provides a structured way to manage game entities and their associated data and logic. The framework separates concerns into Components (data), Entities (ID and list of components), Matchers and Groups (managing entities based on component sets), and Systems (logic execution).
The package offers two versions:
- Version 1: Components are reused, and entity changes trigger events for group updates. Systems operate in a defined order: InitializeSystem, ExecuteSystem, RenderSystem, and CleanUpSystem.
- Version 2: This version is more performant as it caches component references at the beginning of loops, reducing GetComponent calls, though it requires more manual management.
While the provided content doesn't specify a particular genre, the ECS architecture itself is highly customizable and suitable for a wide range of game genres. Its focus on data-driven design and clear separation of concerns makes it adaptable for complex simulations, strategy games, action games, or any project where efficient entity management and performance are crucial. The modular nature of components and systems allows developers to define custom data structures and behaviors tailored to their specific game mechanics.
https://github.com/lhminh120/Dotity