sakura57 / so4

Spaced Out 4, an open-source 2D space shooter game
GNU General Public License v2.0
1 stars 0 forks source link

Rework input blocking for in-game UI panels #18

Closed sakura57 closed 4 years ago

sakura57 commented 4 years ago

Currently, certain UI panels block game input. For example, opening the sector map will block input, allowing the player to move the cursor around the map and click on stuff without turning the player's ship or firing the guns.

However, the player's ship continues on its original trajectory, and maintains the previous throttle value. This means that when certain menus or windows are open, the player might accelerate to high speeds or drift out of an area when they may not want to.

To-do list:

Related: #19

sakura57 commented 4 years ago

Addressed in #28. Windows that block input now pause the game by default.