aboutsummaryrefslogtreecommitdiff
path: root/src/assets.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-03-13 22:33:38 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2026-03-13 22:33:38 +0100
commitcf3a0c963225068b6e3269f50e240950607a5c6b (patch)
tree3921181239a665fdf21d402cdc7e791ae427f6da /src/assets.s
parent3501f8fdee3a6d43f5e837e5499e759053c0fda9 (diff)
downloadjetpac.nes-cf3a0c963225.tar.gz
jetpac.nes-cf3a0c963225.zip
Implement falling items
Every now and then an item will fall and, as in the original game, a fuel tank will be delivered whenever needed. There are still some things left out for later changes, like picking up items mid-air, or background effects for the rocket being filled with fuel. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'src/assets.s')
-rw-r--r--src/assets.s8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/assets.s b/src/assets.s
index 18d6192..cfcddbf 100644
--- a/src/assets.s
+++ b/src/assets.s
@@ -164,7 +164,7 @@
palettes:
;; Background
;; 0: score
- .byte $0F, $30, $30, $28
+ .byte $0F, $30, $24, $28
;; 1: floating platforms
.byte $0F, $2C, $30, $2A
;; 2: ground
@@ -172,17 +172,15 @@
;; 3: ship
.byte $0F, $16, $30, $00
- ;; TODO: fuel tank needs color $24
- ;; TODO: SUSE coin needs $0F, $16, $10, $18
;; Foreground
;; 0: player & ship
.byte $0F, $30, $10, $30
;; 1: enemy 1 & bonuses
.byte $0F, $2A, $2C, $16
;; 2: enemy 2, fuel & bonuses
- .byte $0F, $16, $14, $28
+ .byte $0F, $16, $24, $28
;; 3: SUSE easter egg
- .byte $0F, $16, $00, $2B
+ .byte $0F, $16, $10, $2B
.endproc
;; Having 2KB for screen data is quite wasteful, but since it's such a