Handy Hint for Touch and Keyboard use together

Get help using Construct 2

Post » Tue Sep 04, 2012 10:12 am

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:


B
11
S
2
Posts: 127
Reputation: 1,532

Return to How do I....?

Who is online

Users browsing this forum: Justin1967, Nifl and 27 guests