aboutsummaryrefslogtreecommitdiff
path: root/space/README.md
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2023-11-23 09:38:46 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2025-02-04 21:02:11 +0100
commit0e1839f48ada69b81f5879449d0e0fe435f851c5 (patch)
treeef287b4539e2f066b509a467d19b0590048ba00e /space/README.md
parentc131ed635342a724687755844a54031e026700ac (diff)
downloadcode.nes-0e1839f48ada69b81f5879449d0e0fe435f851c5.tar.gz
code.nes-0e1839f48ada69b81f5879449d0e0fe435f851c5.zip
space: Improve comments and documentation
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'space/README.md')
-rw-r--r--space/README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/space/README.md b/space/README.md
new file mode 100644
index 0000000..8a0b451
--- /dev/null
+++ b/space/README.md
@@ -0,0 +1,10 @@
+## Space
+
+This is an evolution from the `basics/sprite.s` and `basics/input.s` examples.
+That is, we are no longer just showing a sprite, but we also allow the player to
+move it and shoot bullets according to the player's input.
+
+The movement is done by taking into consideration subpixels. For this, I have
+taken most of the code/idea from [NES
+Hacker](https://github.com/NesHacker/PlatformerMovement). Thus, this part is
+mostly attributed to him.