How do I change keyboard commands to "gestures" for a mobile game?

  • #1, by jonas-common-colorsFriday, 19. August 2016, 07:22 8 years ago
    Hey guys!

    I'd like to create a game for PC, Mac AND mobile devices. But: How do I "tell" Visionaire which "gestures" (e.g. on an iPad or android phone) lead to which command? In the engine, I can only find keyboard and gamepad buttons.
    I'm looking forward to reading your answers smile

    Best regards,
    Jonas

    Newbie

    29 Posts


  • #2, by afrlmeFriday, 19. August 2016, 13:20 8 years ago
    I believe they can be done through Lua script. Unfortunately we don't have any documentation on them & I've not needed to use them myself yet, so I can't help you there. I'm sure SimonS will probably be able to shed some light on this topic whenever he logs on / sees it.

    Imperator

    7278 Posts

  • #3, by sebastianThursday, 25. August 2016, 22:16 8 years ago
    I would love to see some feedback here from the dev team smile

    What I would guess so far (i never saw a VS game on smartphone) that the cursor and mechanics would remain the same as on computer. Just like ScummVM on Smartphones... (cursor is controlled by finger, left click = short tap, right click = long tap ?)

    Thread Captain

    2346 Posts

  • #4, by afrlmeThursday, 25. August 2016, 22:34 8 years ago
    As far as I'm aware gestures was implemented into one of the early 4.x builds, but I have no clue how to access them.

    #1178

    • new feature: multitouch event handler for mobile
    • reworked mobile touch usage (e.g. swipe right skips cutscenes and movies)

    Imperator

    7278 Posts

  • #5, by pixelgeistWednesday, 04. July 2018, 02:29 6 years ago
    Hi, just wondering if there had been any updates on this?  Would love to have access to some gesture functionality.

    Newbie

    16 Posts

  • #6, by trepnWednesday, 11. July 2018, 09:27 6 years ago
    Also interested

    Newbie

    60 Posts

  • #7, by jeffTuesday, 07. August 2018, 00:09 6 years ago
    Is this still being developed? Not sure why this has not been addressed by developers.

    Newbie

    17 Posts

  • #8, by SimonSTuesday, 07. August 2018, 00:27 6 years ago
    The recommendation is to always use commands, then you can build everything else around it. Taps are mapped to clicks, if you need more complicated things you can use the lua eventhandler. There is also eEvtMultiGesture for pinch zooms.

    Thread Captain

    1580 Posts