{"repo":"skaarj1989/entt-meets-sol2","free":true,"listed":false,"github":"https://github.com/skaarj1989/entt-meets-sol2","clone":"git clone https://github.com/skaarj1989/entt-meets-sol2.git","description":"Use EnTT in Lua with Sol2","language":"C++","stars":63,"topics":["entt","ecs","sol2","lua","cpp17","scripting","gamedev"],"license":"CC0-1.0","category":"game-templates","readme_excerpt":"EnTT meets Sol2 Requirements - EnTT v.3.16.0 (latest) - sol2 v3.5.0 (latest) Building vcpkg quickstart https://github.com/microsoft/vcpkg#getting-started Add the following environment variables Install required dependencies Registry entt/wiki/registry Goal - Expose registry to Lua scripts: - Manage entity lifetime - Set components - Get component by reference - runtime view - Some of MonoBehaviour functionality c++ setup examples/registry Lua script Want something like MonoBehaviour in Unity? examples/system Lua script c++ setup Event dispatcher entt/wiki/dispatcher Goal - Either create new (inside script) or connect existing (native c++) dispatcher - Trigger/enqueue events from Lua side - Listen for events in Lua scripts - Support disconnection of listeners c++ setup examples/dispatcher Lua script Cooperative scheduler entt/wiki/cooperative-scheduler Goal - Define process class in Lua and attach it to scheduler either native c++ or dedicated to script - Allow process chaining c++ setup examples/scheduler Lua script License Code released under CC0 1.0 Universal","default_branch":null,"files":null,"tree":[],"storefront":"/r/skaarj1989","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/skaarj1989/entt-meets-sol2/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."}