Jeremy Rand
|
9a34532d77
|
Implement the code to add spiders to the game. From my testing, it looks like 2 seconds after a spider leaves the game (either shot or off the screen), another one is added. Also, once the score is about 5000, the spiders added will be fast. The only spider behaviour I know of which is so far not implemented is as the player reaches higher levels, the spider constrains itself closer and closer to the bottom of the screen.
|
2020-10-22 00:00:16 -04:00 |
|
Jeremy Rand
|
a1b4013e1c
|
Hook up the score. Shooting fleas, spiders, scorpions or segments will increase the score. We track the score in two ways. One is just as a 32-bit unsigned integer for doing numeric comparisons on the score (say to the high score list to be implemented in the future) and secondly as a series of numeric digits displayed in a tile. Both are updated.
|
2020-10-13 23:24:15 -04:00 |
|
Jeremy Rand
|
b85000b4ed
|
Start adding the infrastructure for levels and score.
|
2020-10-13 00:09:37 -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
|
3a63b2ef1b
|
Add code to support marking dirty tiles under head and body segments.
|
2020-08-27 22:36:04 -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
|
8bcd4fccf6
|
Add the code to support switching between fast and slow spiders.
|
2020-07-27 23:30:11 -04:00 |
|
Jeremy Rand
|
9fde825430
|
Add some constants for the spider score amounts.
|
2020-07-27 14:25:22 -04:00 |
|
Jeremy Rand
|
3ad311dca6
|
Add support for shooting the spider and displaying a score.
|
2020-07-27 14:22:34 -04:00 |
|
Jeremy Rand
|
49baa1b360
|
Get spider motion working in both directions.
|
2020-07-26 16:00:46 -04:00 |
|
Jeremy Rand
|
d4fbd9f14c
|
Almost done animating the spider.
|
2020-07-26 02:13:06 -04:00 |
|
Jeremy Rand
|
bf01c47285
|
Getting close to having the spider fully implemented...
|
2020-07-26 00:05:32 -04:00 |
|
Jeremy Rand
|
18d0c3a80f
|
Add some randomness when the spider changes direction.
|
2020-07-25 14:54:35 -04:00 |
|
Jeremy Rand
|
213686ea1d
|
The spider can now go down and to the right. More directions to come.
|
2020-07-25 14:34:44 -04:00 |
|
Jeremy Rand
|
184461947b
|
Getting closer on the spider
|
2020-07-25 00:01:42 -04:00 |
|
Jeremy Rand
|
f890200a0d
|
More spider work.
|
2020-07-24 23:50:01 -04:00 |
|
Jeremy Rand
|
45bc6641e6
|
Some more work on spider animation.
|
2020-07-24 23:27:33 -04:00 |
|
Jeremy Rand
|
aa2e5408da
|
Some code for adding a spider on the LHS.
|
2020-07-24 14:42:03 -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 |
|