{"id":28559162,"url":"https://github.com/aeonitis/gmink","last_synced_at":"2025-06-10T08:36:20.163Z","repository":{"id":296293446,"uuid":"992896709","full_name":"Aeonitis/GMInk","owner":"Aeonitis","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-29T22:40:29.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-29T23:21:29.555Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Aeonitis.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,"zenodo":null}},"created_at":"2025-05-29T22:12:09.000Z","updated_at":"2025-05-29T22:40:32.000Z","dependencies_parsed_at":"2025-05-29T23:32:04.428Z","dependency_job_id":null,"html_url":"https://github.com/Aeonitis/GMInk","commit_stats":null,"previous_names":["aeonitis/gmink"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aeonitis%2FGMInk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aeonitis%2FGMInk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aeonitis%2FGMInk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aeonitis%2FGMInk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aeonitis","download_url":"https://codeload.github.com/Aeonitis/GMInk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aeonitis%2FGMInk/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259039641,"owners_count":22796880,"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":[],"created_at":"2025-06-10T08:36:10.172Z","updated_at":"2025-06-10T08:36:20.137Z","avatar_url":"https://github.com/Aeonitis.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GMInk\n\nC# DLL bridge for using Inkle's INK narrative scripting language in GameMaker Studio.\n\n## Features\n\n- Story loading and continuation\n- Choice handling\n- Variable manipulation (get/set)\n- State save/load\n- Tag support (current, global, path-specific)\n- Variable observers\n- External function binding\n- Visit count tracking\n\n## Requirements\n\n- Windows (for building and usage)\n- .NET 8.0 SDK\n- GameMaker Studio (x86 or x64)\n\n## Building\n\n### Batch Script\n```bash\nbuild.bat\n```\n\n### PowerShell\n```powershell\n.\\build.ps1\n```\n\n### Manual\n```bash\ncd GMInk\ndotnet restore\ndotnet build -c Release -p:Platform=x86\ndotnet build -c Release -p:Platform=x64\n```\n\n## Output\n\n- `output/GMInk_x86.dll` - 32-bit GameMaker\n- `output/GMInk_x64.dll` - 64-bit GameMaker\n\n## Usage\n\nCopy the appropriate DLL to your GameMaker project and use the exported functions:\n\n### Core Functions\n- `Load(file)` - Load INK JSON file\n- `CanContinue()` - Check if story can continue\n- `Continue()` - Get next story content\n- `CurrentChoicesCount()` - Number of available choices\n- `CurrentChoice(index)` - Get choice text\n- `ChooseChoiceIndex(index)` - Select choice\n\n### State Management\n- `SaveState()` - Get JSON state\n- `LoadState(json)` - Load JSON state\n- `ChoosePathString(path)` - Jump to story path\n\n### Variables\n- `VariableGetReal(name)` - Get numeric variable\n- `VariableGetString(name)` - Get string variable\n- `VariableSetReal(name, value)` - Set numeric variable\n- `VariableSetString(name, value)` - Set string variable\n\n### Tags\n- `TagCount()` - Current tags count\n- `GetTag(index)` - Get current tag\n- `GlobalTagCount()` - Global tags count\n- `GlobalTag(index)` - Get global tag\n- `TagForContentAtPathCount(path)` - Path tags count\n- `TagForContentAtPath(path, index)` - Get path tag\n\n### Advanced\n- `ObserveVariable(name, script)` - Watch variable changes\n- `BindExternal(name, script)` - Bind external function\n- `VisitCountAtPathString(path)` - Get visit count\n- `RegisterCallbacks(...)` - Initialize GML callbacks\n\n## Dependencies\n\n- [Ink](https://www.nuget.org/packages/Ink/) - Official INK runtime\n- [DllExport](https://www.nuget.org/packages/DllExport/) - Native export support\n\n## License\n\nBased on original GMInk extension for GameMaker Studio.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeonitis%2Fgmink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faeonitis%2Fgmink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faeonitis%2Fgmink/lists"}