How do I create two finger touch and line pointing

0 favourites
  • 2 posts
From the Asset Store
Fully commented source code/event sheet & sprites to create a space shooter game
  • Hi,

    I'm developing an IOS game. In the game, a user must prevent a ball from exiting the boundaries of the screen. To prevent the ball from exiting the boundaries, the user must interact with the ball to bounce it away from the screen by placing his/her finger on the screen at the point the user would like to bounce the ball away from.

    Here, I got two problems: one, I wanna show the path of the ball by creating a line of path below the ball. I have a green path sprite.

    Two, I wanna use second finger at the same time the first finger is in touch with the screen to bounce the ball away from, which means I wanna use two fingers at a time.

    I'm not sure how make these work. Please help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I somehow managed to get the 'two finger touch' thing work but when the second touch input is given the object is being created only at the first finger. Object should be created at the touch of first finger and when it's still in touch, I wanna create second object at the touch of second finger.

    Anyone knows a solution?

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