Mobile Input Handling Mechanism, Shaders optimization


I was able to divide my Camera Follow script using Factory and Strategy Pattern. Factory to create and get Camera Settings and Strategy pattern to choose type of camera depending on current platform. This will allow me to handle any type of input on any type of platform later on, for example Consoles or VR headset. Just have to implement ICameraInputHandler and create related settings like sensitivity and max angles.
For mobile platforms i was able to add joystick controls on left half of the screen and camera controller on right half of the screen. Still some playtesting need to polish and optimize these

Files

Web.zip Play in browser
10 days ago

Leave a comment

Log in with itch.io to leave a comment.