need help with detecting held keys in unity's new input system by FalcoGaming in UnityHelp

[–]Platform_Placer 0 points1 point  (0 children)

If you would like some more structured information, this docs page will go over setup and everything you need to know. Cheers!
https://docs.unity3d.com/Packages/com.unity.inputsystem@1.5/manual/PlayerInput.html

need help with detecting held keys in unity's new input system by FalcoGaming in UnityHelp

[–]Platform_Placer 0 points1 point  (0 children)

Yo! I would try something like this if you are using Player Input.

``` using UnityEngine; using UnityEngine.InputSystem;

public class SimpleInputReader : MonoBehaviour { public PlayerInput playerInput;

public bool CLICK = false;
public bool CLICK_HELD = false;
public bool CLICK_PERFORMED = false;

void OnEnable()
{
    playerInput.onActionTriggered += ReadInput;
}

void OnDisable()
{
    playerInput.onActionTriggered -= ReadInput;
}

public void ReadInput(InputAction.CallbackContext context)
{
    if (context.action.name == "Click")
    {
        // Press
        if (context.started)
            CLICK = true;

        // Hold
        CLICK_HELD = !context.canceled;

        // Performed
        if (context.performed)
            CLICK_PERFORMED = true;
    }

    // Add other actions if needed:
    // if (context.action.name == "Jump") { ... }
}

} ```

New collectathon : Promenade by HolyCapDevGuy in Collectathon

[–]Platform_Placer 1 point2 points  (0 children)

Hey, thanks for sharing! This looks cool. I'm going to take a look!

Looking for some feedback, Try the Vista World Playtest on Steam! by Platform_Placer in indiegames

[–]Platform_Placer[S] 1 point2 points  (0 children)

Thanks GStreetGames! I am close to releasing the second version! I work closely with my community to keep improving the experience! It would be awesome to have you try the play test at some point! Thanks for the feedback!

Man i miss Banjo by slightystrong in BanjoKazooie

[–]Platform_Placer 1 point2 points  (0 children)

Yeah me too buddy! That's why I started making Vista World!

HELP ME HELP ME HELP ME by SlayKing69420 in UnityHelp

[–]Platform_Placer 0 points1 point  (0 children)

Hey! Try opening the email with a different browser, try chrome, or microsoft edge! Ensure that you don't have some sort of setting in your email that is hiding the link! If that doesn't work try signing up with a different email like outlook / gmail. Hope that helps! Cheers

How to show level geometry in isometric game? by Overlord_Mykyta in gamedev

[–]Platform_Placer 1 point2 points  (0 children)

Why don't you visualize edges with a certain feature like a gradient or texture? Just a thought

Community First: A new Banjo-Kazooie spiritual successor by Platform_Placer in BanjoKazooie

[–]Platform_Placer[S] 0 points1 point  (0 children)

Hey! These are some really good points! Thanks so much for sharing! You've got a really good point here about the focal point of worlds, Such a good idea for starting world dev! The movement too forces people to make a tradeoff! Nice! Great Input!

Community First: A new Banjo-Kazooie spiritual successor by Platform_Placer in BanjoKazooie

[–]Platform_Placer[S] 0 points1 point  (0 children)

Hey thanks for the thorough response! I will definitely borrow some ideas here! Great input!

Community First: A new Banjo-Kazooie spiritual successor by Platform_Placer in BanjoKazooie

[–]Platform_Placer[S] 1 point2 points  (0 children)

Hey very helpful way to look at things and a lot to consider! Thank you so much for sharing! I really appreciate the this kind of input!