{"repo":"freakmangd/zentig_ecs","free":true,"listed":false,"github":"https://github.com/freakmangd/zentig_ecs","clone":"git clone https://github.com/freakmangd/zentig_ecs.git","description":"Zig ECS library","language":"Zig","stars":24,"topics":["ecs","game-development","gamedev","zig","zig-package"],"license":"MIT","category":"game-templates","readme_excerpt":"zentig ecs A Zig ECS library. Zentig is designed for scalability and ease of use, while staying out of your way. It's heavily inspired by everything that makes bevy ecs so great and Unity so approachable. WARNING: It is not recommended to use zentig for anything major in its current state. While it is functional and I use it frequently, it is far from battle tested. That being said, if you encounter any problems please feel free to open an issue! Installation Fetching for zig master: Fetching for a specific zig version (for example, 0.15.1): In both cases, place this in your build.zig : And import it in your project: Overview An entity is just a usize : A basic component: A basic system: Registering systems/components into a world: Calling systems is easily integratable into your game framework: Scalability The .include() function in WorldBuilder makes it easy to compartmentalize your game systems. As well as integrate third party libraries with only one extra line! main.zig : player.zig : my library/init.zig : Getting Started See this short tutorial on creating systems and components here Full Examples See full examples in the examples folder Framework Support zentig is framework agnostic, it doesn't include any drawing capabilities. For that you need something like Raylib, I've created a library that wraps common Raylib components and provides systems that act on those components here. That page provides installation instructions and usage examples.","default_branch":null,"files":null,"tree":[],"storefront":"/r/freakmangd","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/freakmangd/zentig_ecs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}