I'm creating a hand, paper, scissors- minigame. I'm now wondering how to create player interaction. I have an idea of having three buttons player can press with mouse button, but since the idea would be that the NPC starts forming the gesture a bit earlier then the player, he would have a brief moment to react correctly - and so I thought binging keyboard keys to same interactions.
I had a thought of creating new conversation menu with these three buttons. This way I could get the count down easily with it. Can I use somehow a circular count down element?
I was also hoping the same solution to work ok with Nintendo Swift.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Here's a pic:
https://imgur.com/a/IX43R8n
You can run a specific Conversation option by calling its RunOption function. You can listen in for specific keys and run it in a custom script:
You can use the "Fill Amount" property of a UI Image component to create a radial progress bar - see this tutorial.
Conversation timers in the Menu Manager can be created using a Slider element. To map to an Image's "Fill Amount" property, you can have a script map it to the Conversation class's GetTimeRemaining function: