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
|
96a6b6f51f
|
Implement the code to add the flea at the right time. This includes tracking the score in multiples of 20,000 and adjusting the number of mushrooms required in the infield before a flea will appear. Simplify the other score based thresholds which are based on multiples of 20,000 to use this test. Add debug which allows me to add 20,000 to the score whenever I want so I can test these thresholds more easily.
|
2020-10-25 23:11:11 -04:00 |
|
Jeremy Rand
|
766eaf6273
|
Add the code to detect segment collisions and change direction if a head is colliding with another head or body segment.
|
2020-09-24 23:17:39 -04:00 |
|
Jeremy Rand
|
c4902f486b
|
Add some global data to have a bit mask of tiles which contain a centipede segment. This will allow the update code to figure out if centipede segments are colliding and if so, change direction. Still need to write some codegen for this global constant data rather than building it at runtime in C.
|
2020-09-20 22:22:58 -04:00 |
|
Jeremy Rand
|
92c02ded0f
|
Simplify the handling of the dirty tiles to just store the dirty word and not keep the array of dirty tile offsets. Have the flea use game and non-game dirty tiles to fix the problem with LHS tiles being marked dirty all the time.
|
2020-09-04 01:55:38 -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
|
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
|
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
|
69e3c4a62a
|
Add some more code for background tiles.
|
2020-07-15 23:10:25 -04:00 |
|
Jeremy Rand
|
3f9e7bd066
|
Start implementing the code to draw the tiles on the screen.
|
2020-07-15 00:32:14 -04:00 |
|