Simulate Controls with Touch Help

0 favourites
  • 1 posts
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • I'm trying to make a pretty simple space shooter, but I'm having some weird problems using an on screen d-pad for the touch controls.

    Here is how I am handling it in the event sheet:

    <img src="http://i12.photobucket.com/albums/a203/DigiSquirrel/Example_zpsb78c1238.png" border="0" />

    I have the mouse set to act as touch controls, and when I launch the game from Construct2, and try to move the player using the d-pad, the sprite only moves maybe 1 or 2 pixels at a time. It also doesn't seem to be registering having the mouse button held down either.

    I also went ahead and tested it on a touch device, and I received the same results. Am I missing something, or is something else happening?

    On an added note, it did seem to randomly work for a second, without me changing anything on the event sheet, but the next time I launched the game to test it, it was no longer working.

    Any help or tips would be greatly appreciated!

    Edit:

    It took some messing around with other events, but I was able to solve my problem.

    Although, it doesn't explain why it randomly worked once earlier...

    I no longer have a question, so this can be disregarded!

  • 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)