mirror of
https://frontier.innolan.net/github/AmigaExamples.git
synced 2026-09-12 18:52:02 +00:00
No more bg_shift 2
This commit is contained in:
@@ -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
|
||||
|
||||
+1
-1
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user