{"id":21685540,"url":"https://github.com/swordlordcodingcrew/pigsnkings","last_synced_at":"2025-04-12T08:00:32.065Z","repository":{"id":50602122,"uuid":"318295938","full_name":"swordlordcodingcrew/pigsnkings","owner":"swordlordcodingcrew","description":"A game for the 32blit handheld console","archived":false,"fork":false,"pushed_at":"2024-02-02T08:22:32.000Z","size":8562,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T03:11:18.228Z","etag":null,"topics":["32blit","jumpnrun"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swordlordcodingcrew.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}},"created_at":"2020-12-03T19:19:37.000Z","updated_at":"2022-11-08T16:12:58.000Z","dependencies_parsed_at":"2024-02-02T09:32:12.089Z","dependency_job_id":"7b06a6a0-dbbb-4a84-9f51-5a9313793525","html_url":"https://github.com/swordlordcodingcrew/pigsnkings","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swordlordcodingcrew%2Fpigsnkings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swordlordcodingcrew%2Fpigsnkings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swordlordcodingcrew%2Fpigsnkings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swordlordcodingcrew%2Fpigsnkings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swordlordcodingcrew","download_url":"https://codeload.github.com/swordlordcodingcrew/pigsnkings/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248537098,"owners_count":21120705,"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":["32blit","jumpnrun"],"created_at":"2024-11-25T16:21:08.444Z","updated_at":"2025-04-12T08:00:32.042Z","avatar_url":"https://github.com/swordlordcodingcrew.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pigs n Kings\n\n![Pigs n Kings](https://raw.githubusercontent.com/swordlordcodingcrew/pigsnkings/main/gfx/loader-splash.png)\n\n![Build Pigs n Kings for the 32blit](https://github.com/swordlordcodingcrew/pigsnkings/workflows/Build%20Pigs%20n%20Kings%20for%20the%2032blit/badge.svg)\n\n**Pigs n Kings** (c) 2020-22 by [SwordLord - the coding crew](https://www.swordlord.com/)\n\nA jump and run game for the 32blit handheld console. \n\nFight as the King against the evil Pigs and hunt them through your Castle. See our [Wiki](https://github.com/swordlordcodingcrew/pigsnkings/wiki/Story) for all the story about that.\n\nThis game is still work in progress. No finished game yet.\n\n\n## DANG!\nThe game uses the SwordLord [DANG!](https://github.com/swordlordcodingcrew/DANG/) (Dainty Animations 'N Gears) Game Framework for the [32blit](https://32blit.com/) handheld open game console.\n\nSee the DANG project website for more details.\n\n# Download / Builds\n\nThis project does auto compile a binary for the 32blit platform. See the [releases section](https://github.com/swordlordcodingcrew/pigsnkings/releases) for a recent build.\n\nPlease bear in mind that we still are in the development phase. The game is not ready for prime time yet.\n\n# Development Howto\n\nThis section contains all the relevant information to build the pigsnkings game yourself.\n\nThis game is making use of two other projects. The 32blit firmware / base and the DANG game framework. Both these projects are integrated as git submodules in the /lib folder to this repository. \n\n## How to set up\nInitial download of all source code: \n\n```\ngit clone https://github.com/swordlordcodingcrew/pigsnkings.git\ncd pigsnkings\ngit submodule update --init --recursive\n```\n\n## How to regularly update the repository\nUpdate the project after that (making sure, to update the submodules as well): \n\n```\ngit pull\ngit submodule foreach git pull origin master\n```\n\n## How to build the game\n### 32blit-hw\n```\nmkdir build.stm32\ncd build.stm32\ncmake .. -DCMAKE_TOOLCHAIN_FILE=../libs/32blit-sdk/32blit.toolchain\nmake\n```\n\nUpload the resulting pigsnkings.blit file to your 32blit.\n\nMake sure to clean the build.stm32 folder before making if you change the build toolchain.\n\n### Emscripten\nFirst git clone and prepare emsdk.\n(Further reading: [Emscripten docs](https://emscripten.org/docs/getting_started/downloads.html))\n```\ngit clone https://github.com/emscripten-core/emsdk.git\ncd emsdk\ngit pull\n./emsdk install latest\n./emsdk activate latest\nsource ./emsdk_env.sh\n```\nThen cd to pigsnkings and build as follows.\n(Further reading: [32blit readme](https://github.com/32blit/32blit-sdk/blob/master/docs/Emscripten.md))\n```\nmkdir build.em\ncd build.em\nemcmake cmake .. -D32BLIT_DIR=\"/absolute/path/to/32blit-sdk\"\nmake\npython3 -m http.server\n```\nConnect to the given address of the server and enjoy.\n\n## Licence\nSwordLord Pigs n Kings sources and tools are released under the AGPLv3 Licence.\n\nGraphics, Tracks and Sound Effects are copyrighted to their respective owners. SwordLord makes sure to get the respective licences from the owners for this, official version of the game. If you fork this game, make sure you either change these resources or get your own licence. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswordlordcodingcrew%2Fpigsnkings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswordlordcodingcrew%2Fpigsnkings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswordlordcodingcrew%2Fpigsnkings/lists"}