{"id":26539781,"url":"https://github.com/ggross98/godot-cardpileframework","last_synced_at":"2025-03-22T00:18:57.820Z","repository":{"id":282504215,"uuid":"948808071","full_name":"Ggross98/Godot-CardPileFramework","owner":"Ggross98","description":"A card game framework for Godot with C#","archived":false,"fork":false,"pushed_at":"2025-03-17T01:46:16.000Z","size":34,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T02:41:48.563Z","etag":null,"topics":["card-game","csharp","game","gamedev","godot","godot-engine","plugin"],"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/Ggross98.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":"2025-03-15T02:16:08.000Z","updated_at":"2025-03-17T01:46:19.000Z","dependencies_parsed_at":"2025-03-17T02:41:51.698Z","dependency_job_id":null,"html_url":"https://github.com/Ggross98/Godot-CardPileFramework","commit_stats":null,"previous_names":["ggross98/godot-cardpileui","ggross98/godot-cardpileframework"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ggross98%2FGodot-CardPileFramework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ggross98%2FGodot-CardPileFramework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ggross98%2FGodot-CardPileFramework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ggross98%2FGodot-CardPileFramework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ggross98","download_url":"https://codeload.github.com/Ggross98/Godot-CardPileFramework/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244885863,"owners_count":20526321,"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":["card-game","csharp","game","gamedev","godot","godot-engine","plugin"],"created_at":"2025-03-22T00:18:56.271Z","updated_at":"2025-03-22T00:18:57.810Z","avatar_url":"https://github.com/Ggross98.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Godot Card Pile Framework\nA card game framework for Godot with C#.  \nDeveloped and tested on Godot 4.4 with .Net 8.0.  \n## Overview\nThere are several card-game framework/plugins available for Godot developers. However, similar work for developers who prefer to use C# is still in urgent need. Inspired by [simple-card-pile-ui](https://github.com/insideout-andrew/simple-card-pile-ui) and [card-framework](https://github.com/chun92/card-framework), this repository provides a lightweight framework using C#. You can use this framework to build a typical card-game (e.g., TCG and deck-building games) in few minutes.   \n\nThe main features are:  \n* **Create and control card-objects**. Create card objects as Control nodes, customize its view and properties.\n* **Manage card piles**. A simple manager for typical card-game with hand cards, draw and discard piles.\n* **Save and load**. Save/load card and deck data in .json format.\n* **UI animations**. Highly customizable animations and signal system for drag, drop, draw, use and discard cards.\n\n## Table of Contents\n- [Installation](#Installation)\n- [Classes](#Classes)\n- [Example](#Example)\n- [Credits](#Credits)\n## Installation\n* Download the project, and open it with Godot editor.\n* Or copy the `CardPileFramework/addons/card_pile_framework` folder and paste in your project.\n* Enter `using Ggross.CardPileFramework` in start of your .cs script file.\n## Classes\nThe currently available classes of the framework are listed below.\n| Type | Class Name | Description |\n|--|--|--|\n| Manager | SimpleCardPileManager | Manager for a typical card system with hand cards, draw and discard piles. |\n| Data | CardData | Base class of card data. Extends from `Resource` |\n| UI Object | Card | Base class of card UI objects. |\n| UI Object | CardDropzone | Base class for area which handles card drop events. |\n| Utility | MathUtils | A utility class for mathematical calculations. |\n| Utility | JsonUtils | A utility class for saving and loading .json files. |\n## Example\nTo better show how the framework works, a demo of turn-based card-battle game is available.  \n![](images/card_battle.png)  \n## Credits\n* Thanks a lot to [simple-card-pile-ui](https://github.com/insideout-andrew/simple-card-pile-ui) and [card-framework](https://github.com/chun92/card-framework). In addition to the conceptual inspiration, a part of scripts are converted from their GDScript codes.\n* Graphical assets are from [Kenney](https://www.kenney.nl/assets/platformer-characters), [Cazwolf](https://cazwolf.itch.io/pixel-fantasy-cards), and [Cainos](https://cainos.itch.io/pixel-art-icon-pack-rpg).\n* License: [MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fggross98%2Fgodot-cardpileframework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fggross98%2Fgodot-cardpileframework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fggross98%2Fgodot-cardpileframework/lists"}