Download

Controls switching by platform

Hello!

I’m working with a group of guys to develop a 2.5D platformer and we want to make the game for both iOS and Windows/Mac. We’ve managed to get a basic UI for iOS up and running, but we’ve hit a bit of a roadblock.

We want the UI and accepted inputs to change depending on which platform the game is running (touch buttons/joystick for mobile, no buttons and keyboard input for PC). How do we get the game to know which platform it’s on and therefore which UI and control scheme to use?

Thanks!

Ah it’s amazing how simple things can be sometimes. None of us had found that. Thanks for the help!