From bb75e40de92fb7e0589410b67e21087f27f34f45 Mon Sep 17 00:00:00 2001 From: Logan Hunt Date: Sat, 2 Apr 2022 23:27:07 -0600 Subject: Movement bug with two+ pushable entities --- src/game.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game.js') diff --git a/src/game.js b/src/game.js index 07ea67b..7301f73 100644 --- a/src/game.js +++ b/src/game.js @@ -26,7 +26,7 @@ game.initialize = () => { game.entities = {}; - Array(400).fill(null).forEach((_, i) => { + Array(10).fill(null).forEach((_, i) => { const bigBlue = game.createBigBlue(); bigBlue.addComponent(game.components.GridPosition({x: Math.floor(Math.random() * 15), y: Math.floor(Math.random() * 13)})); bigBlue.addComponent(game.components.Pushable()); -- cgit v1.2.3-70-g09d2