Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input handling still occurs in scenarios when it shouldn't #213

Open
HJPearce opened this issue Oct 5, 2022 · 0 comments
Open

Input handling still occurs in scenarios when it shouldn't #213

HJPearce opened this issue Oct 5, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@HJPearce
Copy link
Contributor

HJPearce commented Oct 5, 2022

Description

Pausing the game and constructing a building do not correctly prevent other forms of input

How To Reproduce

Steps to reproduce the behaviour:

  1. Open main game
  2. press pause
  3. attempt to move units

Expected Behaviour

The game should not process unit selections/commands as gameplay is 'out of focus'

Proposed Fix

This can be fixed by adding a sense of 'input layers', where some input processors can be disabled at particular points in time

@HJPearce HJPearce added the bug Something isn't working label Oct 5, 2022
@HJPearce HJPearce self-assigned this Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant