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

Joystick Controller #21

Merged
merged 9 commits into from
Sep 13, 2023
Merged

Joystick Controller #21

merged 9 commits into from
Sep 13, 2023

Conversation

momintlh
Copy link
Collaborator

Wrapper for JoystickController, in jslib and c# side

  • CreateJoystick with Joystick Options for setting the type (dpad, angular)
  • Dpad Movement in the demo game!
joystick-test.mp4

OnPlayerJoin Updated to follow the structure as OnQuit
Wrapping for Joystick Controller from playroomkit

- added CreateJoystick to initialize
- added Dpad for movement
- swaped keyboard controls to joystick in the demo game for testing
@momintlh momintlh requested a review from SaadBazaz September 11, 2023 11:41
@momintlh momintlh requested a review from asadm September 11, 2023 11:49
> Updated to SimpleJSON instead of builtin
@momintlh
Copy link
Collaborator Author

Added ButtonOptions and ZoneOptions

@SaadBazaz
Copy link
Collaborator

Looks good to me. We'll run a cleaning session in another PR down the line.

@SaadBazaz SaadBazaz merged commit bb4b60b into main Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants