Commit Graph

35 Commits

Author SHA1 Message Date
Jeremy Rand
36be001229 Improve the randN function. Show a different colour on the border when drawing versus updating the game state. 2020-07-27 21:47:28 -04:00
Jeremy Rand
4f74d630b9 Start coding support for the spider. Also, try to show the performance of the main game loop in the border colour. 2020-07-23 23:41:12 -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
44cb944f22 More general cleanup and get rid of more magic numbers. 2020-07-21 22:30:05 -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
b813253c83 Add support for shooting fleas. When a flea is shot once, it accelerates its drop to the bottom. On the second shot, it explodes. 2020-07-20 00:05:18 -04:00
Jeremy Rand
063b4ce60c Fix the VBL code. 2020-07-18 23:46:09 -04:00
Jeremy Rand
36104869b8 Add the code to animate a flea down the screen on demand. 2020-07-18 23:41:21 -04:00
Jeremy Rand
0336c692c4 Add some code to support animating fleas in the game. 2020-07-18 22:11:20 -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
c79303d1dc Put a tile offset instead of a tile number in the dirty lists to eliminate the ASL operations that were necessary when iterating over the dirty tiles. 2020-07-16 23:37:28 -04:00
Jeremy Rand
5c188bf91e More work on tiles. A tile now knows the tile number of its neighbours. This will make it easier for a sprite to mark the dirty tiles when drawing. 2020-07-16 23:17:32 -04:00
Jeremy Rand
bff623af89 Add a wait for VBL function. 2020-07-15 23:20:35 -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
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
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
Jeremy Rand
e7ca4d4624 More spider sprites. 2020-07-01 13:53:42 -04:00
Jeremy Rand
5371b4e19e Add the first spider sprite. 2020-06-30 23:38:27 -04:00
Jeremy Rand
0393cf6bf6 Finish the sprites for the scorpion. 2020-06-30 23:17:55 -04:00
Jeremy Rand
cc03c8a0a0 Lots of optimization of the sprite code. More scorpions going in the right direction. 2020-06-29 23:45:40 -04:00
Jeremy Rand
1b1506aac8 Finish the left facing scorpion sprites. Still need to do the mirror image for right facing. 2020-06-23 23:38:47 -04:00
Jeremy Rand
e34ea58cc1 Add some more sprites for the scorpion. 2020-06-23 01:52:06 -04:00
Jeremy Rand
964da82807 Add some sprites for the scorpion. 2020-06-22 23:45:25 -04:00
Jeremy Rand
936b7315ce Finish the sprites for the flea and the 300, 600 and 900 score notices. 2020-06-18 23:35:20 -04:00
Jeremy Rand
eb480d76d8 Finish sprites for numbers and start work on the flea. 2020-06-18 00:03:41 -04:00
Jeremy Rand
d336ae86ff Finish the sprites for the letters. 2020-06-17 02:16:04 -04:00
Jeremy Rand
fd72e9f18b Start coding up the sprite code. 2020-06-16 23:59:12 -04:00
Jeremy Rand
ceb2d00ff0 Add some code to set the scan line control bytes and the colour palette for all of the different levels of the game. 2020-06-16 00:02:20 -04:00
Jeremy Rand
a9810ecb75 Well, it launches, clears the screen, waits for a key and then quits. But it is a start. 2020-06-10 23:51:53 -04:00