I’ve added a volume setting, does this one work for you? I’m a bit confused since I thought the system volume was supposed to be saved to persistent storage, but my PyGamer also returns to a default volume when restarting the game. Maybe worth filing a bug?
Changes:
- Slightly larger collision radius. (I had forgotten to add an offset for the ship’s own size.)
- Made the distance fade effect less dark. (Quadratic falloff instead of linear.)
- The menu button now opens/closes the setup screen while in-game. Most changes take effect immediately. For example, it’s possible to raise the wave number while playing, but lowering it doesn’t take effect until the game is reset.
- New menu options:
- Volume control, including low-volume settings that are less loud than the system menu’s lowest setting
- Change number of stars
- Reset game (use this to start over, or in case the game is confused)
- Open system menu
- The setting screen now scrolls (I guess I’m adding too many options?)
In case you’re wondering about all the menu related changes, I wasn’t aware that it’s possible to use the Menu button for game actions until I saw it used in the latest horticulture game. I think it’s a bit unfriendly to make the system menu inaccessible, so the “show system menu” entry calls scene.systemMenu.showSystemMenu()
.
Out of curiosity, is there a way to use the PyGamer’s fourth button (bottom right of the screen) in an application? I think that this was intended to be a Select button, but it doesn’t seem to be hooked up for Arcade. (Of course, if other hardware doesn’t have such a button, it wouldn’t be a good idea to rely on it.)
My daughter asked me if it would be possible to add two-player support. I think this would be doable on the gameplay/rendering side (though I’d need to add a ship model), but last I checked the direct cable jacdac communication wasn’t ready for general use yet. Maybe in the future?