Handy Hint for Touch and Keyboard use together

0 favourites
  • 1 posts
From the Asset Store
Total customisation of the input! You can combine inputs from all peripherals. Make your game accessible for everyone!
  • So you found you can set the "Touch" Plugin to use mouse input.

    Really handy...for Testing.

    Some of you will find that if You are making a game that is compatible with a Web Browser and a Mobile Browser, you will, at some point, also want to be able to add in keyboard controls.

    You will also find that if the "Touch" Plugin is set to allow mouse input, your keyboard controls will not work.

    Yeah sure, it works when Testing, but won't when uploaded.

    So here is what I do:

    First off, remove the option to Detect mouse input, this should only be used for testing purposes. Then this simple event with conditions:

    <img src="http://i126.photobucket.com/albums/p96/gendv/InputMethod.jpg" border="0" />

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)