From f05ce5d5ff7d650a439b363993f8b38b817d3efe Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Tue, 11 Mar 2025 16:39:44 +0100 Subject: scroll: Provide an example with sprite 0 collision MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- scroll/level.s | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'scroll/level.s') diff --git a/scroll/level.s b/scroll/level.s index 3bca454..de386db 100644 --- a/scroll/level.s +++ b/scroll/level.s @@ -1,3 +1,13 @@ +;;; +;; Allow the player to scroll a level which spans more than two screens wide. +;; The heavy lifting is pulled by the engine contained in `include`, which even +;; if it has some big limitations, it's good enough for showing how this can be +;; achieved on the NES/Famicom. Read the comments along this file, but you will +;; have to dig deeper into `include` to better grasp how any of this works. +;; +;; As a final touch, you can press "Select" to switch between different levels, +;; even if I was lazy enough to only provide a second level. + .segment "HEADER" .byte 'N', 'E', 'S', $1A -- cgit v1.2.3