{"id":20671499,"url":"https://github.com/hopson97/spooky-boxes","last_synced_at":"2026-02-12T01:18:48.874Z","repository":{"id":260521102,"uuid":"699086250","full_name":"Hopson97/Spooky-Boxes","owner":"Hopson97","description":"Previously called \"Bullet Terrain\" - this spooky project was made to learn Bullet Physics","archived":false,"fork":false,"pushed_at":"2024-10-31T19:13:14.000Z","size":29571,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T16:49:43.948Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/Hopson97.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-01T21:44:23.000Z","updated_at":"2024-12-10T17:01:21.000Z","dependencies_parsed_at":"2024-10-31T20:27:55.193Z","dependency_job_id":null,"html_url":"https://github.com/Hopson97/Spooky-Boxes","commit_stats":null,"previous_names":["hopson97/spooky-boxes"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Hopson97/Spooky-Boxes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hopson97%2FSpooky-Boxes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hopson97%2FSpooky-Boxes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hopson97%2FSpooky-Boxes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hopson97%2FSpooky-Boxes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hopson97","download_url":"https://codeload.github.com/Hopson97/Spooky-Boxes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hopson97%2FSpooky-Boxes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270837583,"owners_count":24654391,"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","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-16T20:27:43.424Z","updated_at":"2026-02-12T01:18:43.844Z","avatar_url":"https://github.com/Hopson97.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spooky Boxes\r\n\r\nVery scary and spooky project to just learn a bit more about terrain rendering, and to learn how bullet physics works.\r\n\r\nSee below screenshots for building instructions.\r\n\r\nVideo: https://www.youtube.com/watch?v=AtAFFcDJgW4\r\n\r\n## Controls\r\n\r\n- WASD - Movement\r\n- Hold Left Control - Go faster\r\n- Space - Launch a spooky cube\r\n- B - Drop spooky cubes on the spooky shed\r\n- L - Toggle camera lock\r\n- F - Toggle flying\r\n- F1 - Toggle debug GUI\r\n\r\n## Screenshots\r\n\r\n![Screenshot 1](assets/screenshots/1.png)\r\n![Screenshot 2](assets/screenshots/2.png)\r\n![Screenshot 3](assets/screenshots/3.png)\r\n\r\n## Building and Running\r\n\r\n### Windows (Visual Studio)\r\n\r\nThe easiest way to build is to use [vcpkg](https://vcpkg.io/en/index.html) and install dependencies through this:\r\n\r\n```bash\r\nvcpkg install sfml\r\nvcpkg install imgui\r\nvcpkg install glm\r\nvcpkg integrate install\r\n```\r\n\r\nThen open the Visual Studio project file to build and run.\r\n\r\n### Linux\r\n\r\n#### Pre-requisites\r\n\r\nInstall Vcpkg and other required packages using your distribution's package manager:\r\n\r\n```sh\r\ngit clone https://github.com/microsoft/vcpkg.git\r\ncd vcpkg\r\n./bootstrap-vcpkg.sh\r\n\r\n# These are required to build some packages\r\nsudo apt install cmake make autoconf libtool pkg-config\r\n\r\n# The following are required for SFML\r\nsudo apt install libx11-dev xorg-dev freeglut3-dev libudev-dev\r\n```\r\n\r\nEnsure paths are set correctly:\r\n\r\n```sh\r\nexport VCPKG_ROOT=/path/to/vcpkg\r\nexport PATH=$VCPKG_ROOT:$PATH\r\n```\r\n\r\nRECOMMENDED: Add the above lines to your `.bashrc` or `.zshrc` file:\r\n\r\n```sh\r\necho 'export VCPKG_ROOT=/path/to/vcpkg' \u003e\u003e ~/.bashrc\r\necho 'export PATH=$VCPKG_ROOT:$PATH' \u003e\u003e ~/.bashrc\r\n```\r\n\r\n#### Build and Run\r\n\r\nTo build, at the root of the project:\r\n\r\n```sh\r\nvcpkg install # First time only\r\nsh scripts/build.sh\r\n```\r\n\r\nTo run, at the root of the project:\r\n\r\n```sh\r\nsh scripts/run.sh\r\n```\r\n\r\nTo build and run in release mode, simply add the `release` suffix:\r\n\r\n```sh\r\nsh scripts/build.sh release\r\nsh scripts/run.sh release\r\n```\r\n\r\n### Credits\r\n\r\n#### Models\r\n\r\nHouse model by Vinrax -\r\n\r\nhttps://opengameart.org/content/small-old-house\r\n\r\n#### Textures\r\n\r\nGrass textures by Cethiel\r\nhttps://opengameart.org/content/tileable-grass-textures-set-1\r\n\r\n---\r\n\r\nCrate texture from learnopengl.com\r\nhttps://learnopengl.com/Getting-started/Textures\r\n\r\n---\r\n\r\nMud/Cliff texture from ThinMatrix - unsure if he made it himself or not, but it's from his tutorial series\r\n\r\n[Dropbox](https://www.dropbox.com/sh/m8y3g1bh1l64hy8/AAAx9UhizogiLIRDNyWAZ72da?dl=0)\r\nhttps://www.youtube.com/user/ThinMatrix\r\n\r\n---\r\n\r\n\"\"\"Person\"\"\" texture by me\r\n\r\n---\r\n\r\nSkybox texture from ThinMatrix tutorial, also from here: https://opengameart.org/content/miramar-skybox\r\n\r\nhttps://www.dropbox.com/sh/phslacd8v9i17wb/AABui_-C-yhKvZ1H2wb3NykIa?dl=0\r\n\r\nhttps://www.youtube.com/watch?v=_Ix5oN8eC1E\r\n\r\n#### Sounds\r\n\r\nsfx_step_grass_l.ogg, sfx_step_grass_r.ogg\r\nhttps://opengameart.org/content/grass-foot-step-sounds-yo-frankie\r\n\r\n---\r\n\r\ncrickets.ogg\r\nhttps://opengameart.org/content/crickets-ambient-noise-loopable\r\n\r\n---\r\n\r\nAtmosphere_003(Loop).wav\r\nwww.blackleafstudios.net\r\ncontact@blackleafstudios.net\r\nhttps://opengameart.org/content/horror-atmosphere-lite\r\n\r\n---\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhopson97%2Fspooky-boxes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhopson97%2Fspooky-boxes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhopson97%2Fspooky-boxes/lists"}