{"id":13624840,"url":"https://github.com/laineus/phavuer","last_synced_at":"2025-05-16T12:12:08.400Z","repository":{"id":41457881,"uuid":"303134090","full_name":"laineus/phavuer","owner":"laineus","description":"A integration library seamlessly combining Phaser 3 with Vue for enhanced game development.","archived":false,"fork":false,"pushed_at":"2025-02-08T07:35:50.000Z","size":779,"stargazers_count":186,"open_issues_count":0,"forks_count":12,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-10T05:37:23.107Z","etag":null,"topics":["game-engine","phaser","vue"],"latest_commit_sha":null,"homepage":"","language":"Vue","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/laineus.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":"2020-10-11T14:04:18.000Z","updated_at":"2025-05-05T12:56:03.000Z","dependencies_parsed_at":"2024-01-03T16:28:21.999Z","dependency_job_id":"6969a767-c121-47c4-8f4e-c50d881fb998","html_url":"https://github.com/laineus/phavuer","commit_stats":{"total_commits":281,"total_committers":2,"mean_commits":140.5,"dds":"0.017793594306049876","last_synced_commit":"bf4763709ef389d1b473962b6bcb90d8bc2811a4"},"previous_names":[],"tags_count":62,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laineus%2Fphavuer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laineus%2Fphavuer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laineus%2Fphavuer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laineus%2Fphavuer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laineus","download_url":"https://codeload.github.com/laineus/phavuer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254527099,"owners_count":22085919,"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":["game-engine","phaser","vue"],"created_at":"2024-08-01T21:01:47.003Z","updated_at":"2025-05-16T12:12:08.361Z","avatar_url":"https://github.com/laineus.png","language":"Vue","funding_links":[],"categories":["Vue"],"sub_categories":[],"readme":"# Phavuer\n\n[![Phaser 3.x](https://img.shields.io/badge/Phaser-3.x-green.svg?style=for-the-badge)](https://github.com/photonstorm/phaser)\n[![Vue 3.x](https://img.shields.io/badge/Vue-3.x-green.svg?style=for-the-badge)](https://github.com/vuejs/vue-next)\n[![npm](https://img.shields.io/npm/v/phavuer.svg?style=for-the-badge)](https://www.npmjs.com/package/phavuer)\n[![license](https://img.shields.io/github/license/laineus/phavuer.svg?style=for-the-badge\u0026color=blue)](https://github.com/laineus/phavuer/blob/master/LICENSE)\n\n![Phavuer](logo.png)  \n\nPhavuer is a wrapper library that integrates [Phaser 3](https://github.com/photonstorm/phaser) with [Vue 3](https://github.com/vuejs/vue-next).  \n\nIt allows you to control Phaser, a JavaScript game engine, through Vue, and enables game development through declarative rendering.\n\n```vue\n\u003ctemplate\u003e\n  \u003cGame :config=\"gameConfig\"\u003e\n    \u003cScene name=\"MainScene\"\u003e\n      \u003cText @pointerdown=\"onClick\" text=\"Add a Rectangle\" /\u003e\n      \u003cContainer v-for=\"(n, i) in count\" :key=\"i\" :x=\"i * 130\" :y=\"30\"\u003e\n        \u003cRectangle :width=\"120\" :height=\"30\" :origin=\"0\" :fillColor=\"0x333333\" /\u003e\n        \u003cText :x=\"60\" :y=\"15\" :origin=\"0.5\" :text=\"`Rectangle-${n}`\" /\u003e\n        \u003cMyCustomComponent /\u003e\n      \u003c/Container\u003e\n    \u003c/Scene\u003e\n  \u003c/Game\u003e\n\u003c/template\u003e\n\n\u003cscript setup\u003e\nimport { Game, Scene, Container, Rectangle, Text } from 'phavuer'\nimport { ref } from 'vue'\nimport MyCustomComponent from './MyCustomComponent.vue'\nconst gameConfig = { .. }\nconst count = ref(1)\nconst onClick = () =\u003e count.value++\n\u003c/script\u003e\n```\n\n# Documentation\n\n- Phavuer https://phavuer.laineus.com\n- Phaser3 https://newdocs.phaser.io/docs/3.70.0\n\n# Examples\n\n- [Phavuer vs Phaser's plane API](https://codepen.io/laineus/pen/pobgxdE?editors=0010) - A Compilation by example UI.\n- [Phavuer Example Shooter](https://github.com/laineus/phavuer-example) - A simple shooter that written in Phavuer.\n- [Phavuer RPG Example](https://github.com/laineus/phavuer-rpg-example) - An RPG example (This is just a usage example. Not a completed Game.)\n- [\"The Dream Libra had\"](https://github.com/laineus/libra) - An RPG made with Phavuer (Completed project and published on Steam).\n\n# Community\n\n- [Discord server](https://discord.gg/W9xJNWQZQv)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaineus%2Fphavuer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaineus%2Fphavuer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaineus%2Fphavuer/lists"}