Disable Sound


Major work has been done to reorganize the menus. I removed the Quit option from all but the main menu. It's still possible to quit the game from any menu by pressing the Q key, but I found listing Quit as an option on every menu actually made it more difficult to navigate menus. I also reworked a lot of code around the number of lives a player has, including the display code (but not how it's displayed). Before this change the display code looped the lives image based starting with 0. In calculating the number of lives I was always having to add -1 to account for the fact that I started at 0 in the loop rather than 1. Changing the default to one meant the number of lives displayed actually equaled the number of lives left and not lives_left-1. This fixed a bug where in certain scenarios players had 1 less life than they should have had.

I spent a lot of time reviewing videos on making menus in GameMaker only to grow frustrated with the amount of videos that made slider/toggle menus that depended on mouse instead of keyboard. FriendlyCosmonaut has some great videos on making menus which unfortunately are overly complicated for the game (the code, while really cool and overall a better idea than what I've done, just added way too much extra code for the few lines I really needed). I actually added all the code from FriendlyCosmonaut's first video into the game before ripping it out. I might revisit the code again in a future version, but it was just too much extra code at this point. (Which is funny since I've actually written more code to do the menus already). I might just fork the game when I get a bit more time. There are some user interface issues that I would have to fix before following FC's code example.

Perhaps the most wanted change is the ability to turn on and off sounds from the menus. There is an icon in the bottom left of both the sounds menu and the in game display to show whether sound is on or off. I previously had sounds in the settings menu, but you couldn't select it. You can now select sounds as an option and select whether you want sound on or off in the new sound menu.

Files

fasteroids-amd64-Windows-1.8.1.zip 49 MB
Apr 06, 2020
fasteroids-amd64-Ubuntu-1.8.1.zip 49 MB
Apr 06, 2020

Get Fasteroids

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.