1
0
forked from noxious/client

small fixes

This commit is contained in:
Dennis Postma 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>

View File

@ -61,7 +61,7 @@
body {
min-height: 100vh;
color: var(--color-text);
background: var(--color-background);
background: black;
transition:
color 0.5s,
background-color 0.5s;