{"id":25558893,"url":"https://github.com/digitalillusion/remote_colonies","last_synced_at":"2025-04-12T03:40:30.765Z","repository":{"id":148582856,"uuid":"269679178","full_name":"digitalillusion/remote_colonies","owner":"digitalillusion","description":"RTS game written in Rust using Godot engine ","archived":false,"fork":false,"pushed_at":"2025-02-06T17:37:58.000Z","size":3851,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T23:13:03.351Z","etag":null,"topics":["godot-engine","rts-game"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/digitalillusion.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":"2020-06-05T15:12:08.000Z","updated_at":"2025-02-06T17:38:02.000Z","dependencies_parsed_at":"2024-02-02T15:30:33.700Z","dependency_job_id":"6ac19879-6687-45af-8ba3-ead7d6baf7cb","html_url":"https://github.com/digitalillusion/remote_colonies","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/digitalillusion%2Fremote_colonies","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalillusion%2Fremote_colonies/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalillusion%2Fremote_colonies/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitalillusion%2Fremote_colonies/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digitalillusion","download_url":"https://codeload.github.com/digitalillusion/remote_colonies/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248514242,"owners_count":21116899,"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":["godot-engine","rts-game"],"created_at":"2025-02-20T16:20:08.973Z","updated_at":"2025-04-12T03:40:30.743Z","avatar_url":"https://github.com/digitalillusion.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"Remote Colonies\n===============\n\nA 2D RTS game written in Rust using Godot engine.\n\nIn this simple and addictive planetary conquest game, you build fleets on your home colony planet and you extract resources to build more ships. The more ships orbiting around a planet, the more the extraction rate.\n\nHowever, sooner or later you’ll need to move your fleet and conquest other planets, in order to contrast the expansion of your adversaries.\n\nNever move all your ships from a planet, though, or you will be an easy prey for the attacking enemy fleets.\n\nOnce that a player has conquered all the planets in the area, the game is over.\n\n## Play \n\nYou can play the game online from https://deverse.xyz/project/remote-colonies\n\n![Gameplay](https://i.ibb.co/B2fDw58/remote-colonies.gif \"Gameplay\")\n\n\n### Instructions\n\nThe planets have a label indicating respectively the amount of resources available and the amount of resources extracted.\nEvery 10 resources extracted it's possible to build a new ship which will begin orbiting the planet by a left mouse button click on it.\n\nThe more ships orbiting a planet, the quicker resources get extracted. In order to move ships from a planet to another, left mouse button click on the departure planet and drag onto the destination planet.\nHalf of the ships available on the departure planet will be moved.\n\nIf there are ships belonging to several players on a planet, they will battle: there will be repeated fights and at each fight one ship will be killed. The probability to win a fight is proportional to the amount of ships of the same player remaining on the planet.\n\nThe game ends when ships of one player are the only remaining on the board, and he will be winner. In the case a player has no more ships remaining on the board, he is eliminated.\n\n## Build\n\nThe game requires [Godot engine 3.x](https://godotengine.org/download/3.x/) to run, in order to produce a binary and to build the HTML5 executable. \nIt uses [gdnative](https://docs.godotengine.org/it/stable/tutorials/scripting/gdnative/what_is_gdnative.html) to callback on the `gdnlib` dynamic library produced by the Rust build, according to the build target:\n\n### Debug bindings\n\n```shell\nmakers debug-godot\n```\n\nThis command will change the reference toward `remote_colonies_library_debug.gdnlib` inside the Godot project.\n\n### Release bindings\n\n```shell\nmakers release-godot\n```\n\nThis command will change the reference toward `remote_colonies_library.gdnlib` inside the Godot project.\n\n### WASM bindings\n\nAlternatively, it's possible to build an [HTML5 release](https://godot-rust.github.io/book/gdnative/export/html5.html).\n\n```shell\nmakers release-html5\n```\n\nThis command will build the WASM bindings; it *requires* Rust nightly-2023-01-27 and Emscripten 3.1.21 \n\nIn order succeed, *the godot template must be built first*, as described in the gdnative export documentation above.\n\nAfter generating the wasm file, it's possible to export the project as HTML5 using Godot engine.\n\n## References\n\n[mcts crate](https://docs.rs/mcts) was integrated in the project in order to build WASM target, which requires a single thread","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitalillusion%2Fremote_colonies","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigitalillusion%2Fremote_colonies","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitalillusion%2Fremote_colonies/lists"}