프로젝트
GitHub에서 보기
laineus/phavuer
소개
A integration library seamlessly combining Phaser 3 with Vue for enhanced game development.
게임 및 에뮬레이션측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalPhavuer

Phavuer is a wrapper library that integrates Phaser 4 with Vue 3.
It allows you to control Phaser, a JavaScript game engine, through Vue, and enables game development through declarative rendering.
<script setup>
import { Container, Game, Rectangle, Scene, Text } from 'phavuer'
import { ref } from 'vue'
import MyCustomComponent from './MyCustomComponent.vue'
const gameConfig = { /* ... */ }
const count = ref(1)
const onClick = () => count.value++
</script>
<template>
<Game :config="gameConfig">
<Scene name="MainScene">
<Text text="Add a Rectangle" @pointerdown="onClick" />
<Container v-for="(n, i) in count" :key="i" :x="i * 130" :y="30">
<Rectangle :width="120" :height="30" :origin="0" :fill-color="0x333333" />
<Text :x="60" :y="15" :origin="0.5" :text="`Rectangle-${n}`" />
<MyCustomComponent />
</Container>
</Scene>
</Game>
</template>
Documentation
- Phavuer https://phavuer.laineus.com
- Phaser4 https://docs.phaser.io
Examples
- Usage samples
- Phavuer vs Phaser's plane API - A comparison of implementing a sample UI with and without Phavuer.
- Phavuer Example Shooter - A simple shooter example.
- Phavuer RPG Example - An RPG-style usage example.
- Games
- "The Dream Libra had" - An RPG about a girl wandering through a near-death dreamworld.
- "Letter to Neml" - A short ADV where AI reads the player's letter and branches the story.
- "Succubus Club" - A platform for playing "Vampire: The Eternal Struggle" card game in a web browser. (by @thomasWajs)
Community
관련 프로젝트 살펴보기
불러오는 중…