Processing actions drag collision and then drop

  • Hi,

    I'd like to count balls put in three baskets. Its possible to remove balls at any time from baskets. All via drag and drop. This i find surprisingly hard to achieve.

    One issue for example, is that, i want to count a ball that is dragged into a basket only when the touch is released, not at the time of the collision only.

    How can i achieve this?

    Also, i want to keep a visible counter of balls in each basket. for some reason my program works but fails when i move balls very fast from basket to basket. The counters start to accumulate. Not sure why.

    any suggestions would be much appreciated,

    Dan

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I found a super simple way to do the counting of balls in baskets. Instead of counting drag and drops etc.

    I just let construct2 do the counting for me. Just to count how many picks there are in an overlap .. super simple ... and it just works.

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