{"id":20064505,"url":"https://github.com/rxn7/fif","last_synced_at":"2025-10-19T18:26:26.746Z","repository":{"id":153009872,"uuid":"627701941","full_name":"rxn7/fif","owner":"rxn7","description":"Lightweight 2D Game Engine, with an editor, lua scripting and much, much more","archived":false,"fork":false,"pushed_at":"2024-06-24T09:00:39.000Z","size":16517,"stargazers_count":5,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-24T10:25:12.766Z","etag":null,"topics":["game-engine-2d","lua","opengl"],"latest_commit_sha":null,"homepage":"https://maciejniziolek.xyz/#/project/fif","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rxn7.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-14T02:40:36.000Z","updated_at":"2024-06-24T10:25:26.236Z","dependencies_parsed_at":null,"dependency_job_id":"a944385e-c3a4-4b29-bae2-73b2ba1a1d3c","html_url":"https://github.com/rxn7/fif","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxn7%2Ffif","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxn7%2Ffif/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxn7%2Ffif/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rxn7%2Ffif/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rxn7","download_url":"https://codeload.github.com/rxn7/fif/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224458626,"owners_count":17314692,"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":["game-engine-2d","lua","opengl"],"created_at":"2024-11-13T13:46:36.962Z","updated_at":"2025-10-19T18:26:26.641Z","avatar_url":"https://github.com/rxn7.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fif\n\u003cp align=center\u003e\n  \u003cimg src=\"docs/logo.png\" width=\"256\"\u003e\n\u003c/p\u003e\nFif is a 2D game engine with an editor (fifed).\n\u003cbr\u003e\n\u003cbr\u003e\n\u003ca href=\"https://trello.com/b/LZ8CY4sI/fif\"\u003eTrello board\u003c/a\u003e\n\n# Table of contents\n- [Features](#features)  \n- [Modules](#modules)  \n- [Building](#building)  \n- [Contributing](#contributing)  \n- [Dependencies](#dependencies)  \n\n# Features\n- Engine Editor (fifed)\n- ECS\n- Batched 2D renderer\n- Lua scripting\n- Scene System (changes made in play mode will not be saved, like in unity)\n- Resource Manager (UUID based)\n- Native (C++) scripting (not supported in the editor yet)\n\n## Components\n- TransformComponent\n- SpriteComponent\n- CircleComponent\n- QuadComponent\n- LabelComponent\n- LuaScriptComponent\n- NativeScriptComponent (not supported in the editor yet)\n\n# Modules\nFif is split into core module and other independent modules:\n- gfx\n- input\n- imgui\n- lua_scripting\n- native_scripting\n\n# Building\n- ```./scripts/configure.sh``` - configure the build targets (needs to be called first and after creating a new source file to update the globs)\n- ```./scripts/run-debug.sh``` - compile and run a debug build\n- ```./scripts/run-release.sh``` - compile and run  a release build\n- ```cmake --build build/debug``` - compile a debug build\n- ```cmake --build build/release``` - compile a release build\n\n# Contributing\nFif is open to contributions, make sure to format your code with clang-format before submitting a pull request though\n\n# Dependencies\nThe dependencies are used as submodules:  \n* If you already cloned the repo, run ```git submodule update --init --recursive```  \n* To clone the repo with submodules ```git clone https://github.com/rxn7/fif --recurse-submodules -j8```  \n\n## Libraries\n- [glm](https://github.com/g-truc/glm) ([MIT license](https://github.com/g-truc/glm/blob/master/copying.txt))   \n- [glfw](https://github.com/glfw/glfw) ([zlib license](https://github.com/glfw/glfw/blob/master/LICENSE.md))     \n- [glad](https://github.com/nitrix/glad/) ([UNLICENSE](https://github.com/nitrix/glad/blob/master/UNLICENSE))   \n- [ImGui](https://github.com/ocornut/imgui) ([MIT license](https://github.com/ocornut/imgui/blob/master/LICENSE.txt))   \n- [entt](https://github.com/skypjack/entt) ([MIT license](https://github.com/skypjack/entt/blob/master/LICENSE))    \n- [lua-cmake](https://github.com/lubgr/lua-cmake) ([MIT license](https://github.com/lubgr/lua-cmake/blob/master/LICENSE))    \n- [sol2](https://github.com/ThePhD/sol2) ([MIT license](https://github.com/ThePhD/sol2/blob/develop/LICENSE.txt))    \n- [stb_image](https://github.com/nothings/stb/blob/master/stb_image.h) ([Public Domain license](https://github.com/nothings/stb/blob/master/stb_image.h))\n- [tiny file dialogs](https://sourceforge.net/projects/tinyfiledialogs) ([zlib license](https://sourceforge.net/p/tinyfiledialogs/code/ci/master/tree/README.txt#l1))\n- [yaml-cpp](https://github.com/jbeder/yaml-cpp) ([MIT license](https://github.com/jbeder/yaml-cpp/blob/master/LICENSE))\n- [freetype](https://gitlab.freedesktop.org/freetype/freetype) ([FreeType Project LICENSE](https://gitlab.freedesktop.org/freetype/freetype/-/blob/master/docs/FTL.TXT))\n\n## Fonts\n- [Cozette](https://github.com/slavfox/Cozette) ([MIT lIcense](https://github.com/slavfox/Cozette/blob/main/LICENSE))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frxn7%2Ffif","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frxn7%2Ffif","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frxn7%2Ffif/lists"}