From 69b5f4448c1cbd00ebcb6f444f2434cc272b7e97 Mon Sep 17 00:00:00 2001 From: Logan Hunt Date: Sun, 10 Apr 2022 22:13:05 -0600 Subject: Unlimited undo; add spritename component instead of sprites on each entity; update canvas on game object --- index.html | 1 + 1 file changed, 1 insertion(+) (limited to 'index.html') diff --git a/index.html b/index.html index f0ec376..ee6d5d5 100644 --- a/index.html +++ b/index.html @@ -24,6 +24,7 @@ canvas: { width: document.getElementById('game-canvas').width, height: document.getElementById('game-canvas').height, + context: document.getElementById('game-canvas').getContext("2d"), } }; -- cgit v1.2.3-70-g09d2