game engine test
This commit is contained in:
parent
105aac8fd0
commit
5ab4e05afe
4 changed files with 167 additions and 67 deletions
27
game.css
Normal file
27
game.css
Normal file
|
@ -0,0 +1,27 @@
|
|||
.message {
|
||||
position: relative;
|
||||
bottom: 800px;
|
||||
width: 800px;
|
||||
height: 800px;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
background: rgba(0,0,0,0.5);
|
||||
}
|
||||
|
||||
.message span {
|
||||
display: block;
|
||||
text-align: center;
|
||||
color: rgb(255,255,255);
|
||||
font-weight: bold;
|
||||
font-size: 50px;
|
||||
}
|
||||
|
||||
#canvas {
|
||||
width: 800px;
|
||||
height: 800px;
|
||||
image-rendering: pixelated
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue