Jeremy Rand
|
4700bd9cff
|
Fix a bug where the collision and collisionAddr writes went to the wrong bank, leading to memory corruption and crashes.
|
2021-01-06 22:21:31 -05:00 |
|
Jeremy Rand
|
cdded307f9
|
When looking for collisions, treat the lowest collision as the one that counts. Before this, if you had two stacked mushrooms, it was possible to shoot through the mushroom below and "hit" the mushroom above. This happened because the first collision found was the one that the game handled. If the shot ended up being draw across both mushrooms, then the upper mushroom would record the collision. Now, the collision we care about most is the lowest one which should ensure that the bottom mushroom records to collision always with stacked mushrooms. This is similar to the "shoot through a partial mushroom" problem but is restricted to just when the mushrooms are stacked.
|
2020-12-26 15:03:29 -05:00 |
|
Jeremy Rand
|
4e6bad0ae7
|
Start adding the code for supporting shooting.
|
2020-11-16 00:14:08 -05:00 |
|
Jeremy Rand
|
22a22d3533
|
Change the code to race the beam down the screen, redrawing the dirty game rows as it goes.
|
2020-09-04 00:17:19 -04:00 |
|
Jeremy Rand
|
b07221c363
|
Change from an array of structs to a series of individual arrays for the tile information. This makes it easier to index into the arrays because the tile number * 2 is the offset, rather than tile number * 16.
|
2020-09-02 00:15:53 -04:00 |
|
Jeremy Rand
|
7d7afc908d
|
Use macros to reduce the copy/pasted code for marking tiles as dirty. Rough out the support for body and head segments.
|
2020-07-30 23:34:48 -04:00 |
|
Jeremy Rand
|
ada774960b
|
Finish up work on the scorpion, adding support for shooting the scorpion. Some more cleanup of hard coded constants, moving them to globals.
|
2020-07-22 23:46:04 -04:00 |
|
Jeremy Rand
|
3c0ac30fcb
|
A bunch of optimizations to reduce the number of instructions to draw tiles.
|
2020-07-17 02:46:36 -04:00 |
|
Jeremy Rand
|
63fb8a0e22
|
Fix a bug in the _collision macro where the mask was not being used. Remove an unnecessary and instruction when drawing heads and body segments.
|
2020-07-14 01:49:07 -04:00 |
|
Jeremy Rand
|
a718c8caef
|
Lots of general sprite cleanup. Add sprites for the ship and the shots and include collision detection in those routines. I think all of the drawing code is done now, maybe?
|
2020-07-09 22:55:08 -04:00 |
|
Jeremy Rand
|
9e06ec991b
|
Add a bunch more centipede segment sprites.
|
2020-07-06 00:01:44 -04:00 |
|
Jeremy Rand
|
5de91ba0ec
|
Add the left body segment sprites.
|
2020-07-04 02:59:42 -04:00 |
|
Jeremy Rand
|
7f33c3d400
|
Create all of the left facing head segment sprites.
|
2020-07-04 02:45:53 -04:00 |
|