Commit Graph

20 Commits

Author SHA1 Message Date
Jeremy Rand
c24b8ad072 Change the spider score colour to be the same as mushroom colours so the player does not detect it as a collision. Add code to display the number of lives and add to the number of lives ever 12,000 points. This lays the groundwork for handling player death and collisions. 2020-11-09 00:12:51 -05:00
Jeremy Rand
0fa9b45f45 Rework the LHS side of the game screen to have some BuGS branding. Move the number of lives indicator to the left and add a player 1 and player 2 section. 2020-10-27 23:59:06 -04: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
d8e9c6863b Add the code to draw the body and head segments in the game loop. Still need to add code to create, update and shoot segments. 2020-08-26 23:44:41 -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
c614164c14 Add code to get scorpions animating to the left. Lots of cleanup, adding a global data section that also has important global constants. 2020-07-21 21:47:50 -04:00
Jeremy Rand
1ccdb1d0b6 Start to get scorpion support into the game. 2020-07-20 23:04:27 -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
3f9e7bd066 Start implementing the code to draw the tiles on the screen. 2020-07-15 00:32:14 -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
bc91429e3a Finish the centipede segment sprites. 2020-07-09 00:27:32 -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
Jeremy Rand
72265face9 Start adding centipede head segment sprites. 2020-07-03 02:04:27 -04:00
Jeremy Rand
e5378bf5cb Add some info to the sprite design document about my plans for handling clipping. 2020-07-02 23:06:02 -04:00
Jeremy Rand
598934446b Finish the spider sprites and the explosion sprites. Remove "and" masking from the spider and scorpion sprites because they will be drawn first and will not overlap with anything on the foreground. Split the sprite.s file into a series of smaller files for each type of sprite. Add a file to describe the overall plan for the design of the sprites. 2020-07-02 22:57:52 -04:00