{"id":17310334,"url":"https://github.com/paked/basin","last_synced_at":"2025-03-27T00:25:26.500Z","repository":{"id":83560510,"uuid":"130327331","full_name":"paked/basin","owner":"paked","description":"a basic game framework + failed game prototype. pretty poor cpp coding style.","archived":false,"fork":false,"pushed_at":"2018-06-15T10:51:22.000Z","size":5790,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T06:13:21.167Z","etag":null,"topics":["cpp","game","sdl2"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paked.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":"2018-04-20T07:40:09.000Z","updated_at":"2018-06-15T10:51:24.000Z","dependencies_parsed_at":"2023-07-02T23:30:39.887Z","dependency_job_id":null,"html_url":"https://github.com/paked/basin","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/paked%2Fbasin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paked%2Fbasin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paked%2Fbasin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paked%2Fbasin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paked","download_url":"https://codeload.github.com/paked/basin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245757400,"owners_count":20667345,"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":["cpp","game","sdl2"],"created_at":"2024-10-15T12:36:31.544Z","updated_at":"2025-03-27T00:25:26.475Z","avatar_url":"https://github.com/paked.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Basin\n\ngame related base code as well as an example game\n\n## Build Instructions\n\n### Emscripten (web)\n\n1. Install Emscripten somewhere (follow an online guide for that)\n2. Run `source ./emsdk_env.sh`\n3. Return to project dir, `mkdir build \u0026\u0026 cd build`\n4. `emcmake cmake ..`\n5. `make`\n6. Start a HTTP server with your favourite web server util (eg `python3 -m http.server`)\n7. Open up `localhost:XXXX/game.html` in your browser. Replace XXXX with whatever your port is.\n\n### Linux\n\n1. Install SDL2, SDL_image, and SDL_ttf packages from your package manager\n2. In this directory `mkdir build \u0026\u0026 cd build`\n3. `cmake ..`\n4. `make`\n5. `./game`\n\n### Windows\n\n1. Download SDL2 the runtime devel \"VC\" files for SDL2, SDL_image, and SDL_ttf\n2. Place the extracted folders in a common directory (I'm currently using C:\\dev).\n3. Open command prompt\n4. Go to the source directory, create a new folder which you want to build out of.\n5. Type `..\\build.bat`. This will create a new visual studio 2017 project which you can open and continue as normal. If you are using different versions of SDL to me, OR have a different directory where you put the runtime files you will need to edit the paths in `build.bat`\n6. Copy relevant library files into `pwd` for when you run the executable\n\n### OSX\n\nUnknown. Should work fine, may need to make adjustments to the Cmakelists file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaked%2Fbasin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaked%2Fbasin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaked%2Fbasin/lists"}