diff options
author | Logan Hunt <loganhunt@simponic.xyz> | 2022-04-02 16:04:13 -0600 |
---|---|---|
committer | Logan Hunt <loganhunt@simponic.xyz> | 2022-04-02 16:04:13 -0600 |
commit | 5a55b5fa0c678ff03842d2adec8543e754546718 (patch) | |
tree | 4f615829acc10045d81a9d553c757a14792bf81a /index.html | |
parent | 4d34b0b4b890e957030fbf6e3c8e1d4a02d2a627 (diff) | |
download | bbiy-5a55b5fa0c678ff03842d2adec8543e754546718.tar.gz bbiy-5a55b5fa0c678ff03842d2adec8543e754546718.zip |
Grid system & simple physics
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -19,8 +19,10 @@ <script> const game = { - width: document.getElementById('game-canvas').width, - height: document.getElementById('game-canvas').height, + canvas: { + width: document.getElementById('game-canvas').width, + height: document.getElementById('game-canvas').height, + } }; </script> |