{"id":16186985,"url":"https://github.com/robloach/raylib-umka","last_synced_at":"2025-04-07T18:55:46.417Z","repository":{"id":66036490,"uuid":"547740836","full_name":"RobLoach/raylib-umka","owner":"RobLoach","description":"Umka language bindings for raylib.","archived":false,"fork":false,"pushed_at":"2023-03-18T19:41:46.000Z","size":3323,"stargazers_count":6,"open_issues_count":13,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-30T18:02:06.453Z","etag":null,"topics":["raylib","umka"],"latest_commit_sha":null,"homepage":"https://robloach.github.io/raylib-umka/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RobLoach.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":"2022-10-08T07:43:35.000Z","updated_at":"2024-07-06T18:23:29.000Z","dependencies_parsed_at":"2024-10-10T07:20:00.910Z","dependency_job_id":"d21605d4-6b62-490a-adff-b898293c6020","html_url":"https://github.com/RobLoach/raylib-umka","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobLoach%2Fraylib-umka","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobLoach%2Fraylib-umka/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobLoach%2Fraylib-umka/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobLoach%2Fraylib-umka/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobLoach","download_url":"https://codeload.github.com/RobLoach/raylib-umka/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247713305,"owners_count":20983683,"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":["raylib","umka"],"created_at":"2024-10-10T07:19:58.756Z","updated_at":"2025-04-07T18:55:46.396Z","avatar_url":"https://github.com/RobLoach.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![raylib-umka Logo](examples/textures/resources/raylib_logo.png)](https://robloach.github.io/raylib-umka/)\n\n# raylib-umka\n\n[Umka](https://github.com/vtereshkov/umka-lang) scripting language bindings for [raylib](https://github.com/raysan5/raylib), a simple and easy-to-use library to enjoy videogames programming.\n\n\u003e [Go to Playground](https://robloach.github.io/raylib-umka/)\n\n## Example\n\n``` umka\nimport \"raylib\"\n\nfn main() {\n    screenWidth := 800\n    screenHeight := 450\n\n    raylib.InitWindow(screenWidth, screenHeight, \"Hello World!\")\n\n    raylib.SetTargetFPS(60)\n\n    for !raylib.WindowShouldClose() {\n\n        raylib.BeginDrawing()\n\n        raylib.ClearBackground(raylib.RAYWHITE)\n\n        raylib.DrawText(\"Congrats! You created your first raylib-umka window!\", 150, 200, 20, raylib.LIGHTGRAY)\n\n        raylib.EndDrawing()\n    }\n    raylib.CloseWindow()\n}\n```\n\n``` bash\nraylib-umka core_basic_window.um\n```\n\n[![Screenshot of core_basic_window.um](examples/core/core_basic_window.png)](examples/core/core_basic_window.um)\n\n## Features\n\n- [x] raylib\n- [x] raymath\n- [ ] raygui\n- [ ] reasings\n- [x] rlgl\n\n## Development\n\nSome information about how to compile the Umka bindings.\n\n### API\n\nTo integrate the raylib Umka module into your own Umka instance...\n\n``` c\n#define RAYLIB_UMKA_IMPLEMENTATION\n#include \"raylib-umka.h\"\n\n// ...\n\numkaAddRaylib(umka);\n```\n\n### Generator\n\nThe [raylib-umka.h](include/raylib-umka.h) file is generated automatically via [Node.js](https://nodejs.org):\n\n``` bash\nnpm it\n```\n\n### Compiling\n\nWhile raylib-umka uses CMake, it could be used in other build systems.\n\n#### Desktop\n``` bash\nmkdir build\ncd build\ncmake ..\nmake\nmake test\n./bin/raylib-umka ../examples/core/core_basic_window.um\n```\n\n#### Web\n\n``` bash\nmkdir build\ncd build\nemcmake cmake .. -DPLATFORM=Web -DCMAKE_BUILD_TYPE=Release\nemmake make\n```\n\n## License\n\n*raylib-umka* is licensed under an unmodified zlib/libpng license, which is an OSI-certified, BSD-like license that allows static linking with closed source software. Check [LICENSE](LICENSE) for further details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobloach%2Fraylib-umka","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobloach%2Fraylib-umka","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobloach%2Fraylib-umka/lists"}