From 2f1f5a23ea8a7cbace2c5e18996728adc572cbc0 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 15 May 2025 06:49:34 +0200 Subject: Decrease the capacity of bullets on screen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes any frame drops I have experienced so far. This is not a real fix since it is more likely that there's some part of the code that is simply too slow. At some point I should investigate where is that, but it will probably reappear whenever I start looking into enemies. Signed-off-by: Miquel Sabaté Solà --- src/bullets.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bullets.s b/src/bullets.s index ea224b3..736a226 100644 --- a/src/bullets.s +++ b/src/bullets.s @@ -4,7 +4,7 @@ ;; `driver.s` will use in order to render and deal with bullets on screen. .scope Bullets ;; Maximum amount of bullets allowed on screen at the same time. - BULLETS_POOL_CAPACITY = 20 + BULLETS_POOL_CAPACITY = 10 ;; Base address for the pool of bullets used on this game. The pool has ;; #BULLETS_POOL_CAPACITY bullet objects where each one is 3 bytes long: -- cgit v1.2.3