Commit Graph

28 Commits

Author SHA1 Message Date
Jeremy Rand b8b9089aa2 Start trying to extract the global high scores code so it can be turned into a generic library. 2022-05-25 21:50:38 -04:00
Jeremy Rand 4e456cab15 Major rework because I am out of code space in the main segment. Move some stuff around in the C code to get them into other segments. Change the network code so that most of its globals are actually allocated dynamically when network functionality is detected. Change the network state machine so the connection is closed and re-opened on each transaction rather than trying to hold the connection open. It was failing during the game because the network is not being polled. Provide some visual feedback if there is a network problem in the game itself.
Re-opening the connection isn't working for some reason but this is getting pretty close to working.
2021-06-04 00:41:11 -04:00
Jeremy Rand 5e26684fd2 Retrieve global high scores from the Internet and display them in the game. 2021-06-01 23:13:14 -04:00
Jeremy Rand 4b76293125 Add code to load Marinetti and the Hash tool if present and bring up the network if possible. 2021-06-01 00:35:47 -04:00
Jeremy Rand 8d95d0a674 Bump the version to 1.9 since this is work towards v2.0. Add the structs for the messages to a server side high score list. Add the hash tool to the boot image for network testing. The requests will use hashes to validate that they come from the game. 2021-05-28 00:03:04 -04:00
Jeremy Rand bcc10e2d4e Bump the version 0.9.7. Add some code to preload the sounds after initial launch so starting the first game doesn't take extra long. 2021-02-14 14:59:44 -05:00
Jeremy Rand 4d6f8d39f1 Change the prompt when the stereo channels are swapped so the user gets some feedback. Display the high score list. Still need to add the code to update the high score list. 2020-12-30 23:10:22 -05:00
Jeremy Rand 6947d8762c Add a way to swap left and right stereo channels and save the value in the settings. 2020-12-30 02:31:18 -05:00
Jeremy Rand 1cd301548a Validate the magic number and the version of the settings file. For now, I am not trying to handle backwards compatibility of settings file but it will be possible to do that in the future. 2020-12-30 00:01:58 -05:00
Jeremy Rand 9228f247e5 Add code to load and save a settings file which will hold high scores and some other information. 2020-12-29 23:56:51 -05:00
Jeremy Rand ea49a5d11c Add the scorpion sounds. 2020-12-23 14:54:17 -05:00
Jeremy Rand d962e98368 Add the flea sound. 2020-12-22 01:00:10 -05:00
Jeremy Rand 32aee75462 Add the segment, spider and extra life sounds. Add some more information about the mysterious crash. 2020-12-18 00:50:01 -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 8b2e753b68 Load the sounds at startup. 2020-12-09 01:38:03 -05:00
Jeremy Rand bb66ef4b03 Replace the C code which built tables at game launch time with a script which generates these tables at build time. This reduces the start time of the application and saves code space and is a necessary step before adding some new tables to handle the mouse efficiently. 2020-11-04 22:48:18 -05:00
Jeremy Rand c45c3503d6 This is the first step to getting rid of the tile.c file and replace it with generated assembly instead. And then I can add the extra data required to handle the player correctly. 2020-11-03 00:11:22 -05:00
Jeremy Rand 7c0dc8ebb1 Replace the call to the Toolbox with a raw read of the mouse from ADB registers to try to minimize the cost of mouse polling in the game loop. 2020-11-01 22:50:10 -05:00
Jeremy Rand 4e500c6f38 Start adding some mouse code and display a player on the bottom row of tiles only for now. No collision detection hooked up and it is terribly inefficient but it seems to work. 2020-10-28 23:46:32 -04:00
Jeremy Rand 88ea840e23 Update the flea sprite as it drops. Add random routines. Thanks to John Brooks for those. Use the random routines to pick a column for the flea to drop from. Also, randomly leave behind a mushroom as it falls. 2020-07-19 15:15:45 -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
Jeremy Rand 964da82807 Add some sprites for the scorpion. 2020-06-22 23:45:25 -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
Jeremy Rand dbe7e7ad3f Initial Commit 2020-06-10 21:47:00 -04:00