diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-02-03 21:40:46 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-02-03 21:49:34 +0100 |
| commit | 4ef68e136eb6276cd7dc39426720ce5d7e87d2d4 (patch) | |
| tree | 69e76ecfb26bd4663ae66f0f1ddc5958fb1e71e1 /src | |
| parent | 26bcd31f15812022d448a894b7a5954710e104cd (diff) | |
| download | jetpac.nes-4ef68e136eb6276cd7dc39426720ce5d7e87d2d4.tar.gz jetpac.nes-4ef68e136eb6276cd7dc39426720ce5d7e87d2d4.zip | |
Increase the upper Y limit for sprites
Some sprites like enemies and objects are meant to appear maximum at a
certain Y coordinate. Increase that as the former could mean sprites
going on about the scores, whereas that shouldn't be possible.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/background.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/background.s b/src/background.s index 26d38c6..a9dfbaf 100644 --- a/src/background.s +++ b/src/background.s @@ -3,7 +3,7 @@ .scope Background ;; Screen coordinate on the Y axis where elements can begin to appear (e.g. ;; upper bound for new enemies, starting point for falling items, etc.). - UPPER_MARGIN_Y_COORD = $10 + UPPER_MARGIN_Y_COORD = $1A ;; Screen coordinates on the Y axis for the ground. GROUND_Y_COORD = $C8 |
