From a20b308cfe92a8bb47c6896e7fdb24b15c2efd59 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Fri, 12 May 2023 23:36:49 +0100 Subject: Add player bullets Also a changes in the entity system: - don't preserve the BG (always erase black) - skip unused entities - fix in the reserved size (and entity is 8 bytes) - allocate new entities --- game/main.asm | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'game/main.asm') diff --git a/game/main.asm b/game/main.asm index 8373f37..365e381 100644 --- a/game/main.asm +++ b/game/main.asm @@ -61,7 +61,7 @@ game_loop: ; Setup the game after the menu ; init_game: - halt + call entities_init ; set player initial coordinates ld x,