Edit of asset "Cantrip (C#)" Accepted
| Old/Current | New/Edit | |
|---|---|---|
| Title | Cantrip (C#) | |
| Description |
Write cards, statuses, relics, enemies, heroes and abilities as short .cantrip text files, and Cantrip works out how they interact: events, ordering, stacking, modifiers and targeting. Cards and turns are both optional. A party of heroes, a board of lanes and ranks, and real time with cooldowns in seconds are all the same engine. The addon gives you a node your game drives from GDScript or C#, an importer so .cantrip files reach exported builds, and an editor dock that writes content, lints it as you type, runs its tests and previews its card text. Writing content needs no C#. Needs Godot 4.6.x, .NET edition, and a C# solution in the project even if your game is all GDScript. Add the engine with: dotnet add package Cantrip.Core --version 1.0.0 Two complete games and their documentation are in the main repository: github.com/AGomnes/Cantrip |
Write the cards, statuses, relics, enemies and abilities of a turn-based card game as short .cantrip scripts instead of C# classes. Cantrip's rules engine works out how effects interact: events with before, instead and after phases, stacking statuses, layered modifiers, targeting rules, enemy intents and phases. Your game drives battles from GDScript or C#. The addon adds: - A CantripRuntime node that runs battles and reports events for your UI to animate - Player choices, including discover-style offers, answered by your UI - An importer so content ships in exported builds, with an export check - An editor dock with problems, the content's own tests, and card text with live numbers Requirements: the .NET edition of Godot 4.6 and a C# project, even if your game logic is GDScript. After installing, add the rules engine at the same version as the addon, from the folder with your .csproj: dotnet add package Cantrip.Core --version 0.1.0-preview.3 Then build, and enable Cantrip in Project Settings > Plugins. This is a preview: the API may change between versions. Quickstart, language reference and Godot guide: https://github.com/AGomnes/Cantrip |
| Category | Scripts | |
| License | MIT | |
| Repository Provider | GitHub | |
| Repository Url | https://github.com/AGomnes/cantrip-godot | |
| Issues Url | https://github.com/AGomnes/Cantrip/issues | |
| Godot version | Godot 4.6 | |
| Version String | 1.0.1 | 0.1.0-preview.3 |
| Download Commit | f956316dee49207929fff55c4c40f35815285af2 | 4dfb55826fc6836b58b60f1da204d299a33acacf |
| Download Url (Computed) | https://github.com/AGomnes/cantrip-godot/archive/f956316dee49207929fff55c4c40f35815285af2.zip | https://github.com/AGomnes/cantrip-godot/archive/4dfb55826fc6836b58b60f1da204d299a33acacf.zip |
| Icon Url |
https://raw.githubusercontent.com/AGomnes/Cantrip/main/docs/images/icon.png
|
|