MultiTouch Button Release

0 favourites
  • 2 posts
From the Asset Store
J-BoB Game Button Sound Pack comes with 300 high-quality sound effects
  • I am attempting to make a platformer with touch controls and I want my jump to have variable height. This is easy with keyboard controls, as you can just use "on key released", but not so with touch controls. Using "on any touch released", means that letting go of the left or right buttons will also stop the jump. And using on object touched and any touch released results in the same issue. Using a not touching condition would also just always have the jump shortening condition set.

    Does anyone have any suggestions?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Keep track of which touch initiated the jump by saving touch.touchindex to a variable upon triggering the jump.

    On Nth touch end

    Triggered when a given touch number releases from the screen. For example, On touch 1 end will trigger when releasing the second simultaneous touch (given that it is a zero-based index).

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