{"id":16085178,"url":"https://github.com/Insality/panthera","last_synced_at":"2025-10-23T01:31:47.333Z","repository":{"id":236492317,"uuid":"792682308","full_name":"Insality/panthera","owner":"Insality","description":"Panthera Animation Runtime for Defold Game Engine","archived":false,"fork":false,"pushed_at":"2025-08-23T14:38:33.000Z","size":23188,"stargazers_count":81,"open_issues_count":3,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-24T05:15:47.594Z","etag":null,"topics":["animation","defold","defold-extension","defold-library","defold-module","editor","runtime","software"],"latest_commit_sha":null,"homepage":"https://insality.github.io/panthera","language":"Lua","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/Insality.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":"insality","ko_fi":"insality","buy_me_a_coffee":"insality"}},"created_at":"2024-04-27T09:09:34.000Z","updated_at":"2025-08-23T14:38:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"53de93ab-75c2-434f-991c-14accc7aceb0","html_url":"https://github.com/Insality/panthera","commit_stats":{"total_commits":47,"total_committers":2,"mean_commits":23.5,"dds":0.08510638297872342,"last_synced_commit":"11fbfab1ec0bc4c026b6596d253091172f112181"},"previous_names":["insality/panthera"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/Insality/panthera","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Insality%2Fpanthera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Insality%2Fpanthera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Insality%2Fpanthera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Insality%2Fpanthera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Insality","download_url":"https://codeload.github.com/Insality/panthera/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Insality%2Fpanthera/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280546390,"owners_count":26348719,"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","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["animation","defold","defold-extension","defold-library","defold-module","editor","runtime","software"],"created_at":"2024-10-09T13:01:51.809Z","updated_at":"2025-10-23T01:31:47.327Z","avatar_url":"https://github.com/Insality.png","language":"Lua","funding_links":["https://github.com/sponsors/insality","https://ko-fi.com/insality","https://buymeacoffee.com/insality","https://www.buymeacoffee.com/insality"],"categories":["Libraries"],"sub_categories":["Programming Language"],"readme":"![](media/runtime_logo.png)\n\n[![Github-sponsors](https://img.shields.io/badge/sponsor-30363D?style=for-the-badge\u0026logo=GitHub-Sponsors\u0026logoColor=#EA4AAA)](https://github.com/sponsors/insality) [![Ko-Fi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge\u0026logo=ko-fi\u0026logoColor=white)](https://ko-fi.com/insality) [![BuyMeACoffee](https://img.shields.io/badge/Buy%20Me%20a%20Coffee-ffdd00?style=for-the-badge\u0026logo=buy-me-a-coffee\u0026logoColor=black)](https://www.buymeacoffee.com/insality)\n\n[![](https://img.shields.io/badge/Release-download-blue?style=for-the-badge)](https://github.com/Insality/panthera/tags)\n\n# Panthera Runtime\n\n**Panthera Runtime** - a [Defold](https://defold.com/) library designed to seamlessly integrate animations created with [**Panthera 2.0 Editor**](/docs_editor/README.md). This runtime can play animation for Collections and GUI nodes with also a animation cursor support.\n\n## Features\n\n- **Seamless Integration**: Import and use **Panthera 2.0** directly in Defold with one click.\n- **Full Animation Support**: Supports all animation features provided by **Panthera 2.0** including all available properties, game events, template animations and more.\n- **Flexible Usage**: Compatible with both Collections and GUI nodes in Defold, allowing for flexible usage across different game elements.\n- **Animation Cursor**: Provides a way to control animation manually, allowing for precise control over playback and synchronization with game events.\n\n## Panthera 2.0 Editor\n\nRead the [**Panthera 2.0 Editor**](/docs_editor/README.md) guide to learn about the **Panthera 2.0 Editor**. This is the animation editor that you can use to create animations for your Defold projects, created with [Defold engine](https://defold.com/) and [Druid UI framework](https://github.com/Insality/druid)!\n\n## Setup\n\n### [Dependency](https://defold.com/manuals/libraries/#setting-up-library-dependencies)\n\nOpen your `game.project` file and add the following lines to the dependencies field under the project section:\n\n\n**[Defold Tweener](https://github.com/Insality/defold-tweener)**\n\n```\nhttps://github.com/Insality/defold-tweener/archive/refs/tags/5.zip\n```\n\n**[Panthera Runtime](https://github.com/Insality/panthera)**\n\n```\nhttps://github.com/Insality/panthera/archive/refs/tags/runtime.5.zip\n```\n\nAfter that, select `Project ▸ Fetch Libraries` to update [library dependencies]((https://defold.com/manuals/libraries/#setting-up-library-dependencies)). This happens automatically whenever you open a project so you will only need to do this if the dependencies change without re-opening the project.\n\n### Library Size\n\n\u003e **Note:** The library size is calculated based on the build report per platform\n\n| Platform         | Library Size |\n| ---------------- | ------------ |\n| HTML5            | **12.42 KB** |\n| Desktop / Mobile | **21.35 KB** |\n\n## Basic Usage\n\n### GUI\n\n```lua\nlocal panthera = require(\"panthera.panthera\")\nlocal animation = require(\"gui.my_gui_panthera\") -- Path to Lua animation file\n\nfunction init(self)\n\tself.animation = panthera.create_gui(animation)\n\tpanthera.play(self.animation, \"default\", {\n\t\tis_loop = true\n\t})\nend\n```\n\n### Collections\n\n```lua\nlocal panthera = require(\"panthera.panthera\")\nlocal animation = require(\"entities.my_entity_panthera\") -- Path to Lua animation file\n\nfunction init(self)\n\tself.animation = panthera.create_go(animation)\n\tpanthera.play(self.animation, \"default\", {\n\t\tis_loop = true\n\t})\nend\n```\n\n\n## API Reference\n\n### Quick API Reference\n\nRead the [API Reference](api/panthera_api.md) file to see the full API documentation for the module.\n\n```lua\nlocal panthera = require(\"panthera.panthera\")\n\n-- Create animation state\npanthera.create_go(animation_or_path, [collection_name], [objects])\npanthera.create_gui(animation_or_path, [template], [nodes])\npanthera.create(animation_or_path, adapter, get_node)\npanthera.clone_state(animation_state)\n\npanthera.play(animation_state, animation_id, [options])\npanthera.set_time(animation_state, animation_id, time, [event_callback])\npanthera.get_time(animation_state)\npanthera.stop(animation_state)\npanthera.get_duration(animation_state, animation_id)\npanthera.is_playing(animation_state)\npanthera.get_latest_animation_id(animation_state)\npanthera.get_animations(animation_state)\n\n-- Utils\npanthera.set_logger([logger_instance])\npanthera.reload_animation([animation_path])\n\npanthera.SPEED\npanthera.OPTIONS_LOOP\npanthera.OPTIONS_SKIP_INIT\npanthera.OPTIONS_SKIP_INIT_LOOP\n```\n\n\n### Documentation\n\n- [API Reference](api/panthera_api.md)\n- [Animation Blending](docs/animation_blending.md)\n- [Customizing Your Adapter](docs/panthera_adapter.md)\n\n\n## License\n\nPanthera Runtime is licensed under the MIT License - see the [LICENSE](/LICENSE) file for details.\n\n\n## Issues and Suggestions\n\nFor any issues, questions, or suggestions, please [create an issue](https://github.com/Insality/panthera/issues).\n\n\n## Changelog\n\nRead the [CHANGELOG](/CHANGELOG.md) to learn about the latest updates and features in Panthera Runtime.\n\n\n## 👏 Contributors\n\n\u003ca href=\"https://github.com/Insality/panthera/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contributors-img.web.app/image?repo=insality/panthera\"/\u003e\n\u003c/a\u003e\n\n\n## ❤️ Support the Project ❤️\n\nYour support motivates me to keep creating and maintaining projects for **Defold**. Consider supporting if you find my projects helpful and valuable.\n\n[![Github-sponsors](https://img.shields.io/badge/sponsor-30363D?style=for-the-badge\u0026logo=GitHub-Sponsors\u0026logoColor=#EA4AAA)](https://github.com/sponsors/insality) [![Ko-Fi](https://img.shields.io/badge/Ko--fi-F16061?style=for-the-badge\u0026logo=ko-fi\u0026logoColor=white)](https://ko-fi.com/insality) [![BuyMeACoffee](https://img.shields.io/badge/Buy%20Me%20a%20Coffee-ffdd00?style=for-the-badge\u0026logo=buy-me-a-coffee\u0026logoColor=black)](https://www.buymeacoffee.com/insality)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FInsality%2Fpanthera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FInsality%2Fpanthera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FInsality%2Fpanthera/lists"}