{"id":20384183,"url":"https://github.com/levelz-file/kotlin-bindings","last_synced_at":"2025-04-12T09:23:02.335Z","repository":{"id":235303081,"uuid":"790257940","full_name":"LevelZ-File/kotlin-bindings","owner":"LevelZ-File","description":"Kotlin Multiplatform Parser \u0026 API for LevelZ File Format ","archived":false,"fork":false,"pushed_at":"2025-03-20T19:19:53.000Z","size":1133,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T20:48:50.669Z","etag":null,"topics":["kotlin","kotlin-multiplatform","levelz"],"latest_commit_sha":null,"homepage":"https://levelz-file.github.io/kotlin-bindings/","language":"Kotlin","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/LevelZ-File.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},"funding":{"patreon":"gmitch215"}},"created_at":"2024-04-22T14:53:22.000Z","updated_at":"2025-03-20T19:19:55.000Z","dependencies_parsed_at":"2024-05-10T00:32:50.036Z","dependency_job_id":"14a429b7-9547-4cda-a135-0dc5768617a2","html_url":"https://github.com/LevelZ-File/kotlin-bindings","commit_stats":null,"previous_names":["levelz-file/kotlin-bindings"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LevelZ-File%2Fkotlin-bindings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LevelZ-File%2Fkotlin-bindings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LevelZ-File%2Fkotlin-bindings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LevelZ-File%2Fkotlin-bindings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LevelZ-File","download_url":"https://codeload.github.com/LevelZ-File/kotlin-bindings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248544387,"owners_count":21121943,"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":["kotlin","kotlin-multiplatform","levelz"],"created_at":"2024-11-15T02:26:23.837Z","updated_at":"2025-04-12T09:23:02.304Z","avatar_url":"https://github.com/LevelZ-File.png","language":"Kotlin","funding_links":["https://patreon.com/gmitch215"],"categories":[],"sub_categories":[],"readme":"# levelz-kt\n\n\u003e Alternative Kotlin Bindings designed for Kotlin Multiplatform\n\n[![JitPack](https://jitpack.io/v/LevelZ-File/kotlin-bindings.svg)](https://jitpack.io/#LevelZ-File/kotlin-bindings)\n![GitHub Release](https://img.shields.io/github/v/release/LevelZ-File/kotlin-bindings)\n\n## Why?\n\nThe official [java-bindings](https://github.com/LevelZ-File/java-bindings) are designed to be implemented on\nthe JVM. This project is designed to be implemented on Kotlin Multiplatform.\n\n**They are intended to be functionally the same, and to not be used together.**\n\n### Download\n\n```xml\n\u003c!-- Add Calculus Games Repository --\u003e\n\n\u003crepositories\u003e\n    \u003crepository\u003e\n        \u003cid\u003ecalculus-releases\u003c/id\u003e\n        \u003curl\u003ehttps://repo.calcugames.xyz/repository/maven-releases/\u003c/url\u003e\n    \u003c/repository\u003e\n    \u003crepository\u003e\n        \u003cid\u003ecalculus-snapshots\u003c/id\u003e\n        \u003curl\u003ehttps://repo.calcugames.xyz/repository/maven-snapshots/\u003c/url\u003e\n    \u003c/repository\u003e\n\u003c/repositories\u003e\n\n\u003cdependencies\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003exyz.calcugames\u003c/groupId\u003e\n        \u003cartifactId\u003elevelz-kt\u003c/artifactId\u003e\n        \u003cversion\u003e[VERSION]\u003c/version\u003e\n    \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n\nGradle (Groovy)\n```groovy\n// Add Calculus Games Repositories\nrepositories {\n    maven { url 'https://repo.calcugames.xyz/repository/maven-releases/' }\n    maven { url 'https://repo.calcugames.xyz/repository/maven-snapshots/' }\n}\n\ndependencies {\n    implementation 'xyz.calcugames:levelz-kt:[VERSION]'\n}\n```\n\nGradle (Kotlin DSL)\n```kts\n// Add Calculus Games Repository\nrepositories {\n    maven(\"https://repo.calcugames.xyz/repository/maven-releases/\")\n    maven(\"https://repo.calcugames.xyz/repository/maven-snapshots/\")\n}\n\ndependencies {\n    implementation(\"xyz.calcugames:levelz-kt:[VERSION]\")\n}\n```\n\n## Usage\n```kotlin\nval (x, y) = Coordinate2D(1, 2)\nval (x, y, z) = Coordinate3D(1, 2, 3)\n\nprintln(x) // 1\nprintln(y) // 2\n```\n\n```kotlin\nval levelString = \"\"\"\n    @type 2\\n\n    @spawn [0, 1]\\n\n    @scroll none\\n\n    ---\n    grass: [0, 0]*[0, 1]\n\"\"\"\n\nval level = parseLevel(levelString) as Level2D\n\nprintln(level.scroll) // Scroll.NONE\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevelz-file%2Fkotlin-bindings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flevelz-file%2Fkotlin-bindings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flevelz-file%2Fkotlin-bindings/lists"}