small fixes
This commit is contained in:
parent
9c6411898b
commit
03c558b10e
@ -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>
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user