Jeremy Rand
|
1b7d2e240b
|
Fix a bug where it was possible for the player to collide with an exploding bug and then die. Change explosions so they are drawn using background colours which do not result in player collisions.
|
2021-01-18 00:18:31 -05:00 |
Jeremy Rand
|
b432cf654b
|
Implement stereo sound. Sounds now come from the left or the right speaker depending on where the sound is coming from on the screen as much as possible.
|
2020-12-22 23:40:21 -05:00 |
Jeremy Rand
|
d4d511ee4f
|
Fix the bug where the "can shoot" indicator was sometimes not cleaned up. The real problem was that the mouseAddress was incorrect on the first frame of the next life. It still pointed to where the player died.
|
2020-12-22 21:25:20 -05:00 |
Jeremy Rand
|
ec1eb7cc0e
|
Directly control the Ensoniq sound chip by writing to its registers to play sounds rather than using the free form synthesizer functions in the sound toolbox.
|
2020-12-17 00:35:56 -05:00 |
Jeremy Rand
|
d201f80c3b
|
Move the sound code into a gameSound.s file. This is the first step towards going around the sound toolset for playing sounds.
|
2020-12-16 12:00:56 -05:00 |
Jeremy Rand
|
0136579125
|
Disassociate sound resources from the generators they are connected with. Use multiple generators to play multiple shot sounds at the same time. It sounds weird but it kind of works.
|
2020-12-10 21:55:13 -05:00 |
Jeremy Rand
|
bae931aaa6
|
Add sounds for shooting, killing bugs, dying and resetting mushrooms after death. The shoot sound isn't great because it doesn't restart when rapid fire is happening but this is a start.
|
2020-12-10 00:45:48 -05:00 |
Jeremy Rand
|
7d64340b5d
|
Ignore offscreen collisions
|
2020-11-17 23:43:28 -05:00 |
Jeremy Rand
|
520aaa5a34
|
Add collision detection for all of the bug types. Remove the debug code for shooting bugs. It is almost a functional game now!
|
2020-11-17 22:53:30 -05:00 |
Jeremy Rand
|
64f96896f7
|
Add the ability to shoot. Detect shot collisions with mushrooms and shoot the mushrooms. Remove the ability to randomly shoot the mushrooms because that debug is no longer needed. Fix a bug where the number of infield mushrooms was not being updated for mushrooms which were shot until gone.
|
2020-11-16 23:48:36 -05:00 |
Jeremy Rand
|
4e6bad0ae7
|
Start adding the code for supporting shooting.
|
2020-11-16 00:14:08 -05:00 |