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

Dig #9

Open
fierydrake opened this issue Feb 3, 2023 · 1 comment
Open

Dig #9

fierydrake opened this issue Feb 3, 2023 · 1 comment
Assignees
Labels

Comments

@fierydrake
Copy link
Collaborator

fierydrake commented Feb 3, 2023

The ability to move from the start point, through the soil. Support gamepad movement.

@fierydrake
Copy link
Collaborator Author

fierydrake commented Feb 3, 2023

Can do normalized input (and multiple gamepad support through a public controllerPrefix using this:

        public string controllerPrefix = "P1";

        // ....

        Vector2 input = Vector2.ClampMagnitude(new Vector2(
            Input.GetAxis(controllerPrefix + "_Horizontal"),
            Input.GetAxis(controllerPrefix + "_Vertical")
        ), 1);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants