small fixes
This commit is contained in:
parent
9c6411898b
commit
03c558b10e
@ -5,7 +5,7 @@ import Example from './scenes/mapScene'
|
|||||||
|
|
||||||
const gameConfig = {
|
const gameConfig = {
|
||||||
width: '100%',
|
width: '100%',
|
||||||
height: '100%',
|
height: '99%',
|
||||||
pixelArt: true,
|
pixelArt: true,
|
||||||
type: Phaser.AUTO,
|
type: Phaser.AUTO,
|
||||||
scene: Example
|
scene: Example
|
||||||
@ -16,12 +16,9 @@ const gameConfig = {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Game :config="gameConfig">
|
<Game :config="gameConfig" class="game">
|
||||||
<Scene name="MainScene">
|
<Scene name="MainScene">
|
||||||
<Rectangle :x="100" :y="100" :width="100" :height="100" :fillColor="0xAAAAAA" />
|
<Rectangle :x="100" :y="100" :width="100" :height="100" :fillColor="0xAAAAAA" />
|
||||||
</Scene>
|
</Scene>
|
||||||
</Game>
|
</Game>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
</style>
|
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
body {
|
body {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
color: var(--color-text);
|
color: var(--color-text);
|
||||||
background: var(--color-background);
|
background: black;
|
||||||
transition:
|
transition:
|
||||||
color 0.5s,
|
color 0.5s,
|
||||||
background-color 0.5s;
|
background-color 0.5s;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user