{"id":18882170,"url":"https://github.com/cub3d/unknown-1.0-cpp","last_synced_at":"2025-04-14T20:30:37.331Z","repository":{"id":30630902,"uuid":"34186381","full_name":"CUB3D/Unknown-1.0-CPP","owner":"CUB3D","description":"A 2D c++ game engine, using SDL2 and SDL2 image","archived":true,"fork":false,"pushed_at":"2020-06-08T23:19:21.000Z","size":49559,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-20T14:04:05.351Z","etag":null,"topics":["c-plus-plus","game-engine"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CUB3D.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":"2015-04-18T23:12:11.000Z","updated_at":"2024-07-11T00:28:59.000Z","dependencies_parsed_at":"2022-09-05T02:00:48.791Z","dependency_job_id":null,"html_url":"https://github.com/CUB3D/Unknown-1.0-CPP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CUB3D%2FUnknown-1.0-CPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CUB3D%2FUnknown-1.0-CPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CUB3D%2FUnknown-1.0-CPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CUB3D%2FUnknown-1.0-CPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CUB3D","download_url":"https://codeload.github.com/CUB3D/Unknown-1.0-CPP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248955292,"owners_count":21189037,"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":["c-plus-plus","game-engine"],"created_at":"2024-11-08T06:54:30.625Z","updated_at":"2025-04-14T20:30:36.978Z","avatar_url":"https://github.com/CUB3D.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unknown\nA 2D c++ game engine, built using SDL\n\n### Dependencies:\n* SDL2\n* SDL2_image\n* SDL2_TTF\n* RapidJSON\n\n### To use:\n* Clone the repo:\n```\ngit clone --recursive git@github.com:CUB3D/Unknown-1.0-CPP.git\n```\n### Linux setup\n* Install dependancies\n\nDebian/Ubuntu:\n```\nsudo apt install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libbox2d-dev rapidjson-dev cmake build-essential python\n```\n\nArch:\n```\nsudo pacman -S libsdl2 libsdl2-image libsdl2-mixer libsdl2-ttf libxbox2d rapidjson cmake g++ python\n```\n* Setup the project:\n```\ncd Unknown-1.0-CPP\nsource tools/env.sh\nsetup\n```\n* Build:\n```\nmake build\ncd build\ncmake ..\nmake -j 4\n```\n* Test:\n```\ntest\n```\nOptionally steps 3 \u0026 4 can be skipped if using clion\n\n### Windows setup\n* Download libs\nhttps://www.libsdl.org/release/SDL2-devel-2.0.8-VC.zip\nhttps://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-devel-2.0.14-VC.zip\nhttps://www.libsdl.org/projects/SDL_image/release/SDL2_image-devel-2.0.3-VC.zip\nhttps://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-devel-2.0.2-VC.zip\nand extract to Libs\n* Install Python3.X (Make sure to include debug libs)\nIf you already have python installed but without debug libs, uninstall and reinstall with debug libs\n* Make a directory for buildling\n* Open cmake-gui and select the cloned source as the source and the new build directory as the output\n* Press Configure (The first time this will fail)\n* Manually set the paths for SDL2, SDL2_IMAGE, SDL2_TTF, SDL2_MIXER, PYTHON and BOX2D as well as SDL2MAIN_LIBRARY\n* Press configure again\n* Press generate\n* Press Open Project\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcub3d%2Funknown-1.0-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcub3d%2Funknown-1.0-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcub3d%2Funknown-1.0-cpp/lists"}