aboutsummaryrefslogtreecommitdiff
path: root/src/enemies.s
Commit message (Collapse)AuthorAgeFilesLines
* Adapt the code to play well with nasm's asanMiquel Sabaté Solà2025-12-151-1/+1
| | | | | | | The address sanitizer from nasm provides quite a few goodies, so let's adapt the code more to it to benefit from those. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* Initialize enemies at a random Y coordinateMiquel Sabaté Solà2025-05-161-1/+3
| | | | | | | | | The randomness comes from a pre-computed table of "random" numbers. This is of course the most simple technique you can come across a code base for the NES/Famicom, but for the purposes of this game is good enough and (most importantly) fast. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Add the skeleton code for enemiesMiquel Sabaté Solà2025-05-151-0/+58
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>