{"id":21025979,"url":"https://github.com/mminer/sharptile","last_synced_at":"2025-05-15T10:31:18.511Z","repository":{"id":141192448,"uuid":"132697196","full_name":"mminer/sharptile","owner":"mminer","description":"C# representation of the Tiled map editor's JSON format.","archived":false,"fork":false,"pushed_at":"2018-05-22T01:58:54.000Z","size":6,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T07:38:00.689Z","etag":null,"topics":["gamedev","tiled","tiled-map-editor","unity","unity3d"],"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/mminer.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":"2018-05-09T03:31:55.000Z","updated_at":"2024-02-28T13:34:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"771979a1-7b49-4270-9175-67d1f1b5d0e5","html_url":"https://github.com/mminer/sharptile","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/mminer%2Fsharptile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mminer%2Fsharptile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mminer%2Fsharptile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mminer%2Fsharptile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mminer","download_url":"https://codeload.github.com/mminer/sharptile/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254322823,"owners_count":22051673,"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":["gamedev","tiled","tiled-map-editor","unity","unity3d"],"created_at":"2024-11-19T11:41:00.201Z","updated_at":"2025-05-15T10:31:18.503Z","avatar_url":"https://github.com/mminer.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sharptile\n\nC# representation of the [Tiled](https://www.mapeditor.org) map editor's\n[JSON format](http://doc.mapeditor.org/en/stable/reference/json-map-format/).\nNothing more, nothing less. This is useful for importing an exported Tiled map\ninto a C#-based game engine like Unity.\n\nThere are multiple versions of Tiled's JSON map format. Currently Sharptile\ntargets version 1.2.\n\n\n## Current Limitations\n\n- Only supports maps with the *Tile Layer Format* property set to **CSV**\n- Only supports one JSON map format (currently v1.2)\n\n\n## Using in Unity\n\nWhile Sharptile is intentionally minimal and uses no Unity APIs, usage in Unity\nwas the reason for its creation. After adding the *.cs* files to your project,\nuse an editor script like the following to import a map.\n\n```csharp\nusing Sharptile;\nusing System.IO;\nusing UnityEditor;\nusing UnityEngine;\n\nclass TiledTest\n{\n    [MenuItem(\"Tiled/Import Map\")]\n    static void ImportTiledMap()\n    {\n        var path = Path.Combine(Application.dataPath, \"map.json\");\n        var json = File.ReadAllText(path);\n        var map = JsonUtility.FromJson\u003cMap\u003e(json);\n        // Do something with the map...\n    }\n}\n```\n\nCreating the necessary game objects and components to actually *show* the map is\nleft up to you. For more comprehensive Tiled support in Unity look no further\nthan [Tiled2Unity](http://www.seanba.com/Tiled2Unity).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmminer%2Fsharptile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmminer%2Fsharptile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmminer%2Fsharptile/lists"}