Forum rules - please read before posting.

could you please let me know what settings will make the touch controls appear on Webgl mobile

Hi i am not sure i haven't tested it but what settings i need to change in AC settings to publish webgl builds but use touch on mobile and keyboard on desktop, is there a way i can enable it by v key to show virtual controllers and have virtual controllers on by default.

Comments

  • currently when i build it does not work on webgl on mobile, but my other example works which does not use AC

  • Welcome to the community, @cignusgames.

    Having touch input be properly recognised is a case of setting your Settings Manager's Input method to Touch Screen. This being a global setting, you would either need to alter this when porting to different platforms (i.e. set to Touch Screen for mobile, Mouse And Keyboard for WebGL), or a custom script could be used to automate it.

    However, the use of touch-screen input is not the same as on-screen controls. An on-screen joystick, however, is available as a Template. Templates can be installed from the New Game Wizard - open this from the "Adventure Creator" section of the top toolbar, and then choose "Modify existing" to bring up a list of available Templates to install.

    Once installed, this will show up by default. It could feasibly be set to toggle on/off with a keypress, but let's get it showing up in the first place first.

    currently when i build it does not work on webgl on mobile

    What are your AC/Unity versions, and can you share more details about what's not working in a WebGL mobile build?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.