LolBaum / LolBaum/BlockGame

Adding an InputHandler

Open
#13 0 comments 0 reactions 1 assignee View on GitHub

@LolBaum is already working on this.

Since Apr 29, 2022.

New Feature
Dominant language
C++
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Currently all user Input will be treat the same way while the whole time the program is running. At the moment that's no problem because the player is always in the same sate - he's moving around removing or placing Blocks with a click and selecting them with the Numbers 1...9.
But for further features Like an interactive inventory GUI or a chat new states of input need to be added.
That's why an InputHandler should be implemented, which forwards the user input to the correct Component (PlayerContoller, Inventory Drag n Drop, Chat, ect.) depending on the input state.

  • general abstraction for input handling
  • using input for the chat

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.