Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-28T08:47:58.000Z (4 months ago)
- Last Synced: 2024-09-29T23:38:55.711Z (about 2 months ago)
- Topics: game-engine, phaser, vue
- Language: Vue
- Homepage:
- Size: 745 KB
- Stars: 158
- Watchers: 7
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Phavuer
[![Phaser 3.x](https://img.shields.io/badge/Phaser-3.x-green.svg?style=for-the-badge)](https://github.com/photonstorm/phaser)
[![Vue 3.x](https://img.shields.io/badge/Vue-3.x-green.svg?style=for-the-badge)](https://github.com/vuejs/vue-next)
[![npm](https://img.shields.io/npm/v/phavuer.svg?style=for-the-badge)](https://www.npmjs.com/package/phavuer)
[![license](https://img.shields.io/github/license/laineus/phavuer.svg?style=for-the-badge&color=blue)](https://github.com/laineus/phavuer/blob/master/LICENSE)![Phavuer](logo.png)
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)