Noob - Touch / Physics Question

0 favourites
  • 2 posts
From the Asset Store
Everything is made via physics, Very simple code: 6 events only (3 for tank creation, 2 for controls and 1 for camera)
  • Hi All,

    I'm sure this is very simple but I am pretty new to this and programming in general. I am experimenting with touch and physics on a ball. The result I am going for is a bit like Flick Kick and I think I am about halfway there from hacking this together from the catapult example. The problems I have are two-fold and any help would be greatly appreciated!

    1) When the ball is touched, it is possible to drag it around whereas I would like it fixed in position until the touch is released, e.g. the player can swipe the ball to move it but not pick it up and drag it around the map.

    2) Second issue is that when the ball is touched, it no longer respects the immovable property of the blocks and it is possible to drag it out of the layout or release it inside a block. This is a side-effect of issue 1 but I think could still be triggered under certain conditions if issue 1 was resolved.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Link to project if it helps!?

    1drv.ms/u/s!AkRzUIDpbdo92G-SdUc6NOEpYCEr

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