{"id":23036711,"url":"https://github.com/visualgmq/treasurelooter","last_synced_at":"2025-08-14T17:32:20.735Z","repository":{"id":260247654,"uuid":"856982680","full_name":"VisualGMQ/TreasureLooter","owner":"VisualGMQ","description":"A game made in C++17 \u0026 SDL2","archived":false,"fork":false,"pushed_at":"2024-12-15T13:45:41.000Z","size":1627,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-15T14:27:20.185Z","etag":null,"topics":["cpp17","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VisualGMQ.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":"2024-09-13T15:20:30.000Z","updated_at":"2024-12-15T13:45:44.000Z","dependencies_parsed_at":"2024-12-06T10:35:35.323Z","dependency_job_id":null,"html_url":"https://github.com/VisualGMQ/TreasureLooter","commit_stats":null,"previous_names":["visualgmq/treasurelooter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VisualGMQ%2FTreasureLooter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VisualGMQ%2FTreasureLooter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VisualGMQ%2FTreasureLooter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VisualGMQ%2FTreasureLooter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VisualGMQ","download_url":"https://codeload.github.com/VisualGMQ/TreasureLooter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229849808,"owners_count":18133896,"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":["cpp17","game","sdl2"],"created_at":"2024-12-15T17:22:40.397Z","updated_at":"2025-08-14T17:32:20.716Z","avatar_url":"https://github.com/VisualGMQ.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TreasureLooter\n[![Build](https://github.com/VisualGMQ/TreasureLooter/actions/workflows/build.yaml/badge.svg?branch=main)](https://github.com/VisualGMQ/TreasureLooter/actions/workflows/build.yaml)\n\n每周日下午四点B站直播开发，关注[单身剑法传人](https://space.bilibili.com/256768793?spm_id_from=333.1007.0.0)谢谢喵\n\n# Introduce\n\nTreasureLooter is a 2D game made in SDL3\n\n## How To Build\n\n### Build For PC\n\n```bash\ncd game\ncmake --preset=default\ncmake --build cmake-build\n```\n\n### Build For Android\n\nFirst we must build `schema_parser` under PC and run `run_schema_parser` target:\n\n```bash\ncmake -S game/ -B cmake-build\ncmake --build cmake-build --target run_schema_parser\n```\n\nIt will generate `game/schema_generate`.\n\nThen copy `game` folder to `android/app/jni`.\n\nCopy `game/assets` folder to `android/app/src/main/assets`.\n\n```bash\ncp -r game android/app/jni\ncp -r game/assets android/app/src/main/assets/\n```\n\nThen use `gradle` to build (or use AndroidStudio)\n\n```bash\ncd android\ngradlew build\n```\n\n## How To Run\n\nRun `TreasureLooter[.exe]` under `game` directory.\n\nOr you can install:\n\n```bash\ncmake --build .\\cmake-build\\ --target install --config Release\n```\n\nIt will install game to `install` dir. Than you can open `install/TreasureLooter[.exe]` to play.\n\nAlso can get a package:\n\n```bash\ncmake --build .\\cmake-build\\ --target package --config Release\n```\n\nIt will generate `cmake-build/TreasureLooter-\u003cversion\u003e-\u003cplatform\u003e.zip` for you.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisualgmq%2Ftreasurelooter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvisualgmq%2Ftreasurelooter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvisualgmq%2Ftreasurelooter/lists"}