Replacing Mouse with Touch

0 favourites
  • 4 posts
From the Asset Store
Total customisation of the input! You can combine inputs from all peripherals. Make your game accessible for everyone!
  • As a newby, I am using the Physics Test example as a starting point and I tried replacing the mouse.x and mouse.y with touch.x and touch.y and exporting to a Windows 8 tablet.

    I added a touch object to the project and I removed the mouse events.

    The ragdoll does not repond to the touch events on the Windows 8 tablet.

    Any ideas about what I might be doing wrong?


  • You can always set a Touch object to use Mouse clicks, and then it operate exactly like a mouse except it doesn't separate left/right/scroll clicks and no mouseover effects.

    If you upload your .capx, we can tell you exactly what's wrong.

  • I tried uploading to the arcade, but it would not accept the ZIP file. I tried zipping up a project folder and a .capx file and it would not accept either.

    All I am doing is replacing the mouse event in the sample project called "Physics - ragdoll.capx" with a touch event as follows:

    Touch-> On Touch Start -> Apply Physics Force 50 toward X: Touch.X, Y: Touch.Y

    Thanks for responding.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi Semicode!

    Did you managed to solved your problem with the Touch input?

    Thanks :)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)