Processing actions drag collision and then drop

Discussion and feedback on Construct 2

Post » Mon Feb 10, 2014 5:13 pm

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
B
8
S
4
G
1
Posts: 205
Reputation: 1,354

Post » Mon Feb 10, 2014 7:53 pm

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.
B
8
S
4
G
1
Posts: 205
Reputation: 1,354


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests