Update README.md

This commit is contained in:
Archer Allstars 2022-04-16 03:56:23 -04:00 committed by GitHub
parent 82eb73c929
commit 4f5618ce72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,13 +4,13 @@
https://user-images.githubusercontent.com/1403194/163666102-90858095-f24c-4ed4-96f8-31b81eeebafd.mp4 https://user-images.githubusercontent.com/1403194/163666102-90858095-f24c-4ed4-96f8-31b81eeebafd.mp4
## Features: ## Features:
- **Multi-touch supported:** this joypad is coded in a way that it won't get interferd with other touch related features in the game. - **Multi-touch supported:** this joypad is coded in a way that it won't get interfered with other touch-related features in the game.
- **Signal based control:** by using the signal, the code is very simple, reliable, and fast! - **Signal-based control:** by using the engine's signal, the code is very simple, reliable, and fast!
- **Area based D-Pad control:** the D-Pad uses an area specifed by the button node to detect touch input instead of some calculations from the slowish user script. Therefore, the user can easily change the area to detect touch input from with thin the editor instead of having to change some complicated calculation in the script! - **Area-based D-Pad control:** the D-Pad uses an area specified by the button node to detect touch input instead of some calculations from the slowish user script. Therefore, the user can easily change the area to detect touch input from with thin the editor instead of having to change some complicated calculation in the script!
- **Muti-size D-Pad supported:** the user can easily change the D-Pad to any size as it won't break the code. - **Muti-size D-Pad supported:** the user can easily change the D-Pad to any size as it won't break the code.
- **Flexible D-Pad position:** the user doesn't need the ultimate precision as the D-Pad will follow the user's thumb (in the limited area). - **Flexible D-Pad position:** the user doesn't need the ultimate precision as the D-Pad will follow the user's thumb (in the limited area).
- **Auto D-Pad recenter:** the D-Pad will automatically return to its default positon. The user can sepacify the default position in the editor, there's no need to change this in the code. - **Auto D-Pad recenter:** the D-Pad will automatically return to its default positon. The user can specify the default position in the editor, there's no need to change this in the code.
- **Visual Script:** the code is written in Visual Script. Therefore, it's easy to read and understand the code if someone want to modify it. - **Visual Script:** the code is written in Visual Script. Therefore, it's easy to read and understand the code if someone wants to modify it.
## Usage ## Usage
Open this demo project. Play with the project. Even parts of the joypad (D-Pad and some buttons) can be used seperately. Open this demo project. Play with the project. Even parts of the joypad (D-Pad and some buttons) can be used seperately.