Skip to content

Conversation

@BenjaminAmos
Copy link
Contributor

@BenjaminAmos BenjaminAmos commented Jul 7, 2022

Description

This pull request adds a module select screen, which allows the player to choose which modules to use when starting a new game.

image

Testing

  • Continue an existing game (to ensure that this still works).
  • Select the Play Game item in the main menu, followed by the New Game option. A Modules button should be visible in the bottom-left corner.
  • Select the Modules button and the modules screen should appear.
  • Create a few new games to test the following things:
    • When the warp module (or any other module, as applicable) is de-activated, you should not be able to select warp ships. Warp features, such as wormholes, should not appear in-game.
    • When the game is resumed, it should still only contain the modules selected upon its creation. No new modules should have be running, even if added after the save was created.

Known Issues

  • Console commands persist event after their module is removed. This is because the console is part of the application context, rather than the game context, which isn't unloaded until the application exits.
  • Modifications made to NUI screens by modules persist even after that module is removed.

Notes

@BenjaminAmos BenjaminAmos merged commit f83e820 into MovingBlocks:develop Dec 31, 2024
9 checks passed
@BenjaminAmos BenjaminAmos deleted the module-select-ui branch December 31, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

1 participant