forked from Arcthesia/ArcCreate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gameplay: Implement ControllerInputHandler.cs
- Added an experimental support for controller gameplay. (without fix of shaky arcs for controller input) Issue: Arcthesia#35
- Loading branch information
1 parent
ca1930e
commit 7358ba7
Showing
3 changed files
with
417 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
282 changes: 282 additions & 0 deletions
282
Assets/Scripts/Gameplay/Judgement/Input/ControllerInputHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
7358ba7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This implementation still has many flaws. No shaky arc fixes, thresholds that still need tests and much more.
7358ba7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additionally, I've not tested it with any other controller except my Xbox Series X Controller.
There will probably be some key-mapping problems and you can temporary fix it by modifying
ProjectSettings/InputManager.asset
If there are such problems, something like a joystick control panel should be created to allow users change key mappings on runtime.
7358ba7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many improvements have been brought out in ae915e5
7358ba7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Numerous features are added in 785d297