I am making a music game. I want to use the joystick to play different sounds, and not for player movement. So, for example:
if you press the joystick down it plays sound #1,
if you press the joystick down/right it plays sound #2,
if you press the joystick right it plays sound #3,
if you press the joystick right/up it plays sound #4,
if you press the joystick up it plays sound #5,
etc.. all the way around the joystick dial.
I know there is the 8 way movement with the joystick, so I believe this is possible. Any ideas on how to make this happen? Thank you very much
What you want is to react to the Axis conditions.
When the axis are in a certain range, have a certain action, in your case likely an Audio - play action.
Thanks man, works great.
It's playing the audio every tick. Like if I hold the joystick to the right it plays the sound over and over really quickly until I let it go. How would I make so that if I hold the joystick to the right it plays the sound only once?
Develop games in your browser. Powerful, performant & highly capable.
Trigger once whilst true.
Bless your soul Elliott, my guardian game angel. It works perfectly
(removed as talking nonsense )