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: