From b28cd8a5cba04656d6a5fce7637b059714def3a2 Mon Sep 17 00:00:00 2001 From: alpine9000 Date: Fri, 15 Apr 2016 10:52:45 +1000 Subject: [PATCH] No more bg_shift 2 --- 028.game2/constants.i | 4 ++-- 028.game2/game1.s | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/028.game2/constants.i b/028.game2/constants.i index 4b871e9..24a32fe 100644 --- a/028.game2/constants.i +++ b/028.game2/constants.i @@ -4,8 +4,8 @@ FOREGROUND_DELAY_BIT equ 0 FOREGROUND_SCROLL_SHIFT_CONVERT equ 1 FOREGROUND_SCROLL_PIXELS equ 2 -BACKGROUND_SCROLL_SHIFT_CONVERT equ 1 -BACKGROUND_SCROLL_PIXELS equ 2 +BACKGROUND_SCROLL_SHIFT_CONVERT equ 4 +BACKGROUND_SCROLL_PIXELS equ 16 SCREEN_WIDTH equ 320 SCREEN_HEIGHT equ 256 diff --git a/028.game2/game1.s b/028.game2/game1.s index 6f5a0b7..a46bd1c 100644 --- a/028.game2/game1.s +++ b/028.game2/game1.s @@ -76,7 +76,7 @@ Update: bne .skipBackgroundUpdates ;; ---- Background updates ---------------------------------------- .backgroundUpdates: - add.l #FOREGROUND_SCROLL_PIXELS,backgroundScrollX + add.l #BACKGROUND_SCROLL_PIXELS,backgroundScrollX add.l #2,bg_tileIndex ; increment tile index by a word .skipBackgroundUpdates: