small fixes

This commit is contained in:
2024-04-09 02:40:04 +02:00
parent 9c6411898b
commit 03c558b10e
2 changed files with 4 additions and 7 deletions

View File

@ -5,7 +5,7 @@ import Example from './scenes/mapScene'
const gameConfig = {
width: '100%',
height: '100%',
height: '99%',
pixelArt: true,
type: Phaser.AUTO,
scene: Example
@ -16,12 +16,9 @@ const gameConfig = {
</script>
<template>
<Game :config="gameConfig">
<Game :config="gameConfig" class="game">
<Scene name="MainScene">
<Rectangle :x="100" :y="100" :width="100" :height="100" :fillColor="0xAAAAAA" />
</Scene>
</Game>
</template>
<style scoped>
</style>
</template>