diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-07-22 16:53:21 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-07-22 16:53:21 +0200 |
| commit | 421fdaa6a558540e1627d21cd69453860a2aaeee (patch) | |
| tree | 9eea9a57aaff557554b31dd385e821b779371c1b /src/background.s | |
| parent | ac36786e9e4a3a4b98eb128f10220ed22b66c4d9 (diff) | |
| download | jetpac.nes-421fdaa6a558540e1627d21cd69453860a2aaeee.tar.gz jetpac.nes-421fdaa6a558540e1627d21cd69453860a2aaeee.zip | |
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'src/background.s')
| -rw-r--r-- | src/background.s | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/background.s b/src/background.s index c843063..2890a2d 100644 --- a/src/background.s +++ b/src/background.s @@ -80,11 +80,11 @@ ;; three bytes: tile row, tile column beginning, tile column end. ;; ;; NOTE: this is wholeheartedly distinct to implementations like in - ;; github.com/mssola/code.nes. In there, and in examples such as the ones in - ;; `scroll`, a map is built up when loading the background and collision - ;; checking is a matter of determining the metatile index on that map and - ;; that's it. Here it's not possible because we are operating at the tile - ;; level, not a metatile level. This in turn has been done this way to + ;; https://git.mssola.com/nes/code.nes. In there, and in examples such as + ;; the ones in `scroll`, a map is built up when loading the background and + ;; collision checking is a matter of determining the metatile index on that + ;; map and that's it. Here it's not possible because we are operating at the + ;; tile level, not a metatile level. This in turn has been done this way to ;; better replicate the original experience. Mapping tiles would be a huge ;; hit on memory, so we have to do things in a more rudimentary way. ;; Fortunately for us, this is a rather small list, and traversing it each |
