diff --git a/src/index.html b/src/index.html
index c47fc9e..3c66ccd 100644
--- a/src/index.html
+++ b/src/index.html
@@ -10,10 +10,14 @@
position: absolute;
top: 0px;
left: 0px;
+ background-color: black;
}
#game-window {
- position: relative;
+ position: fixed;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
}
#game-canvas {
diff --git a/src/main.ts b/src/main.ts
index 1a486e2..3e49d08 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -12,7 +12,7 @@ import WeaponTypeRegistry from "./shattered_sword/Registry/WeaponTypeRegistry";
// Set up options for our game
let options = {
- canvasSize: {x : window.innerWidth, y:window.innerHeight},
+ canvasSize: {x : 1920, y:1080},
//canvasSize: {x: window.innerWidth, y: window.innerHeight}, // The size of the game
clearColor: {r: 0, g: 0, b: 0}, // The color the game clears to
inputs: [