From 4d34b0b4b890e957030fbf6e3c8e1d4a02d2a627 Mon Sep 17 00:00:00 2001 From: phat_sumo Date: Fri, 1 Apr 2022 17:49:20 -0600 Subject: update bootstrap, fix flag.js filename, add rock --- src/game.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/game.js') diff --git a/src/game.js b/src/game.js index c1b9c05..cd82cc0 100644 --- a/src/game.js +++ b/src/game.js @@ -11,5 +11,10 @@ game.initialize = () => { game.bigBlue2 = game.createBigBlue(); game.bigBlue2.components.position = game.components.Position({x: 200, y: 100}); game.entities[game.bigBlue2.id] = game.bigBlue2; + + game.rock = game.createRock(); + game.rock.components.position = game.components.Position({x: 200, y: 200}); + game.entities[game.rock.id] = game.rock; + requestAnimationFrame(game.loop); } -- cgit v1.2.3-70-g09d2