From 7ce50c89c93326bcd4029a2a4fbf488a41db3369 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Sat, 7 Mar 2026 00:29:07 +0100 Subject: Make bullet transitions in relation to HZ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- src/bullets.s | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/bullets.s b/src/bullets.s index 8bbbeaa..58b6a4a 100644 --- a/src/bullets.s +++ b/src/bullets.s @@ -48,12 +48,6 @@ zp_timer = $35 BULLET_TIMER_VALUE = HZ / 15 - ;; Maximum moves that a bullet can do. The tile also transitions depending - ;; on the moves done so far. - BULLET_MAX_MOVES = 26 - BULLET_FIRST_TRANSITION = 20 - BULLET_LAST_TRANSITION = 25 - ;; Velocity at which bullets move. .ifdef PAL BULLET_VELOCITY = 7 @@ -61,6 +55,12 @@ BULLET_VELOCITY = 6 .endif + ;; Maximum moves that a bullet can do. The tile also transitions depending + ;; on the moves done so far. + BULLET_MAX_MOVES = BULLET_VELOCITY * 5 + BULLET_FIRST_TRANSITION = BULLET_VELOCITY * 2 + BULLET_LAST_TRANSITION = BULLET_VELOCITY * 4 + ;; Initialize the pool of bullets. .proc init lda #0 -- cgit v1.2.3