{"id":16110227,"url":"https://github.com/florianvazelle/engine","last_synced_at":"2025-07-03T19:06:28.010Z","repository":{"id":53171437,"uuid":"339763378","full_name":"florianvazelle/engine","owner":"florianvazelle","description":"A small data-driven game engine","archived":false,"fork":false,"pushed_at":"2021-07-14T22:33:05.000Z","size":1192,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T05:32:53.701Z","etag":null,"topics":["ecs","game-engine","rtti","simd","thread-pool"],"latest_commit_sha":null,"homepage":"https://florianvazelle.github.io/engine","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/florianvazelle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-17T15:14:03.000Z","updated_at":"2021-11-07T17:10:55.000Z","dependencies_parsed_at":"2022-09-14T09:41:14.427Z","dependency_job_id":null,"html_url":"https://github.com/florianvazelle/engine","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"florianvazelle/cpp-template","purl":"pkg:github/florianvazelle/engine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianvazelle%2Fengine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianvazelle%2Fengine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianvazelle%2Fengine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianvazelle%2Fengine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/florianvazelle","download_url":"https://codeload.github.com/florianvazelle/engine/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianvazelle%2Fengine/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263385529,"owners_count":23458736,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ecs","game-engine","rtti","simd","thread-pool"],"created_at":"2024-10-09T19:36:29.091Z","updated_at":"2025-07-03T19:06:27.970Z","avatar_url":"https://github.com/florianvazelle.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# engine ![build](https://img.shields.io/github/workflow/status/florianvazelle/engine/build/main?label=Windows%20%7C%C2%A0Linux\u0026logo=github)\n\nIt's a work in progress small game engine, usable like a C++ library.\n\n## Features\n\n- No allocation during game loop ([Object pooling](https://en.wikipedia.org/wiki/Object_pool_pattern))\n- Custom [run-time type identification](https://en.wikipedia.org/wiki/Run-time_type_information)\n- Data-driven oriented design with [Entity, Component and System](https://en.wikipedia.org/wiki/Entity_component_system)\n- Multithreading system with [Thread Pool](https://en.wikipedia.org/wiki/Thread_pool)\n- Basic [SIMD](https://fr.wikipedia.org/wiki/Single_instruction_multiple_data) operations\n- Event System\n\n### RTTI\n\n- Compile-time hashing (with [`constexpr`](https://en.cppreference.com/w/cpp/language/constexpr) and [CRC32](https://stackoverflow.com/questions/10953958/can-crc32-be-used-as-a-hash-function#10962213))\n- Disabling default C++ RTTI (with `-fno-rtti` flags)\n\n### ECS\n\n- Entity type is just an alias of `uint32_t`\n- Using of [Factory Design](https://www.tutorialspoint.com/design_pattern/factory_pattern.htm) to allocate Component in Pools\n- We can `GetEntitiesWithTags` to retrieve entities with certain components\n\n## Building\n\n### Build and run the standalone target\n\nUse the following command to build and run the executable target.\n\n```bash\ncmake -Bbuild\ncmake --build build\n./build/bin/pong\n```\n\n### Build single include\n\n```\npython .\\scripts\\amalgamate.py -c .\\scripts\\config.json -s .\n```\n\n## Dependencies\n\n- C++17 compiler :\n  - Visual Studio 2016\n  - GCC 7+ or Clang 8+\n- [Git](https://git-scm.com/) for cmake automatic dependencies\n- [CMake](https://cmake.org/) for build system creation (\u003e= 3.12)\n- [Doxygen](https://doxygen.org/) for generate documentation (\u003e= 1.8, optional)\n\n## References\n\n- [Pool and Arena](https://thinkingeek.com/2017/11/19/simple-memory-pool/)\n- [ECS Tutorial](https://austinmorlan.com/posts/entity_component_system/)\n- SIMD Matrix [Multiplication](https://blog.qiqitori.com/2018/05/matrix-multiplication-using-simd-instructions/), [Inverse](https://lxjk.github.io/2017/09/03/Fast-4x4-Matrix-Inverse-with-SSE-SIMD-Explained.html)\n- [Fixed-Step Game Loop](https://gafferongames.com/post/fix_your_timestep/)\n- [Event and Delegate](https://tongtunggiang.com/2017/cpp-event-delegate/)\n- [Double-check locking](https://en.wikipedia.org/wiki/Double-checked_locking)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorianvazelle%2Fengine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflorianvazelle%2Fengine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorianvazelle%2Fengine/lists"}