https://github.com/laineus/phavuer
A integration library seamlessly combining Phaser 3 with Vue for enhanced game development.
https://github.com/laineus/phavuer
game-engine phaser vue
Last synced: 5 months ago
JSON representation
A integration library seamlessly combining Phaser 3 with Vue for enhanced game development.
- Host: GitHub
- URL: https://github.com/laineus/phavuer
- Owner: laineus
- License: mit
- Created: 2020-10-11T14:04:18.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-02-08T07:35:50.000Z (8 months ago)
- Last Synced: 2025-05-10T05:37:23.107Z (5 months ago)
- Topics: game-engine, phaser, vue
- Language: Vue
- Homepage:
- Size: 761 KB
- Stars: 186
- Watchers: 6
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Phavuer
[](https://github.com/photonstorm/phaser)
[](https://github.com/vuejs/vue-next)
[](https://www.npmjs.com/package/phavuer)
[](https://github.com/laineus/phavuer/blob/master/LICENSE)
Phavuer is a wrapper library that integrates [Phaser 3](https://github.com/photonstorm/phaser) with [Vue 3](https://github.com/vuejs/vue-next).
It allows you to control Phaser, a JavaScript game engine, through Vue, and enables game development through declarative rendering.
```vue
import { Game, Scene, Container, Rectangle, Text } from 'phavuer'
import { ref } from 'vue'
import MyCustomComponent from './MyCustomComponent.vue'
const gameConfig = { .. }
const count = ref(1)
const onClick = () => count.value++```
# Documentation
- Phavuer https://phavuer.laineus.com
- Phaser3 https://newdocs.phaser.io/docs/3.70.0# Examples
- [Phavuer vs Phaser's plane API](https://codepen.io/laineus/pen/pobgxdE?editors=0010) - A Compilation by example UI.
- [Phavuer Example Shooter](https://github.com/laineus/phavuer-example) - A simple shooter that written in Phavuer.
- [Phavuer RPG Example](https://github.com/laineus/phavuer-rpg-example) - An RPG example (This is just a usage example. Not a completed Game.)
- ["The Dream Libra had"](https://github.com/laineus/libra) - An RPG made with Phavuer (Completed project and published on Steam).# Community
- [Discord server](https://discord.gg/W9xJNWQZQv)