For this #screenshotsaturday I re-implemented mouse input and widget including properly handling deadzone and mapping x/y coordinates to a circle
... okay it's not that exciting BUT IT WAS A LOT OF WORK DAMNIT
For this #screenshotsaturday I re-implemented mouse input and widget including properly handling deadzone and mapping x/y coordinates to a circle
... okay it's not that exciting BUT IT WAS A LOT OF WORK DAMNIT
This was an incredible resource for the deadzone stuff, it's more complicated that it sounds!
https://www.gamedeveloper.com/disciplines/doing-thumbstick-dead-zones-right
@TaylanK ya I'm pretty pleased with it now! And all the code is free to plunder :D
https://github.com/jukibom/FlyDangerous/blob/main/Assets/Scripts/Core/Player/MouseShipInput.cs